32 #ifndef vtkSlicerROIRepresentation2D_h 33 #define vtkSlicerROIRepresentation2D_h 35 #include "vtkSlicerMarkupsModuleVTKWidgetsExport.h" 39 class vtkAppendPolyData;
40 class vtkClipPolyData;
41 class vtkContourTriangulator;
43 class vtkDiscretizableColorTransferFunction;
45 class vtkOutlineFilter;
46 class vtkSampleImplicitFunctionFilter;
56 void PrintSelf(ostream& os, vtkIndent indent)
override;
64 void GetActors(vtkPropCollection *)
override;
75 int& foundComponentType,
int& foundComponentIndex,
double& closestDistance2)
override;
78 int& foundComponentType,
int& foundComponentIndex,
double& closestDistance2);
95 void SetROISource(vtkPolyDataAlgorithm* roiSource);
119 void GetViewPlaneNormal(
double viewPlaneNormal[3])
override;
120 void UpdateScaleHandles()
override;
121 void AddScaleEdgeIntersection(
int pointIndex, vtkIdTypeArray* visibilityArray, vtkPoints* scaleHandleArray,
122 double sliceNormal[3],
double sliceOrigin[3],
double edgePoint[3],
double edgeVector[3]);
MRML node to represent an ROI markup.
vtkSmartPointer< vtkTransformPolyDataFilter > ROIOutlineWorldToSliceTransformFilter
vtkSmartPointer< vtkContourTriangulator > ROIIntersectionTriangulator
vtkSmartPointer< vtkPolyDataMapper2D > ROIOutlineMapper
vtkSmartPointer< vtkTransform > ROIToWorldTransform
vtkSmartPointer< vtkTransformPolyDataFilter > WorldToSliceTransformFilter
vtkSmartPointer< vtkActor2D > ROIActor
vtkSmartPointer< vtkProperty2D > ROIOutlineProperty
vtkSmartPointer< vtkActor2D > ROIOutlineActor
vtkSmartPointer< vtkTransformPolyDataFilter > ROIToWorldTransformFilter
vtkSmartPointer< vtkPolyDataAlgorithm > ROISource
Default representation for the plane widget.
vtkSmartPointer< vtkProperty2D > ROIProperty
vtkSmartPointer< vtkPolyDataMapper2D > ROIMapper
Abstract Superclass for all specific types of MRML nodes.
vtkSmartPointer< vtkCutter > ROIOutlineCutter
vtkSmartPointer< vtkPassThroughFilter > ROIPipelineInputFilter