31 #ifndef vtkDistanceRepresentation2D_h
32 #define vtkDistanceRepresentation2D_h
35 #include "vtkInteractionWidgetsModule.h"
Create an axis with tick marks and labels.
represent the vtkDistanceWidget
double GetDistance() override
Satisfy the superclasses API.
vtkDistanceRepresentation2D()
void GetPoint1DisplayPosition(double pos[3]) override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetPoint1WorldPosition(double pos[3]) override
vtkProperty2D * AxisProperty
double * GetPoint1WorldPosition() override
Methods to Set/Get the coordinates of the two points defining this representation.
double * GetPoint2WorldPosition() override
int RenderOpaqueGeometry(vtkViewport *viewport) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
vtkProperty2D * GetAxisProperty()
void SetPoint2WorldPosition(double pos[3]) override
vtkAxisActor2D * GetAxis()
Retrieve the vtkAxisActor2D used to draw the measurement axis.
void BuildRepresentation() override
Method to satisfy superclasses' API.
vtkAxisActor2D * AxisActor
static vtkDistanceRepresentation2D * New()
Instantiate class.
void ReleaseGraphicsResources(vtkWindow *w) override
Methods required by vtkProp superclass.
void GetPoint2WorldPosition(double pos[3]) override
void GetPoint2DisplayPosition(double pos[3]) override
~vtkDistanceRepresentation2D() override
void GetPoint1WorldPosition(double pos[3]) override
Methods to Set/Get the coordinates of the two points defining this representation.
void SetPoint2DisplayPosition(double pos[3]) override
int RenderOverlay(vtkViewport *viewport) override
void SetPoint1DisplayPosition(double pos[3]) override
represent the vtkDistanceWidget
a simple class to control print indentation
represent surface properties of a 2D image
abstract specification for Viewports
window superclass for vtkRenderWindow