27 #ifndef vtkSlicerMarkupsWidgetRepresentation3D_h 28 #define vtkSlicerMarkupsWidgetRepresentation3D_h 30 #include "vtkSlicerMarkupsModuleVTKWidgetsExport.h" 39 class vtkGlyph3DMapper;
40 class vtkLabelPlacementMapper;
41 class vtkPolyDataMapper;
51 void PrintSelf(ostream& os, vtkIndent indent)
override;
61 void GetActors(vtkPropCollection *)
override;
72 int &foundComponentType,
int &foundComponentIndex,
double &closestDistance2)
override;
76 int& foundComponentType,
int& foundComponentIndex,
double& closestDistance2);
81 int &foundComponentType,
int &foundComponentIndex,
double &closestDistance2);
83 bool AccuratePick(
int x,
int y,
double pickPoint[3],
double pickNormal[3]=
nullptr);
88 bool GetNthControlPointViewVisibility(
int n);
94 vtkSetMacro(OccludedRelativeOffset,
double);
95 vtkGetMacro(OccludedRelativeOffset,
double);
145 virtual void UpdateControlPointGlyphOrientation();
147 virtual void UpdateNthPointAndLabelFromMRML(
int n);
149 virtual void UpdateAllPointsAndLabelsFromMRML();
162 double TextActorPositionWorld[3];
170 static void OnRenderCompleted(vtkObject* caller,
unsigned long event,
void* clientData,
void* callData);
171 static vtkFloatArray* GetCachedZBuffer(vtkRenderer* renderer);
Abstract Superclass for all specific types of MRML nodes.
extract points that are visible (based on z-buffer calculation)