15 #ifndef niftkGeneralSegmentorCommands_h
16 #define niftkGeneralSegmentorCommands_h
18 #include "niftkMIDASExports.h"
20 #include <mitkContourModelSet.h>
21 #include <mitkDataNode.h>
22 #include <mitkOperation.h>
23 #include <mitkPointSet.h>
39 const mitk::OperationType
OP_WIPE = 9320416;
72 mitk::OperationType
type,
74 mitk::Point3D beforePoint,
75 mitk::Point3D afterPoint
78 mitk::Point3D GetBeforePoint()
const;
80 mitk::Point3D GetAfterPoint()
const;
98 mitk::OperationType
type,
102 mitk::PointSet::Pointer seeds
107 int GetSliceAxis()
const;
109 int GetSliceIndex()
const;
111 mitk::PointSet::Pointer GetSeeds()
const;
116 mitk::PointSet::Pointer m_Seeds;
132 mitk::OperationType
type,
138 const std::vector<int>& region,
139 ProcessorPointer processor
144 int GetSliceAxis()
const;
146 int GetFromSliceIndex()
const;
148 int GetToSliceIndex()
const;
152 std::vector<int> GetRegion()
const;
154 ProcessorPointer GetProcessor()
const;
158 int m_FromSliceIndex;
161 std::vector<int> m_Region;
162 ProcessorPointer m_Processor;
179 mitk::OperationType
type,
181 const std::vector<int>& region,
182 ProcessorPointer processor
187 std::vector<int> GetRegion()
const;
189 ProcessorPointer GetProcessor()
const;
192 std::vector<int> m_Region;
193 ProcessorPointer m_Processor;
210 mitk::OperationType
type,
212 const std::vector<int>& region,
213 ProcessorPointer processor,
219 bool GetThresholdFlag()
const;
222 bool m_ThresholdFlag;
235 mitk::OperationType
type,
237 mitk::ContourModelSet::Pointer contourSet
242 mitk::ContourModelSet::Pointer GetContourSet()
const;
245 mitk::ContourModelSet::Pointer m_ContourSet;
262 mitk::OperationType
type,
266 const std::vector<int>& region,
267 mitk::PointSet::Pointer seeds,
268 ProcessorPointer processor
273 int GetSliceAxis()
const;
275 int GetSliceIndex()
const;
277 std::vector<int> GetRegion()
const;
279 mitk::PointSet::Pointer GetSeeds()
const;
281 ProcessorPointer GetProcessor()
const;
286 std::vector<int> m_Region;
287 mitk::PointSet::Pointer m_Seeds;
288 ProcessorPointer m_Processor;
const mitk::OperationType OP_RETAIN_MARKS
Definition: niftkGeneralSegmentorCommands.h:36
Command class to store data for propagating seeds from one slice to the next.
Definition: niftkGeneralSegmentorCommands.h:93
mitk::Point3D m_AfterPoint
Definition: niftkGeneralSegmentorCommands.h:84
GLuint GLuint GLsizei GLenum type
Definition: glew.h:1237
itk::SpatialOrientation::ValidCoordinateOrientationFlags GetOrientation(ImageType::Pointer image)
Definition: niftkBreastDensityFromMRIsGivenMaskAndImage.cxx:146
Orientation
Definition: itkMIDASHelper.h:35
itk::MIDASImageUpdateClearRegionProcessor< mitk::Tool::DefaultSegmentationDataType, 3 > ProcessorType
Definition: niftkGeneralSegmentorCommands.h:258
bool m_Redo
Definition: niftkGeneralSegmentorCommands.h:59
Class to support undo/redo of a paste operation, within a given region, where we take non-zero pixels...
Definition: itkMIDASImageUpdatePasteRegionProcessor.h:29
Class to support the MIDAS Retain marks operation, specifically when thresholding is off...
Definition: itkMIDASRetainMarksNoThresholdingProcessor.h:32
Class to support undo/redo of a clear operation (set value to zero), within a given region...
Definition: itkMIDASImageUpdateClearRegionProcessor.h:28
SmartPointer< Self > Pointer
Definition: itkMIDASRetainMarksNoThresholdingProcessor.h:39
Command class to store data to copy one slice to the next.
Definition: niftkGeneralSegmentorCommands.h:125
SmartPointer< Self > Pointer
Definition: itkMIDASImageUpdatePasteRegionProcessor.h:36
const mitk::OperationType OP_CHANGE_SLICE
Definition: niftkGeneralSegmentorCommands.h:34
itk::MIDASImageUpdatePasteRegionProcessor< mitk::Tool::DefaultSegmentationDataType, 3 > ProcessorType
Definition: niftkGeneralSegmentorCommands.h:206
const mitk::OperationType OP_WIPE
Definition: niftkGeneralSegmentorCommands.h:39
Class to hold data to do propagate up/down/3D.
Definition: niftkGeneralSegmentorCommands.h:171
itk::MIDASRetainMarksNoThresholdingProcessor< mitk::Tool::DefaultSegmentationDataType, 3 > ProcessorType
Definition: niftkGeneralSegmentorCommands.h:128
ProcessorType::Pointer ProcessorPointer
Definition: niftkGeneralSegmentorCommands.h:259
itk::MIDASImageUpdatePasteRegionProcessor< mitk::Tool::DefaultSegmentationDataType, 3 > ProcessorType
Definition: niftkGeneralSegmentorCommands.h:175
Class to hold data to apply the threshold region into the segmented image.
Definition: niftkGeneralSegmentorCommands.h:202
ProcessorType::Pointer ProcessorPointer
Definition: niftkGeneralSegmentorCommands.h:129
SmartPointer< Self > Pointer
Definition: itkMIDASImageUpdateClearRegionProcessor.h:35
mitk::Point3D m_BeforePoint
Definition: niftkGeneralSegmentorCommands.h:83
ProcessorType::Pointer ProcessorPointer
Definition: niftkGeneralSegmentorCommands.h:176
ProcessorType::Pointer ProcessorPointer
Definition: niftkGeneralSegmentorCommands.h:207
const mitk::OperationType OP_PROPAGATE_SEEDS
Definition: niftkGeneralSegmentorCommands.h:35
Class to hold data for the MIDAS "clean" command, which filters the current contour set...
Definition: niftkGeneralSegmentorCommands.h:231
Class to hold data to pass back to niftkGeneralSegmentorController to Undo/Redo the Wipe commands...
Definition: niftkGeneralSegmentorCommands.h:255
const mitk::OperationType OP_CLEAN
Definition: niftkGeneralSegmentorCommands.h:38
Command class for changing slice.
Definition: niftkGeneralSegmentorCommands.h:68
Definition: niftkExceptionObject.h:21
Base class for General Segmentor commands.
Definition: niftkGeneralSegmentorCommands.h:48
const mitk::OperationType OP_PROPAGATE
Definition: niftkGeneralSegmentorCommands.h:40
const mitk::OperationType OP_THRESHOLD_APPLY
Definition: niftkGeneralSegmentorCommands.h:37