VTK
|
A spherical rendition of point in 3D space. More...
#include <vtkSphereHandleRepresentation.h>
A spherical rendition of point in 3D space.
This class is a concrete implementation of vtkHandleRepresentation. It renders handles as spherical blobs in 3D space.
Definition at line 42 of file vtkSphereHandleRepresentation.h.
Standard methods for instances of this class.
Reimplemented from vtkHandleRepresentation.
Definition at line 51 of file vtkSphereHandleRepresentation.h.
vtkSphereHandleRepresentation::vtkSphereHandleRepresentation | ( | ) | [protected] |
vtkSphereHandleRepresentation::~vtkSphereHandleRepresentation | ( | ) | [protected] |
static vtkSphereHandleRepresentation* vtkSphereHandleRepresentation::New | ( | ) | [static] |
Instantiate this class.
Reimplemented from vtkObject.
static int vtkSphereHandleRepresentation::IsTypeOf | ( | const char * | type | ) | [static] |
Standard methods for instances of this class.
Reimplemented from vtkHandleRepresentation.
virtual int vtkSphereHandleRepresentation::IsA | ( | const char * | type | ) | [virtual] |
Standard methods for instances of this class.
Reimplemented from vtkHandleRepresentation.
static vtkSphereHandleRepresentation* vtkSphereHandleRepresentation::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Standard methods for instances of this class.
Reimplemented from vtkHandleRepresentation.
virtual vtkObjectBase* vtkSphereHandleRepresentation::NewInstanceInternal | ( | ) | const [protected, virtual] |
Standard methods for instances of this class.
Reimplemented from vtkHandleRepresentation.
Standard methods for instances of this class.
Reimplemented from vtkHandleRepresentation.
void vtkSphereHandleRepresentation::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Standard methods for instances of this class.
Reimplemented from vtkHandleRepresentation.
virtual void vtkSphereHandleRepresentation::SetWorldPosition | ( | double | p[3] | ) | [virtual] |
Set the position of the point in world and display coordinates. Note that if the position is set outside of the bounding box, it will be clamped to the boundary of the bounding box. This method overloads the superclasses' SetWorldPosition() and SetDisplayPosition() in order to set the focal point of the cursor properly.
Reimplemented from vtkHandleRepresentation.
virtual void vtkSphereHandleRepresentation::SetDisplayPosition | ( | double | p[3] | ) | [virtual] |
Set the position of the point in world and display coordinates. Note that if the position is set outside of the bounding box, it will be clamped to the boundary of the bounding box. This method overloads the superclasses' SetWorldPosition() and SetDisplayPosition() in order to set the focal point of the cursor properly.
Reimplemented from vtkHandleRepresentation.
virtual void vtkSphereHandleRepresentation::SetTranslationMode | ( | int | ) | [virtual] |
If translation mode is on, as the widget is moved the bounding box, shadows, and cursor are all translated simultaneously as the point moves (i.e., the left and middle mouse buttons act the same). Otherwise, only the cursor focal point moves, which is constrained by the bounds of the point representation. (Note that the bounds can be scaled up using the right mouse button.)
virtual int vtkSphereHandleRepresentation::GetTranslationMode | ( | ) | [virtual] |
If translation mode is on, as the widget is moved the bounding box, shadows, and cursor are all translated simultaneously as the point moves (i.e., the left and middle mouse buttons act the same). Otherwise, only the cursor focal point moves, which is constrained by the bounds of the point representation. (Note that the bounds can be scaled up using the right mouse button.)
virtual void vtkSphereHandleRepresentation::TranslationModeOn | ( | ) | [virtual] |
If translation mode is on, as the widget is moved the bounding box, shadows, and cursor are all translated simultaneously as the point moves (i.e., the left and middle mouse buttons act the same). Otherwise, only the cursor focal point moves, which is constrained by the bounds of the point representation. (Note that the bounds can be scaled up using the right mouse button.)
virtual void vtkSphereHandleRepresentation::TranslationModeOff | ( | ) | [virtual] |
If translation mode is on, as the widget is moved the bounding box, shadows, and cursor are all translated simultaneously as the point moves (i.e., the left and middle mouse buttons act the same). Otherwise, only the cursor focal point moves, which is constrained by the bounds of the point representation. (Note that the bounds can be scaled up using the right mouse button.)
Set/Get the handle properties when unselected and selected.
Set/Get the handle properties when unselected and selected.
virtual vtkProperty* vtkSphereHandleRepresentation::GetProperty | ( | ) | [virtual] |
Set/Get the handle properties when unselected and selected.
virtual vtkProperty* vtkSphereHandleRepresentation::GetSelectedProperty | ( | ) | [virtual] |
Set/Get the handle properties when unselected and selected.
virtual void vtkSphereHandleRepresentation::SetHotSpotSize | ( | double | ) | [virtual] |
Set the "hot spot" size; i.e., the region around the focus, in which the motion vector is used to control the constrained sliding action. Note the size is specified as a fraction of the length of the diagonal of the point widget's bounding box.
virtual double vtkSphereHandleRepresentation::GetHotSpotSize | ( | ) | [virtual] |
Set the "hot spot" size; i.e., the region around the focus, in which the motion vector is used to control the constrained sliding action. Note the size is specified as a fraction of the length of the diagonal of the point widget's bounding box.
virtual void vtkSphereHandleRepresentation::SetHandleSize | ( | double | size | ) | [virtual] |
Overload the superclasses SetHandleSize() method to update internal variables.
Reimplemented from vtkWidgetRepresentation.
virtual double* vtkSphereHandleRepresentation::GetBounds | ( | ) | [virtual] |
Methods to make this class properly act like a vtkWidgetRepresentation.
Reimplemented from vtkWidgetRepresentation.
virtual void vtkSphereHandleRepresentation::BuildRepresentation | ( | ) | [virtual] |
Methods to make this class properly act like a vtkWidgetRepresentation.
Implements vtkWidgetRepresentation.
virtual void vtkSphereHandleRepresentation::StartWidgetInteraction | ( | double | eventPos[2] | ) | [virtual] |
Methods to make this class properly act like a vtkWidgetRepresentation.
Reimplemented from vtkWidgetRepresentation.
virtual void vtkSphereHandleRepresentation::WidgetInteraction | ( | double | eventPos[2] | ) | [virtual] |
Methods to make this class properly act like a vtkWidgetRepresentation.
Reimplemented from vtkWidgetRepresentation.
virtual int vtkSphereHandleRepresentation::ComputeInteractionState | ( | int | X, |
int | Y, | ||
int | modify = 0 |
||
) | [virtual] |
Methods to make this class properly act like a vtkWidgetRepresentation.
Reimplemented from vtkWidgetRepresentation.
virtual void vtkSphereHandleRepresentation::PlaceWidget | ( | double | bounds[6] | ) | [virtual] |
Methods to make this class properly act like a vtkWidgetRepresentation.
virtual void vtkSphereHandleRepresentation::ShallowCopy | ( | vtkProp * | prop | ) | [virtual] |
Methods to make this class behave as a vtkProp.
Reimplemented from vtkHandleRepresentation.
virtual void vtkSphereHandleRepresentation::DeepCopy | ( | vtkProp * | prop | ) | [virtual] |
Methods to make this class behave as a vtkProp.
Reimplemented from vtkHandleRepresentation.
virtual void vtkSphereHandleRepresentation::GetActors | ( | vtkPropCollection * | ) | [virtual] |
Methods to make this class behave as a vtkProp.
Reimplemented from vtkWidgetRepresentation.
virtual void vtkSphereHandleRepresentation::ReleaseGraphicsResources | ( | vtkWindow * | ) | [virtual] |
Methods to make this class behave as a vtkProp.
Reimplemented from vtkWidgetRepresentation.
virtual int vtkSphereHandleRepresentation::RenderOpaqueGeometry | ( | vtkViewport * | viewport | ) | [virtual] |
virtual int vtkSphereHandleRepresentation::RenderTranslucentPolygonalGeometry | ( | vtkViewport * | viewport | ) | [virtual] |
virtual int vtkSphereHandleRepresentation::HasTranslucentPolygonalGeometry | ( | ) | [virtual] |
Methods to make this class behave as a vtkProp.
Reimplemented from vtkWidgetRepresentation.
void vtkSphereHandleRepresentation::Highlight | ( | int | highlight | ) |
virtual void vtkSphereHandleRepresentation::RegisterPickers | ( | ) | [protected, virtual] |
Register internal Pickers in the Picking Manager. Must be reimplemented by concrete widget representations to register their pickers.
Reimplemented from vtkWidgetRepresentation.
void vtkSphereHandleRepresentation::Translate | ( | double * | p1, |
double * | p2 | ||
) | [protected] |
void vtkSphereHandleRepresentation::Scale | ( | double * | p1, |
double * | p2, | ||
double | eventPos[2] | ||
) | [protected] |
void vtkSphereHandleRepresentation::MoveFocus | ( | double * | p1, |
double * | p2 | ||
) | [protected] |
void vtkSphereHandleRepresentation::SizeBounds | ( | ) | [protected] |
void vtkSphereHandleRepresentation::CreateDefaultProperties | ( | ) | [protected] |
int vtkSphereHandleRepresentation::DetermineConstraintAxis | ( | int | constraint, |
double * | x | ||
) | [protected] |
vtkActor* vtkSphereHandleRepresentation::Actor [protected] |
Definition at line 129 of file vtkSphereHandleRepresentation.h.
vtkPolyDataMapper* vtkSphereHandleRepresentation::Mapper [protected] |
Definition at line 130 of file vtkSphereHandleRepresentation.h.
vtkSphereSource* vtkSphereHandleRepresentation::Sphere [protected] |
Definition at line 131 of file vtkSphereHandleRepresentation.h.
vtkCellPicker* vtkSphereHandleRepresentation::CursorPicker [protected] |
Definition at line 135 of file vtkSphereHandleRepresentation.h.
double vtkSphereHandleRepresentation::LastPickPosition[3] [protected] |
Definition at line 136 of file vtkSphereHandleRepresentation.h.
double vtkSphereHandleRepresentation::LastEventPosition[2] [protected] |
Definition at line 137 of file vtkSphereHandleRepresentation.h.
int vtkSphereHandleRepresentation::ConstraintAxis [protected] |
Definition at line 143 of file vtkSphereHandleRepresentation.h.
vtkProperty* vtkSphereHandleRepresentation::Property [protected] |
Definition at line 151 of file vtkSphereHandleRepresentation.h.
Definition at line 152 of file vtkSphereHandleRepresentation.h.
double vtkSphereHandleRepresentation::HotSpotSize [protected] |
Definition at line 156 of file vtkSphereHandleRepresentation.h.
int vtkSphereHandleRepresentation::WaitingForMotion [protected] |
Definition at line 158 of file vtkSphereHandleRepresentation.h.
int vtkSphereHandleRepresentation::WaitCount [protected] |
Definition at line 159 of file vtkSphereHandleRepresentation.h.
Definition at line 162 of file vtkSphereHandleRepresentation.h.
int vtkSphereHandleRepresentation::TranslationMode [protected] |
Definition at line 165 of file vtkSphereHandleRepresentation.h.