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