41 #ifndef vtkMRMLAbstractRepresentation_h 42 #define vtkMRMLAbstractRepresentation_h 44 #include "vtkMRMLDisplayableManagerExport.h" 45 #include "vtkWidgetRepresentation.h" 54 #include "vtkBoundingBox.h" 61 void PrintSelf(ostream& os, vtkIndent indent)
override;
71 double *
GetBounds() VTK_SIZEHINT(6)
override {
return nullptr; }
76 int RenderOverlay(vtkViewport *vtkNotUsed(viewport))
override {
return 0; }
94 virtual void SetRenderer(vtkRenderer *ren);
95 virtual vtkRenderer* GetRenderer();
119 virtual void UpdateFromMRML(
vtkMRMLNode* caller,
unsigned long event,
void *callData =
nullptr);
124 vtkSetMacro(PickingTolerance,
double);
125 vtkGetMacro(PickingTolerance,
double);
131 vtkSetMacro(AlwaysOnTop,
bool);
132 vtkGetMacro(AlwaysOnTop,
bool);
133 vtkBooleanMacro(AlwaysOnTop,
bool);
140 vtkGetMacro(NeedToRender,
bool);
141 vtkSetMacro(NeedToRender,
bool);
142 vtkBooleanMacro(NeedToRender,
bool);
151 void AddActorsBounds(vtkBoundingBox& bounds,
const std::vector<vtkProp*> &actors,
double* additionalBounds =
nullptr);
155 void GetRendererComputedDisplayPositionFromWorldPosition(
const double worldPos[3],
double displayPos[2]);
157 virtual void UpdateRelativeCoincidentTopologyOffsets(vtkMapper* mapper);
Abstract MRML node to represent a view. The class holds the properties common to any view type (3D...
Abstract Superclass for all specific types of MRML nodes.