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()
double * GetPoint1WorldPosition() override
Methods to Set/Get the coordinates of the two points defining this representation.
vtkAxisActor2D * GetAxis()
Retrieve the vtkAxisActor2D used to draw the measurement axis.
void GetPoint1DisplayPosition(double pos[3]) override
Methods to Set/Get the coordinates of the two points defining this representation.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard VTK methods.
void SetPoint1WorldPosition(double pos[3]) override
Methods to Set/Get the coordinates of the two points defining this representation.
static vtkDistanceRepresentation2D * New()
Instantiate class.
vtkProperty2D * AxisProperty
double * GetPoint2WorldPosition() override
Methods to Set/Get the coordinates of the two points defining this representation.
int RenderOpaqueGeometry(vtkViewport *viewport) override
Methods required by vtkProp superclass.
void SetPoint2WorldPosition(double pos[3]) override
Methods to Set/Get the coordinates of the two points defining this representation.
void BuildRepresentation() override
Method to satisfy superclasses' API.
vtkAxisActor2D * AxisActor
void ReleaseGraphicsResources(vtkWindow *w) override
Methods required by vtkProp superclass.
void GetPoint2WorldPosition(double pos[3]) override
Methods to Set/Get the coordinates of the two points defining this representation.
void GetPoint2DisplayPosition(double pos[3]) override
Methods to Set/Get the coordinates of the two points defining this representation.
vtkProperty2D * GetAxisProperty()
Retrieve the vtkAxisActor2D used to draw the measurement axis.
~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
Methods to Set/Get the coordinates of the two points defining this representation.
int RenderOverlay(vtkViewport *viewport) override
Methods required by vtkProp superclass.
void SetPoint1DisplayPosition(double pos[3]) override
Methods to Set/Get the coordinates of the two points defining this representation.
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