32#ifndef vtkSlicerPlaneRepresentation2D_h
33#define vtkSlicerPlaneRepresentation2D_h
35#include "vtkSlicerMarkupsModuleVTKWidgetsExport.h"
38#include "vtkGlyphSource2D.h"
40class vtkAppendPolyData;
42class vtkDiscretizableColorTransferFunction;
44class vtkGeometryFilter;
48class vtkSampleImplicitFunctionFilter;
58 void PrintSelf(ostream& os, vtkIndent indent)
override;
77 int &foundComponentType,
int &foundComponentIndex,
double &closestDistance2) override;
80 int& foundComponentType,
int& foundComponentIndex,
double& closestDistance2);
Abstract Superclass for all specific types of MRML nodes.
vtkNew< vtkClipPolyData > PlaneClipperStartFadeFar
vtkNew< vtkActor2D > PlaneFillActor
vtkNew< vtkDiscretizableColorTransferFunction > PlaneOutlineColorMap
vtkNew< vtkGlyphSource2D > ArrowFilter
static vtkSlicerPlaneRepresentation2D * New()
Instantiate this class.
vtkNew< vtkGeometryFilter > PlaneGeometryFilter
vtkNew< vtkPlaneSource > PlaneFilter
vtkNew< vtkAppendPolyData > PlaneAppend
virtual void UpdatePlaneFillColorMap(vtkDiscretizableColorTransferFunction *colormap, double color[3])
double * GetBounds() VTK_SIZEHINT(6) override
Return the bounds of the representation.
vtkNew< vtkTransformPolyDataFilter > PlaneOutlineWorldToSliceTransformer
bool GetTransformationReferencePoint(double referencePointWorld[3]) override
Translation, rotation, scaling will happen around this position.
vtkNew< vtkFeatureEdges > PlaneOutlineFilter
void UpdateFromMRMLInternal(vtkMRMLNode *caller, unsigned long event, void *callData=nullptr) override
vtkNew< vtkDiscretizableColorTransferFunction > PlaneFillColorMap
vtkNew< vtkPolyDataMapper2D > PlaneFillMapper
virtual void UpdatePlaneOutlineColorMap(vtkDiscretizableColorTransferFunction *colormap, double color[3])
vtkNew< vtkGlyph2D > ArrowGlypher
void GetActors(vtkPropCollection *) override
Methods to make this class behave as a vtkProp.
vtkNew< vtkClipPolyData > PlaneClipperSlicePlane
void ReleaseGraphicsResources(vtkWindow *) override
vtkNew< vtkPolyDataMapper2D > PlaneOutlineMapper
int RenderTranslucentPolygonalGeometry(vtkViewport *viewport) override
vtkNew< vtkAppendPolyData > PlanePickingAppend
int RenderOverlay(vtkViewport *viewport) override
vtkNew< vtkPolyDataMapper2D > ArrowMapper
vtkNew< vtkClipPolyData > PlaneClipperEndFadeFar
int RenderOpaqueGeometry(vtkViewport *viewport) override
vtkNew< vtkActor2D > ArrowActor
void PrintSelf(ostream &os, vtkIndent indent) override
void CanInteractWithPlane(vtkMRMLInteractionEventData *interactionEventData, int &foundComponentType, int &foundComponentIndex, double &closestDistance2)
vtkNew< vtkPlaneCutter > PlaneCutter
vtkNew< vtkTransformPolyDataFilter > PlaneWorldToSliceTransformer
vtkTypeBool HasTranslucentPolygonalGeometry() override
vtkNew< vtkSampleImplicitFunctionFilter > PlaneSliceDistance
vtkNew< vtkClipPolyData > PlaneClipperEndFadeNear
vtkNew< vtkClipPolyData > PlaneClipperStartFadeNear
vtkSlicerPlaneRepresentation2D()
vtkNew< vtkActor2D > PlaneOutlineActor
void CanInteract(vtkMRMLInteractionEventData *interactionEventData, int &foundComponentType, int &foundComponentIndex, double &closestDistance2) override
Position is displayed (slice) position.