31 #ifndef vtkDistanceRepresentation2D_h
32 #define vtkDistanceRepresentation2D_h
34 #include "vtkInteractionWidgetsModule.h"
61 {
return this->Distance;}
70 double* GetPoint2WorldPosition() VTK_OVERRIDE;
71 void GetPoint1WorldPosition(
double pos[3]) VTK_OVERRIDE;
72 void GetPoint2WorldPosition(
double pos[3]) VTK_OVERRIDE;
73 void SetPoint1WorldPosition(
double pos[3]) VTK_OVERRIDE;
74 void SetPoint2WorldPosition(
double pos[3]) VTK_OVERRIDE;
77 void SetPoint1DisplayPosition(
double pos[3]) VTK_OVERRIDE;
78 void SetPoint2DisplayPosition(
double pos[3]) VTK_OVERRIDE;
79 void GetPoint1DisplayPosition(
double pos[3]) VTK_OVERRIDE;
80 void GetPoint2DisplayPosition(
double pos[3]) VTK_OVERRIDE;
95 void BuildRepresentation() VTK_OVERRIDE;
101 void ReleaseGraphicsResources(
vtkWindow *w) VTK_OVERRIDE;
102 int RenderOverlay(
vtkViewport *viewport) VTK_OVERRIDE;
103 int RenderOpaqueGeometry(
vtkViewport *viewport) VTK_OVERRIDE;
108 ~vtkDistanceRepresentation2D() VTK_OVERRIDE;
118 vtkDistanceRepresentation2D(const vtkDistanceRepresentation2D&) VTK_DELETE_FUNCTION;
119 void operator=(const vtkDistanceRepresentation2D&) VTK_DELETE_FUNCTION;
abstract specification for Viewports
represent the vtkDistanceWidget
void PrintSelf(ostream &os, vtkIndent indent) override
Standard VTK methods.
Create an axis with tick marks and labels.
window superclass for vtkRenderWindow
virtual double * GetPoint1WorldPosition()=0
Methods to Set/Get the coordinates of the two points defining this representation.
a simple class to control print indentation
double GetDistance() override
Satisfy the superclasses API.
represent surface properties of a 2D image
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
represent the vtkDistanceWidget