represent the position of a point in display coordinates
More...
#include <vtkPointHandleRepresentationSphere.h>
Inherits vtkHandleRepresentation.
represent the position of a point in display coordinates
This class is used to represent a vtkHandleWidget. It represents a position in 2D world coordinates using a x-y cursor (the cursor defined by an instance of vtkPolyData and generated by a vtkPolyDataAlgorithm).
- See also
- vtkHandleRepresentation vtkHandleWidget
Definition at line 41 of file vtkPointHandleRepresentationSphere.h.
◆ Superclass
◆ vtkPointHandleRepresentationSphere()
vtkPointHandleRepresentationSphere::vtkPointHandleRepresentationSphere |
( |
| ) |
|
|
protected |
◆ ~vtkPointHandleRepresentationSphere()
vtkPointHandleRepresentationSphere::~vtkPointHandleRepresentationSphere |
( |
| ) |
|
|
protected |
◆ New()
◆ GetClassName()
virtual const char* vtkPointHandleRepresentationSphere::GetClassName |
( |
| ) |
|
|
virtual |
Standard methods for instances of this class.
◆ IsTypeOf()
static int vtkPointHandleRepresentationSphere::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
Standard methods for instances of this class.
◆ IsA()
virtual int vtkPointHandleRepresentationSphere::IsA |
( |
const char * |
type | ) |
|
|
virtual |
Standard methods for instances of this class.
◆ SafeDownCast()
Standard methods for instances of this class.
◆ PrintSelf()
void vtkPointHandleRepresentationSphere::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
Standard methods for instances of this class.
◆ SetCursorShape()
void vtkPointHandleRepresentationSphere::SetCursorShape |
( |
vtkPolyData * |
cursorShape | ) |
|
Specify the cursor shape with an instance of vtkPolyData.
Note that shape is assumed to be defined in the display coordinate system. By default a sphere (the output of vtkSphereSource) shape is used.
◆ GetCursorShape()
vtkPolyData* vtkPointHandleRepresentationSphere::GetCursorShape |
( |
| ) |
|
Specify the cursor shape with an instance of vtkPolyData.
Note that shape is assumed to be defined in the display coordinate system. By default a sphere (the output of vtkSphereSource) shape is used.
◆ SetDisplayPosition()
virtual void vtkPointHandleRepresentationSphere::SetDisplayPosition |
( |
double |
xyz[3] | ) |
|
|
virtual |
Set/Get the position of the point in display coordinates.
This overloads the superclasses SetDisplayPosition in order to set the focal point of the cursor.
◆ SetProperty()
void vtkPointHandleRepresentationSphere::SetProperty |
( |
vtkProperty * |
| ) |
|
Set/Get the handle properties when unselected and selected.
◆ SetSelectedProperty()
void vtkPointHandleRepresentationSphere::SetSelectedProperty |
( |
vtkProperty * |
| ) |
|
Set/Get the handle properties when unselected and selected.
◆ GetProperty()
virtual vtkProperty* vtkPointHandleRepresentationSphere::GetProperty |
( |
| ) |
|
|
virtual |
Set/Get the handle properties when unselected and selected.
◆ GetSelectedProperty()
virtual vtkProperty* vtkPointHandleRepresentationSphere::GetSelectedProperty |
( |
| ) |
|
|
virtual |
Set/Get the handle properties when unselected and selected.
◆ GetBounds()
virtual double* vtkPointHandleRepresentationSphere::GetBounds |
( |
| ) |
|
|
virtual |
Subclasses of vtkPointHandleRepresentationSphere must implement these methods.
These are the methods that the widget and its representation use to communicate with each other.
◆ BuildRepresentation()
virtual void vtkPointHandleRepresentationSphere::BuildRepresentation |
( |
| ) |
|
|
virtual |
Subclasses of vtkPointHandleRepresentationSphere must implement these methods.
These are the methods that the widget and its representation use to communicate with each other.
◆ StartWidgetInteraction()
virtual void vtkPointHandleRepresentationSphere::StartWidgetInteraction |
( |
double |
eventPos[2] | ) |
|
|
virtual |
Subclasses of vtkPointHandleRepresentationSphere must implement these methods.
These are the methods that the widget and its representation use to communicate with each other.
◆ WidgetInteraction()
virtual void vtkPointHandleRepresentationSphere::WidgetInteraction |
( |
double |
eventPos[2] | ) |
|
|
virtual |
Subclasses of vtkPointHandleRepresentationSphere must implement these methods.
These are the methods that the widget and its representation use to communicate with each other.
◆ ComputeInteractionState()
virtual int vtkPointHandleRepresentationSphere::ComputeInteractionState |
( |
int |
X, |
|
|
int |
Y, |
|
|
int |
modify = 0 |
|
) |
| |
|
virtual |
Subclasses of vtkPointHandleRepresentationSphere must implement these methods.
These are the methods that the widget and its representation use to communicate with each other.
◆ ShallowCopy()
virtual void vtkPointHandleRepresentationSphere::ShallowCopy |
( |
vtkProp * |
prop | ) |
|
|
virtual |
Methods to make this class behave as a vtkProp.
◆ GetActors()
virtual void vtkPointHandleRepresentationSphere::GetActors |
( |
vtkPropCollection * |
| ) |
|
|
virtual |
Methods to make this class behave as a vtkProp.
◆ ReleaseGraphicsResources()
virtual void vtkPointHandleRepresentationSphere::ReleaseGraphicsResources |
( |
vtkWindow * |
| ) |
|
|
virtual |
Methods to make this class behave as a vtkProp.
◆ RenderOpaqueGeometry()
virtual int vtkPointHandleRepresentationSphere::RenderOpaqueGeometry |
( |
vtkViewport * |
viewport | ) |
|
|
virtual |
Methods to make this class behave as a vtkProp.
◆ SetScalar()
virtual void vtkPointHandleRepresentationSphere::SetScalar |
( |
double |
| ) |
|
|
virtual |
Set/get the scalar value associated with this handle.
◆ GetScalar()
virtual double vtkPointHandleRepresentationSphere::GetScalar |
( |
| ) |
|
|
virtual |
Set/get the scalar value associated with this handle.
◆ SetAddCircleAroundSphere()
void vtkPointHandleRepresentationSphere::SetAddCircleAroundSphere |
( |
int |
| ) |
|
Set/get the flag whether to add a circle (disk) source around the sphere.
◆ GetAddCircleAroundSphere()
virtual int vtkPointHandleRepresentationSphere::GetAddCircleAroundSphere |
( |
| ) |
|
|
virtual |
Set/get the flag whether to add a circle (disk) source around the sphere.
◆ AddCircleAroundSphereOn()
virtual void vtkPointHandleRepresentationSphere::AddCircleAroundSphereOn |
( |
| ) |
|
|
virtual |
Set/get the flag whether to add a circle (disk) source around the sphere.
◆ AddCircleAroundSphereOff()
virtual void vtkPointHandleRepresentationSphere::AddCircleAroundSphereOff |
( |
| ) |
|
|
virtual |
Set/get the flag whether to add a circle (disk) source around the sphere.
◆ Highlight()
void vtkPointHandleRepresentationSphere::Highlight |
( |
int |
highlight | ) |
|
Toggle whether this handle should be highlighted.
◆ Translate()
void vtkPointHandleRepresentationSphere::Translate |
( |
double |
eventPos[2] | ) |
|
|
protected |
◆ Scale()
void vtkPointHandleRepresentationSphere::Scale |
( |
double |
eventPos[2] | ) |
|
|
protected |
◆ CreateDefaultDiskSource()
void vtkPointHandleRepresentationSphere::CreateDefaultDiskSource |
( |
| ) |
|
|
protected |
◆ CreateDefaultProperties()
void vtkPointHandleRepresentationSphere::CreateDefaultProperties |
( |
| ) |
|
|
protected |
◆ DetermineConstraintAxis()
int vtkPointHandleRepresentationSphere::DetermineConstraintAxis |
( |
int |
constraint, |
|
|
double |
eventPos[2] |
|
) |
| |
|
protected |
◆ Actor
vtkActor* vtkPointHandleRepresentationSphere::Actor |
|
protected |
◆ Mapper
vtkPolyDataMapper* vtkPointHandleRepresentationSphere::Mapper |
|
protected |
◆ Glypher
vtkGlyph3D* vtkPointHandleRepresentationSphere::Glypher |
|
protected |
◆ CursorShape
vtkPolyData* vtkPointHandleRepresentationSphere::CursorShape |
|
protected |
◆ FocalData
vtkPolyData* vtkPointHandleRepresentationSphere::FocalData |
|
protected |
◆ FocalPoint
vtkPoints* vtkPointHandleRepresentationSphere::FocalPoint |
|
protected |
◆ LastPickPosition
double vtkPointHandleRepresentationSphere::LastPickPosition[3] |
|
protected |
◆ LastEventPosition
double vtkPointHandleRepresentationSphere::LastEventPosition[2] |
|
protected |
◆ ConstraintAxis
int vtkPointHandleRepresentationSphere::ConstraintAxis |
|
protected |
◆ AddCircleAroundSphere
int vtkPointHandleRepresentationSphere::AddCircleAroundSphere |
|
protected |
◆ DiskActor
vtkActor* vtkPointHandleRepresentationSphere::DiskActor |
|
protected |
◆ DiskMapper
vtkPolyDataMapper* vtkPointHandleRepresentationSphere::DiskMapper |
|
protected |
◆ DiskGlypher
vtkGlyph3D* vtkPointHandleRepresentationSphere::DiskGlypher |
|
protected |
◆ Property
vtkProperty* vtkPointHandleRepresentationSphere::Property |
|
protected |
◆ SelectedProperty
vtkProperty* vtkPointHandleRepresentationSphere::SelectedProperty |
|
protected |
◆ WaitingForMotion
int vtkPointHandleRepresentationSphere::WaitingForMotion |
|
protected |
◆ WaitCount
int vtkPointHandleRepresentationSphere::WaitCount |
|
protected |
◆ Scalar
double vtkPointHandleRepresentationSphere::Scalar |
|
protected |
The documentation for this class was generated from the following file: