44 #ifndef vtkBiDimensionalRepresentation2D_h
45 #define vtkBiDimensionalRepresentation2D_h
47 #include "vtkInteractionWidgetsModule.h"
163 double CenterWorld[3];
164 double StartEventPositionWorld[4];
168 double dir,
double xP[3]);
a actor that draws 2D data
represent the vtkBiDimensionalWidget
virtual void ReleaseGraphicsResources(vtkWindow *w)
Methods required by vtkProp superclass.
virtual void WidgetInteraction(double e[2])
virtual int ComputeInteractionState(int X, int Y, int modify=0)
virtual void BuildRepresentation()
These are methods that satisfy vtkWidgetRepresentation's API.
virtual void Highlight(int highlightOn)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkProperty2D * LineProperty
vtkTextMapper * TextMapper
static vtkBiDimensionalRepresentation2D * New()
Instantiate the class.
void GetLabelPosition(double pos[3])
virtual void StartWidgetManipulation(double e[2])
virtual int RenderOverlay(vtkViewport *viewport)
virtual void StartWidgetDefinition(double e[2])
These are methods that satisfy vtkWidgetRepresentation's API.
~vtkBiDimensionalRepresentation2D()
virtual void Point3WidgetInteraction(double e[2])
vtkPolyData * LinePolyData
double * GetLabelPosition()
Get the position of the widget's label in display coordinates.
void GetWorldLabelPosition(double pos[3])
vtkBiDimensionalRepresentation2D()
virtual void Point2WidgetInteraction(double e[2])
vtkProperty2D * SelectedLineProperty
vtkPolyDataMapper2D * LineMapper
vtkTextProperty * TextProperty
void ProjectOrthogonalPoint(double x[4], double y[3], double x1[3], double x2[3], double x21[3], double dir, double xP[3])
char * GetLabelText()
Get the text shown in the widget's label.
represent the vtkBiDimensionalWidget
object to represent cell connectivity
abstract class for representing widget handles
a simple class to control print indentation
represent and manipulate 3D points
draw vtkPolyData onto the image plane
concrete dataset represents vertices, lines, polygons, and triangle strips
represent surface properties of a 2D image
represent text properties.
abstract specification for Viewports
window superclass for vtkRenderWindow