|
Slicer 5.13
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
Default representation for the points widget. More...
#include <Modules/Loadable/Markups/VTKWidgets/vtkSlicerPointsRepresentation3D.h>


Public Types | |
| typedef vtkSlicerMarkupsWidgetRepresentation3D | Superclass |
| Standard methods for instances of this class. | |
Public Types inherited from vtkSlicerMarkupsWidgetRepresentation3D | |
| typedef vtkSlicerMarkupsWidgetRepresentation | Superclass |
| Standard methods for instances of this class. | |
Public Types inherited from vtkSlicerMarkupsWidgetRepresentation | |
| enum | { Unselected , Selected , Active , Project , ProjectBack , NumberOfControlPointTypes } |
| typedef vtkMRMLAbstractWidgetRepresentation | Superclass |
| Standard methods for instances of this class. | |
Public Types inherited from vtkMRMLAbstractWidgetRepresentation | |
| typedef vtkProp | Superclass |
| Standard methods for instances of this class. | |
Public Member Functions | |
| virtual const char * | GetClassName () |
| virtual int | IsA (const char *type) |
Public Member Functions inherited from vtkSlicerMarkupsWidgetRepresentation3D | |
| bool | AccuratePick (int x, int y, double pickPoint[3], double pickNormal[3]=nullptr) |
| void | CanInteract (vtkMRMLInteractionEventData *interactionEventData, int &foundComponentType, int &foundComponentIndex, double &closestDistance2) override |
| void | CanInteractWithLine (vtkMRMLInteractionEventData *interactionEventData, int &foundComponentType, int &foundComponentIndex, double &closestDistance2) |
| void | GetActors (vtkPropCollection *) override |
| Methods to make this class behave as a vtkProp. | |
| double * | GetBounds () VTK_SIZEHINT(6) override |
| Return the bounds of the representation. | |
| bool | GetNthControlPointViewVisibility (int n) |
| virtual double | GetOccludedRelativeOffset () |
| vtkTypeBool | HasTranslucentPolygonalGeometry () override |
| void | PrintSelf (ostream &os, vtkIndent indent) override |
| void | ReleaseGraphicsResources (vtkWindow *) override |
| int | RenderOpaqueGeometry (vtkViewport *viewport) override |
| int | RenderOverlay (vtkViewport *viewport) override |
| int | RenderTranslucentPolygonalGeometry (vtkViewport *viewport) override |
| void | SetInteractionAccuratePicker (vtkCellPicker *picker) |
| virtual void | SetOccludedRelativeOffset (double) |
| void | SetRenderer (vtkRenderer *ren) override |
| void | UpdateFromMRMLInternal (vtkMRMLNode *caller, unsigned long event, void *callData=nullptr) override |
Public Member Functions inherited from vtkSlicerMarkupsWidgetRepresentation | |
| virtual int | FindClosestPointOnWidget (const int displayPos[2], double worldPos[3], int *idx) |
| void | GetActors (vtkPropCollection *) override |
| Methods to make this class behave as a vtkProp. | |
| virtual vtkPolyData * | GetControlPointsPolyData (int controlPointType) |
| virtual vtkPolyData * | GetLabelControlPointsPolyData (int pipeline) |
| virtual vtkStringArray * | GetLabels (int pipeline) |
| virtual vtkMRMLMarkupsDisplayNode * | GetMarkupsDisplayNode () |
| virtual vtkMRMLMarkupsNode * | GetMarkupsNode () |
| virtual vtkMRMLMarkupsNode::ControlPoint * | GetNthControlPoint (int n) |
| Get the nth control point. | |
| virtual int | GetNthControlPointDisplayPosition (int n, double pos[2]) |
| virtual int | GetNumberOfControlPoints () |
| Get number of control points. | |
| virtual vtkPointPlacer * | GetPointPlacer () |
| virtual vtkTextActor * | GetTextActor () |
| Get the properties label actor - for testing purposes. | |
| virtual bool | GetTransformationReferencePoint (double referencePointWorld[3]) |
| Translation, rotation, scaling will happen around this position. | |
| vtkTypeBool | HasTranslucentPolygonalGeometry () override |
| bool | IsDisplayable () |
| void | PrintSelf (ostream &os, vtkIndent indent) override |
| void | ReleaseGraphicsResources (vtkWindow *) override |
| int | RenderOpaqueGeometry (vtkViewport *viewport) override |
| int | RenderOverlay (vtkViewport *viewport) override |
| int | RenderTranslucentPolygonalGeometry (vtkViewport *viewport) override |
| virtual void | SetMarkupsDisplayNode (vtkMRMLMarkupsDisplayNode *markupsDisplayNode) |
| Set/Get the vtkMRMLMarkupsNode connected with this representation. | |
| virtual void | UpdateCenterOfRotation () |
| Compute the center of rotation and update it in the Markups node. | |
| void | UpdateFromMRML (vtkMRMLNode *caller, unsigned long event, void *callData=nullptr) override |
| Update the representation from markups node. | |
Public Member Functions inherited from vtkMRMLAbstractWidgetRepresentation | |
| virtual void | AlwaysOnTopOff () |
| virtual void | AlwaysOnTopOn () |
| void | GetActors (vtkPropCollection *) override |
| void | GetActors2D (vtkPropCollection *) override |
| virtual bool | GetAlwaysOnTop () |
| virtual double | GetAlwaysOnTopRelativeOffsetFactor () |
| virtual double | GetAlwaysOnTopRelativeOffsetUnits () |
| virtual vtkMRMLApplicationLogic * | GetApplicationLogic () |
| double * | GetBounds () VTK_SIZEHINT(6) override |
| virtual bool | GetNeedToRender () |
| virtual double | GetPickingTolerance () |
| virtual vtkRenderer * | GetRenderer () |
| double | GetScreenScaleFactor () |
| Convenience method for getting screen scale factor from the associated view node. | |
| virtual vtkMRMLAbstractViewNode * | GetViewNode () |
| void | GetVolumes (vtkPropCollection *) override |
| vtkTypeBool | HasTranslucentPolygonalGeometry () override |
| virtual void | NeedToRenderOff () |
| virtual void | NeedToRenderOn () |
| void | PrintSelf (ostream &os, vtkIndent indent) override |
| void | ReleaseGraphicsResources (vtkWindow *) override |
| int | RenderOpaqueGeometry (vtkViewport *vtkNotUsed(viewport)) override |
| int | RenderOverlay (vtkViewport *vtkNotUsed(viewport)) override |
| int | RenderTranslucentPolygonalGeometry (vtkViewport *vtkNotUsed(viewport)) override |
| int | RenderVolumetricGeometry (vtkViewport *vtkNotUsed(viewport)) override |
| virtual void | SetAlwaysOnTop (bool) |
| virtual void | SetAlwaysOnTopRelativeOffsetFactor (double) |
| virtual void | SetAlwaysOnTopRelativeOffsetUnits (double) |
| virtual void | SetApplicationLogic (vtkMRMLApplicationLogic *appLogic) |
| virtual void | SetNeedToRender (bool) |
| virtual void | SetPickingTolerance (double) |
| virtual void | SetViewNode (vtkMRMLAbstractViewNode *viewNode) |
Static Public Member Functions | |
| static int | IsTypeOf (const char *type) |
| static vtkSlicerPointsRepresentation3D * | New () |
| Instantiate this class. | |
| static vtkSlicerPointsRepresentation3D * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkSlicerMarkupsWidgetRepresentation3D | |
| static int | IsTypeOf (const char *type) |
| static vtkSlicerMarkupsWidgetRepresentation3D * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkSlicerMarkupsWidgetRepresentation | |
| static int | IsTypeOf (const char *type) |
| static vtkSlicerMarkupsWidgetRepresentation * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkMRMLAbstractWidgetRepresentation | |
| static int | IsTypeOf (const char *type) |
| static vtkMRMLAbstractWidgetRepresentation * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
| vtkSlicerPointsRepresentation3D () | |
| ~vtkSlicerPointsRepresentation3D () override | |
Protected Member Functions inherited from vtkSlicerMarkupsWidgetRepresentation3D | |
| ControlPointsPipeline3D * | GetControlPointsPipeline (int controlPointType) |
| virtual void | UpdateAllPointsAndLabelsFromMRML () |
| virtual void | UpdateControlPointGlyphOrientation () |
| void | UpdateControlPointSize () override |
| virtual void | UpdateNthPointAndLabelFromMRML (int n) |
| virtual void | UpdateRelativeCoincidentTopologyOffsets (vtkMapper *mapper) |
| void | UpdateRelativeCoincidentTopologyOffsets (vtkMapper *mapper, vtkMapper *occludedMapper) |
| void | UpdateViewScaleFactor () override |
| vtkSlicerMarkupsWidgetRepresentation3D () | |
| ~vtkSlicerMarkupsWidgetRepresentation3D () override | |
Protected Member Functions inherited from vtkSlicerMarkupsWidgetRepresentation | |
| void | BuildLine (vtkPolyData *linePolyData, bool displayPosition) |
| void | CanInteractWithPropertiesLabel (vtkMRMLInteractionEventData *interactionEventData, int &foundComponentType, int &foundComponentIndex, double &closestDistance2) |
| Test the visible properties label in display coordinates. | |
| bool | GetAllControlPointsSelected () |
| Convenience method. | |
| virtual bool | GetAllControlPointsVisible () |
| Convenience method. | |
| vtkTextProperty * | GetPropertiesLabelTextProperty (int controlPointType) |
| Use the active text style when hovering over the properties label. | |
| double * | GetWidgetColor (int controlPointType) VTK_SIZEHINT(3) |
| bool | IsMarkupActive (int markupComponentType) |
| virtual void | SetMarkupsNode (vtkMRMLMarkupsNode *markupsNode) |
| vtkSlicerMarkupsWidgetRepresentation () | |
| ~vtkSlicerMarkupsWidgetRepresentation () override | |
Protected Member Functions inherited from vtkMRMLAbstractWidgetRepresentation | |
| void | AddActorsBounds (vtkBoundingBox &bounds, const std::vector< vtkProp * > &actors, double *additionalBounds=nullptr) |
| void | GetRendererComputedDisplayPositionFromWorldPosition (const double worldPos[3], double displayPos[2]) |
| vtkMRMLAbstractWidgetRepresentation () | |
| ~vtkMRMLAbstractWidgetRepresentation () override | |
Additional Inherited Members | |
Static Protected Member Functions inherited from vtkSlicerMarkupsWidgetRepresentation3D | |
| static vtkFloatArray * | GetCachedZBuffer (vtkRenderer *renderer) |
| static void | OnRenderCompleted (vtkObject *caller, unsigned long event, void *clientData, void *callData) |
Static Protected Member Functions inherited from vtkSlicerMarkupsWidgetRepresentation | |
| static int | GetGlyphTypeSourceFromDisplay (int glyphTypeDisplay) |
Protected Attributes inherited from vtkSlicerMarkupsWidgetRepresentation3D | |
| bool | HideTextActorIfAllPointsOccluded |
| vtkWeakPointer< vtkCellPicker > | InteractionAccuratePicker |
| std::unique_ptr< LineDirectionArrowPipeline3D > | LineDirectionArrowPipeline |
| Direction arrow glyph pipeline (3D). | |
| bool | LineDirectionFirstToLastControlPoint = true |
| vtkMTimeType | LineDirectionMarkerLastGeometryMTime = 0 |
| double | LineDirectionMarkerLastSpacing = -1.0 |
| Cached marker spacing/geometry MTime/reversed flag for BuildLineDirectionMarkers guard. | |
| double | OccludedRelativeOffset |
| vtkSmartPointer< vtkCallbackCommand > | RenderCompletedCallback |
| bool | TextActorOccluded |
| double | TextActorPositionWorld [3] |
Protected Attributes inherited from vtkSlicerMarkupsWidgetRepresentation | |
| ControlPointsPipeline * | ControlPoints [NumberOfControlPointTypes] |
| double | ControlPointSize |
| vtkTypeBool | CurveClosed |
| vtkWeakPointer< vtkMRMLMarkupsDisplayNode > | MarkupsDisplayNode |
| vtkWeakPointer< vtkMRMLMarkupsNode > | MarkupsNode |
| vtkTimeStamp | MarkupsTransformModifiedTime |
| vtkSmartPointer< vtkPointPlacer > | PointPlacer |
| double | ScreenSizePixel |
| vtkSmartPointer< vtkTextActor > | TextActor |
| double | ViewScaleFactorMmPerPixel |
Protected Attributes inherited from vtkMRMLAbstractWidgetRepresentation | |
| bool | AlwaysOnTop |
| double | AlwaysOnTopRelativeOffsetFactor { 0.0 } |
| Relative offset used for rendering occluded actors. | |
| double | AlwaysOnTopRelativeOffsetUnits { -66000.0 } |
| vtkWeakPointer< vtkMRMLApplicationLogic > | ApplicationLogic |
| double | Bounds [6] |
| Temporary variable to store GetBounds() result. | |
| bool | NeedToRender |
| double | PickingTolerance |
| vtkWeakPointer< vtkRenderer > | Renderer |
| The renderer in which this widget is placed. | |
| vtkWeakPointer< vtkMRMLAbstractViewNode > | ViewNode |
Static Protected Attributes inherited from vtkSlicerMarkupsWidgetRepresentation3D | |
| static std::map< vtkRenderer *, vtkSmartPointer< vtkFloatArray > > | CachedZBuffers |
Default representation for the points widget.
This class provides the default concrete representation for the vtkMRMLAbstractWidget. See vtkMRMLAbstractWidget for details.
Definition at line 36 of file vtkSlicerPointsRepresentation3D.h.
Standard methods for instances of this class.
Definition at line 43 of file vtkSlicerPointsRepresentation3D.h.
|
protected |
|
overrideprotected |
|
virtual |
Reimplemented from vtkSlicerMarkupsWidgetRepresentation3D.
|
virtual |
Reimplemented from vtkSlicerMarkupsWidgetRepresentation3D.
|
static |
|
static |
Instantiate this class.
|
static |