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