Slicer 5.4
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
List of all members | Public Member Functions | Public Attributes
vtkSlicerROIRepresentation2D::MarkupsInteractionPipelineROI2D Class Reference

#include <Modules/Loadable/Markups/VTKWidgets/vtkSlicerROIRepresentation2D.h>

Inheritance diagram for vtkSlicerROIRepresentation2D::MarkupsInteractionPipelineROI2D:
Inheritance graph
[legend]
Collaboration diagram for vtkSlicerROIRepresentation2D::MarkupsInteractionPipelineROI2D:
Collaboration graph
[legend]

Public Member Functions

void AddScaleEdgeIntersection (int pointIndex, vtkIdTypeArray *visibilityArray, vtkPoints *scaleHandleArray, double sliceNormal[3], double sliceOrigin[3], double edgePoint[3], double edgeVector[3])
 
void GetViewPlaneNormal (double viewPlaneNormal[3]) override
 Get the view plane normal for the widget in world coordinates.
 
 MarkupsInteractionPipelineROI2D (vtkSlicerMarkupsWidgetRepresentation *representation)
 
void UpdateScaleHandles () override
 
 ~MarkupsInteractionPipelineROI2D () override=default
 
- Public Member Functions inherited from vtkSlicerROIRepresentation3D::MarkupsInteractionPipelineROI
void CreateScaleHandles () override
 
void GetHandleColor (int type, int index, double color[4]) override
 
HandleInfoList GetHandleInfoList () override
 Get the list of info for all interaction handles.
 
double GetHandleOpacity (int type, int index) override
 Get the opacity of the specified handle.
 
void GetInteractionHandleAxisWorld (int type, int index, double axis[3]) override
 Get the direction vector of the interaction handle from the interaction origin in world coordinates.
 
 MarkupsInteractionPipelineROI (vtkSlicerMarkupsWidgetRepresentation *representation)
 
void UpdateHandleVisibility () override
 
 ~MarkupsInteractionPipelineROI () override=default
 
- Public Member Functions inherited from vtkSlicerMarkupsWidgetRepresentation::MarkupsInteractionPipeline
virtual void CreateRotationHandles ()
 
virtual void CreateTranslationHandles ()
 
virtual void GetInteractionHandleAxis (int type, int index, double axis[3])
 
virtual void GetInteractionHandleOriginWorld (double origin[3])
 Get the interaction handle origin.
 
virtual void GetInteractionHandlePositionWorld (int type, int index, double position[3])
 
virtual void InitializePipeline ()
 
 MarkupsInteractionPipeline (vtkMRMLAbstractWidgetRepresentation *representation)
 
virtual void SetWidgetScale (double scale)
 Set the scale of the interaction handles in world coordinates.
 
virtual void UpdateHandleColors ()
 
virtual ~MarkupsInteractionPipeline ()
 

Public Attributes

vtkSmartPointer< vtkTransformPolyDataFilter > WorldToSliceTransformFilter
 
- Public Attributes inherited from vtkSlicerMarkupsWidgetRepresentation::MarkupsInteractionPipeline
vtkSmartPointer< vtkActor2D > Actor
 
vtkSmartPointer< vtkAppendPolyData > Append
 
vtkSmartPointer< vtkArcSource > AxisRotationArcSource
 
vtkSmartPointer< vtkTensorGlyph > AxisRotationGlypher
 
vtkSmartPointer< vtkAppendPolyData > AxisRotationGlyphSource
 
vtkSmartPointer< vtkSphereSource > AxisRotationHandleSource
 
vtkSmartPointer< vtkPolyData > AxisRotationInteriorAnglePolyData
 
vtkSmartPointer< vtkTubeFilter > AxisRotationInterorAngleTubeFilter
 
vtkSmartPointer< vtkTubeFilter > AxisRotationTubeFilter
 
vtkSmartPointer< vtkGlyph3D > AxisScaleGlypher
 
vtkSmartPointer< vtkSphereSource > AxisScaleHandleSource
 
vtkSmartPointer< vtkGlyph3D > AxisTranslationGlypher
 
vtkSmartPointer< vtkArrowSource > AxisTranslationGlyphSource
 
vtkSmartPointer< vtkTransformPolyDataFilter > AxisTranslationGlyphTransformer
 
vtkSmartPointer< vtkLookupTable > ColorTable
 
double EndFadeAngle {20}
 
vtkSmartPointer< vtkTransform > HandleToWorldTransform
 
vtkSmartPointer< vtkTransformPolyDataFilter > HandleToWorldTransformFilter
 
double InteractionHandleSize {1.0}
 
vtkSmartPointer< vtkPolyDataMapper2D > Mapper
 
vtkSmartPointer< vtkProperty2D > Property
 
vtkWeakPointer< vtkMRMLAbstractWidgetRepresentationRepresentation
 
vtkSmartPointer< vtkPolyData > RotationHandlePoints
 
vtkSmartPointer< vtkTransformPolyDataFilter > RotationScaleTransform
 
vtkSmartPointer< vtkPolyData > ScaleHandlePoints
 
vtkSmartPointer< vtkTransformPolyDataFilter > ScaleScaleTransform
 
double StartFadeAngle {30}
 
vtkSmartPointer< vtkPolyData > TranslationHandlePoints
 
vtkSmartPointer< vtkTransformPolyDataFilter > TranslationScaleTransform
 

Detailed Description

Definition at line 114 of file vtkSlicerROIRepresentation2D.h.

Constructor & Destructor Documentation

◆ MarkupsInteractionPipelineROI2D()

vtkSlicerROIRepresentation2D::MarkupsInteractionPipelineROI2D::MarkupsInteractionPipelineROI2D ( vtkSlicerMarkupsWidgetRepresentation * representation)

◆ ~MarkupsInteractionPipelineROI2D()

vtkSlicerROIRepresentation2D::MarkupsInteractionPipelineROI2D::~MarkupsInteractionPipelineROI2D ( )
overridedefault

Member Function Documentation

◆ AddScaleEdgeIntersection()

void vtkSlicerROIRepresentation2D::MarkupsInteractionPipelineROI2D::AddScaleEdgeIntersection ( int pointIndex,
vtkIdTypeArray * visibilityArray,
vtkPoints * scaleHandleArray,
double sliceNormal[3],
double sliceOrigin[3],
double edgePoint[3],
double edgeVector[3] )

◆ GetViewPlaneNormal()

void vtkSlicerROIRepresentation2D::MarkupsInteractionPipelineROI2D::GetViewPlaneNormal ( double normal[3])
overridevirtual

Get the view plane normal for the widget in world coordinates.

Reimplemented from vtkSlicerMarkupsWidgetRepresentation::MarkupsInteractionPipeline.

◆ UpdateScaleHandles()

void vtkSlicerROIRepresentation2D::MarkupsInteractionPipelineROI2D::UpdateScaleHandles ( )
overridevirtual

Member Data Documentation

◆ WorldToSliceTransformFilter

vtkSmartPointer<vtkTransformPolyDataFilter> vtkSlicerROIRepresentation2D::MarkupsInteractionPipelineROI2D::WorldToSliceTransformFilter

Definition at line 123 of file vtkSlicerROIRepresentation2D.h.


The documentation for this class was generated from the following file: