41 #ifndef vtkMRMLAbstractRepresentation_h 42 #define vtkMRMLAbstractRepresentation_h 44 #include "vtkMRMLDisplayableManagerExport.h" 45 #include "vtkWidgetRepresentation.h" 53 #include "vtkBoundingBox.h" 60 void PrintSelf(ostream& os, vtkIndent indent)
override;
70 double *
GetBounds() VTK_SIZEHINT(6)
override {
return nullptr; }
75 int RenderOverlay(vtkViewport *vtkNotUsed(viewport))
override {
return 0; }
93 virtual void SetRenderer(vtkRenderer *ren);
94 virtual vtkRenderer* GetRenderer();
110 virtual void UpdateFromMRML(
vtkMRMLNode* caller,
unsigned long event,
void *callData =
nullptr);
115 vtkSetMacro(PickingTolerance,
double);
116 vtkGetMacro(PickingTolerance,
double);
122 vtkSetMacro(AlwaysOnTop,
bool);
123 vtkGetMacro(AlwaysOnTop,
bool);
124 vtkBooleanMacro(AlwaysOnTop,
bool);
131 vtkGetMacro(NeedToRender,
bool);
132 vtkSetMacro(NeedToRender,
bool);
133 vtkBooleanMacro(NeedToRender,
bool);
142 void AddActorsBounds(vtkBoundingBox& bounds,
const std::vector<vtkProp*> &actors,
double* additionalBounds =
nullptr);
146 void GetRendererComputedDisplayPositionFromWorldPosition(
const double worldPos[3],
double displayPos[2]);
148 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.