#include <vtkBiDimensionalRepresentation2D.h>
The vtkBiDimensionalRepresentation2D is used to represent the bi-dimensional measure in a 2D (overlay) context. This representation consists of two perpendicular lines defined by four vtkHandleRepresentations. The four handles can be independently manipulated consistent with the orthogonal constraint on the lines. (Note: the four points are referred to as Point1, Point2, Point3 and Point4. Point1 and Point2 define the first line; and Point3 and Point4 define the second orthogonal line.)
To create this widget, you click to place the first two points. The third point is mirrored with the fourth point; when you place the third point (which is orthogonal to the lined defined by the first two points), the fourth point is dropped as well. After definition, the four points can be moved (in constrained fashion, preserving orthogonality). Further, the entire widget can be translated by grabbing the center point of the widget; each line can be moved along the other line; and the entire widget can be rotated around its center point.
Definition at line 59 of file vtkBiDimensionalRepresentation2D.h.
Standard VTK methods.
Reimplemented from vtkBiDimensionalRepresentation.
Definition at line 67 of file vtkBiDimensionalRepresentation2D.h.
anonymous enum |
Definition at line 85 of file vtkBiDimensionalRepresentation2D.h.
vtkBiDimensionalRepresentation2D::vtkBiDimensionalRepresentation2D | ( | ) | [protected] |
vtkBiDimensionalRepresentation2D::~vtkBiDimensionalRepresentation2D | ( | ) | [protected] |
static vtkBiDimensionalRepresentation2D* vtkBiDimensionalRepresentation2D::New | ( | ) | [static] |
Instantiate the class.
Reimplemented from vtkObject.
virtual const char* vtkBiDimensionalRepresentation2D::GetClassName | ( | ) | [virtual] |
Standard VTK methods.
Reimplemented from vtkBiDimensionalRepresentation.
static int vtkBiDimensionalRepresentation2D::IsTypeOf | ( | const char * | type | ) | [static] |
Standard VTK methods.
Reimplemented from vtkBiDimensionalRepresentation.
virtual int vtkBiDimensionalRepresentation2D::IsA | ( | const char * | type | ) | [virtual] |
Standard VTK methods.
Reimplemented from vtkBiDimensionalRepresentation.
static vtkBiDimensionalRepresentation2D* vtkBiDimensionalRepresentation2D::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Standard VTK methods.
Reimplemented from vtkBiDimensionalRepresentation.
void vtkBiDimensionalRepresentation2D::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Standard VTK methods.
Reimplemented from vtkBiDimensionalRepresentation.
virtual vtkProperty2D* vtkBiDimensionalRepresentation2D::GetLineProperty | ( | ) | [virtual] |
Retrieve the property used to control the appearance of the two orthogonal lines.
virtual vtkProperty2D* vtkBiDimensionalRepresentation2D::GetSelectedLineProperty | ( | ) | [virtual] |
Retrieve the property used to control the appearance of the two orthogonal lines.
virtual vtkTextProperty* vtkBiDimensionalRepresentation2D::GetTextProperty | ( | ) | [virtual] |
Retrieve the property used to control the appearance of the text labels.
virtual void vtkBiDimensionalRepresentation2D::BuildRepresentation | ( | ) | [virtual] |
These are methods that satisfy vtkWidgetRepresentation's API.
Implements vtkWidgetRepresentation.
virtual int vtkBiDimensionalRepresentation2D::ComputeInteractionState | ( | int | X, | |
int | Y, | |||
int | modify = 0 | |||
) | [virtual] |
These are methods that satisfy vtkWidgetRepresentation's API.
Reimplemented from vtkWidgetRepresentation.
virtual void vtkBiDimensionalRepresentation2D::StartWidgetDefinition | ( | double | e[2] | ) | [virtual] |
These are methods that satisfy vtkWidgetRepresentation's API.
Implements vtkBiDimensionalRepresentation.
virtual void vtkBiDimensionalRepresentation2D::Point2WidgetInteraction | ( | double | e[2] | ) | [virtual] |
These are methods that satisfy vtkWidgetRepresentation's API.
Implements vtkBiDimensionalRepresentation.
virtual void vtkBiDimensionalRepresentation2D::Point3WidgetInteraction | ( | double | e[2] | ) | [virtual] |
These are methods that satisfy vtkWidgetRepresentation's API.
Implements vtkBiDimensionalRepresentation.
virtual void vtkBiDimensionalRepresentation2D::StartWidgetManipulation | ( | double | e[2] | ) | [virtual] |
These are methods that satisfy vtkWidgetRepresentation's API.
Implements vtkBiDimensionalRepresentation.
virtual void vtkBiDimensionalRepresentation2D::WidgetInteraction | ( | double | e[2] | ) | [virtual] |
These are methods that satisfy vtkWidgetRepresentation's API.
Reimplemented from vtkWidgetRepresentation.
virtual void vtkBiDimensionalRepresentation2D::Highlight | ( | int | highlightOn | ) | [virtual] |
These are methods that satisfy vtkWidgetRepresentation's API.
virtual void vtkBiDimensionalRepresentation2D::ReleaseGraphicsResources | ( | vtkWindow * | w | ) | [virtual] |
Methods required by vtkProp superclass.
Reimplemented from vtkWidgetRepresentation.
virtual int vtkBiDimensionalRepresentation2D::RenderOverlay | ( | vtkViewport * | viewport | ) | [virtual] |
char* vtkBiDimensionalRepresentation2D::GetLabelText | ( | ) | [virtual] |
Get the text shown in the widget's label.
Implements vtkBiDimensionalRepresentation.
double* vtkBiDimensionalRepresentation2D::GetLabelPosition | ( | ) | [virtual] |
Get the position of the widget's label in display coordinates.
Implements vtkBiDimensionalRepresentation.
void vtkBiDimensionalRepresentation2D::GetLabelPosition | ( | double | pos[3] | ) | [virtual] |
Get the position of the widget's label in display coordinates.
Implements vtkBiDimensionalRepresentation.
void vtkBiDimensionalRepresentation2D::GetWorldLabelPosition | ( | double | pos[3] | ) | [virtual] |
Get the position of the widget's label in display coordinates.
Implements vtkBiDimensionalRepresentation.
void vtkBiDimensionalRepresentation2D::ProjectOrthogonalPoint | ( | double | x[4], | |
double | y[3], | |||
double | x1[3], | |||
double | x2[3], | |||
double | x21[3], | |||
double | dir, | |||
double | xP[3] | |||
) | [protected] |
int vtkBiDimensionalRepresentation2D::Modifier [protected] |
Reimplemented from vtkBiDimensionalRepresentation.
Definition at line 121 of file vtkBiDimensionalRepresentation2D.h.
vtkCellArray* vtkBiDimensionalRepresentation2D::LineCells [protected] |
Definition at line 124 of file vtkBiDimensionalRepresentation2D.h.
vtkPoints* vtkBiDimensionalRepresentation2D::LinePoints [protected] |
Definition at line 125 of file vtkBiDimensionalRepresentation2D.h.
Definition at line 126 of file vtkBiDimensionalRepresentation2D.h.
Definition at line 127 of file vtkBiDimensionalRepresentation2D.h.
vtkActor2D* vtkBiDimensionalRepresentation2D::LineActor [protected] |
Definition at line 128 of file vtkBiDimensionalRepresentation2D.h.
Definition at line 129 of file vtkBiDimensionalRepresentation2D.h.
Definition at line 130 of file vtkBiDimensionalRepresentation2D.h.
Definition at line 133 of file vtkBiDimensionalRepresentation2D.h.
Definition at line 134 of file vtkBiDimensionalRepresentation2D.h.
vtkActor2D* vtkBiDimensionalRepresentation2D::TextActor [protected] |
Definition at line 135 of file vtkBiDimensionalRepresentation2D.h.
double vtkBiDimensionalRepresentation2D::P1World[3] [protected] |
Reimplemented from vtkBiDimensionalRepresentation.
Definition at line 138 of file vtkBiDimensionalRepresentation2D.h.
double vtkBiDimensionalRepresentation2D::P2World[3] [protected] |
Reimplemented from vtkBiDimensionalRepresentation.
Definition at line 139 of file vtkBiDimensionalRepresentation2D.h.
double vtkBiDimensionalRepresentation2D::P3World[3] [protected] |
Reimplemented from vtkBiDimensionalRepresentation.
Definition at line 140 of file vtkBiDimensionalRepresentation2D.h.
double vtkBiDimensionalRepresentation2D::P4World[3] [protected] |
Reimplemented from vtkBiDimensionalRepresentation.
Definition at line 141 of file vtkBiDimensionalRepresentation2D.h.
double vtkBiDimensionalRepresentation2D::P21World[3] [protected] |
Reimplemented from vtkBiDimensionalRepresentation.
Definition at line 142 of file vtkBiDimensionalRepresentation2D.h.
double vtkBiDimensionalRepresentation2D::P43World[3] [protected] |
Reimplemented from vtkBiDimensionalRepresentation.
Definition at line 143 of file vtkBiDimensionalRepresentation2D.h.
double vtkBiDimensionalRepresentation2D::T21 [protected] |
Reimplemented from vtkBiDimensionalRepresentation.
Definition at line 144 of file vtkBiDimensionalRepresentation2D.h.
double vtkBiDimensionalRepresentation2D::T43 [protected] |
Reimplemented from vtkBiDimensionalRepresentation.
Definition at line 145 of file vtkBiDimensionalRepresentation2D.h.
double vtkBiDimensionalRepresentation2D::CenterWorld[3] [protected] |
Reimplemented from vtkBiDimensionalRepresentation.
Definition at line 146 of file vtkBiDimensionalRepresentation2D.h.
double vtkBiDimensionalRepresentation2D::StartEventPositionWorld[4] [protected] |
Reimplemented from vtkBiDimensionalRepresentation.
Definition at line 147 of file vtkBiDimensionalRepresentation2D.h.