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