ParaView
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkPointHandleRepresentationSphere Class Reference

represent the position of a point in display coordinates More...

#include <vtkPointHandleRepresentationSphere.h>

Inherits vtkHandleRepresentation.

Public Member Functions

virtual void SetDisplayPosition (double xyz[3])
 Set/Get the position of the point in display coordinates. More...
 
void Highlight (int highlight)
 Toggle whether this handle should be highlighted. More...
 
void SetCursorShape (vtkPolyData *cursorShape)
 Specify the cursor shape with an instance of vtkPolyData. More...
 
vtkPolyData * GetCursorShape ()
 Specify the cursor shape with an instance of vtkPolyData. More...
 
void SetProperty (vtkProperty *)
 Set/Get the handle properties when unselected and selected. More...
 
void SetSelectedProperty (vtkProperty *)
 Set/Get the handle properties when unselected and selected. More...
 
virtual vtkProperty * GetProperty ()
 Set/Get the handle properties when unselected and selected. More...
 
virtual vtkProperty * GetSelectedProperty ()
 Set/Get the handle properties when unselected and selected. More...
 
virtual double * GetBounds ()
 Subclasses of vtkPointHandleRepresentationSphere must implement these methods. More...
 
virtual void BuildRepresentation ()
 Subclasses of vtkPointHandleRepresentationSphere must implement these methods. More...
 
virtual void StartWidgetInteraction (double eventPos[2])
 Subclasses of vtkPointHandleRepresentationSphere must implement these methods. More...
 
virtual void WidgetInteraction (double eventPos[2])
 Subclasses of vtkPointHandleRepresentationSphere must implement these methods. More...
 
virtual int ComputeInteractionState (int X, int Y, int modify=0)
 Subclasses of vtkPointHandleRepresentationSphere must implement these methods. More...
 
virtual void ShallowCopy (vtkProp *prop)
 Methods to make this class behave as a vtkProp. More...
 
virtual void GetActors (vtkPropCollection *)
 Methods to make this class behave as a vtkProp. More...
 
virtual void ReleaseGraphicsResources (vtkWindow *)
 Methods to make this class behave as a vtkProp. More...
 
virtual int RenderOpaqueGeometry (vtkViewport *viewport)
 Methods to make this class behave as a vtkProp. More...
 
virtual void SetScalar (double)
 Set/get the scalar value associated with this handle. More...
 
virtual double GetScalar ()
 Set/get the scalar value associated with this handle. More...
 
void SetAddCircleAroundSphere (int)
 Set/get the flag whether to add a circle (disk) source around the sphere. More...
 
virtual int GetAddCircleAroundSphere ()
 Set/get the flag whether to add a circle (disk) source around the sphere. More...
 
virtual void AddCircleAroundSphereOn ()
 Set/get the flag whether to add a circle (disk) source around the sphere. More...
 
virtual void AddCircleAroundSphereOff ()
 Set/get the flag whether to add a circle (disk) source around the sphere. More...
 

Static Public Member Functions

static vtkPointHandleRepresentationSphereNew ()
 Instantiate this class. More...
 

Protected Member Functions

 vtkPointHandleRepresentationSphere ()
 
 ~vtkPointHandleRepresentationSphere ()
 
void Translate (double eventPos[2])
 
void Scale (double eventPos[2])
 
void CreateDefaultDiskSource ()
 
void CreateDefaultProperties ()
 
int DetermineConstraintAxis (int constraint, double eventPos[2])
 

Protected Attributes

vtkActor * Actor
 
vtkPolyDataMapper * Mapper
 
vtkGlyph3D * Glypher
 
vtkPolyData * CursorShape
 
vtkPolyData * FocalData
 
vtkPoints * FocalPoint
 
double LastPickPosition [3]
 
double LastEventPosition [2]
 
int ConstraintAxis
 
int AddCircleAroundSphere
 
vtkActor * DiskActor
 
vtkPolyDataMapper * DiskMapper
 
vtkGlyph3D * DiskGlypher
 
vtkProperty * Property
 
vtkProperty * SelectedProperty
 
int WaitingForMotion
 
int WaitCount
 
double Scalar
 
typedef vtkHandleRepresentation Superclass
 Standard methods for instances of this class. More...
 
static int IsTypeOf (const char *type)
 Standard methods for instances of this class. More...
 
static vtkPointHandleRepresentationSphereSafeDownCast (vtkObject *o)
 Standard methods for instances of this class. More...
 
virtual const char * GetClassName ()
 Standard methods for instances of this class. More...
 
virtual int IsA (const char *type)
 Standard methods for instances of this class. More...
 
void PrintSelf (ostream &os, vtkIndent indent)
 Standard methods for instances of this class. More...
 

Detailed Description

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.

Member Typedef Documentation

◆ Superclass

typedef vtkHandleRepresentation vtkPointHandleRepresentationSphere::Superclass

Standard methods for instances of this class.

Definition at line 54 of file vtkPointHandleRepresentationSphere.h.

Constructor & Destructor Documentation

◆ vtkPointHandleRepresentationSphere()

vtkPointHandleRepresentationSphere::vtkPointHandleRepresentationSphere ( )
protected

◆ ~vtkPointHandleRepresentationSphere()

vtkPointHandleRepresentationSphere::~vtkPointHandleRepresentationSphere ( )
protected

Member Function Documentation

◆ New()

static vtkPointHandleRepresentationSphere* vtkPointHandleRepresentationSphere::New ( )
static

Instantiate this class.

◆ 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()

static vtkPointHandleRepresentationSphere* vtkPointHandleRepresentationSphere::SafeDownCast ( vtkObject *  o)
static

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

Member Data Documentation

◆ Actor

vtkActor* vtkPointHandleRepresentationSphere::Actor
protected

Definition at line 135 of file vtkPointHandleRepresentationSphere.h.

◆ Mapper

vtkPolyDataMapper* vtkPointHandleRepresentationSphere::Mapper
protected

Definition at line 136 of file vtkPointHandleRepresentationSphere.h.

◆ Glypher

vtkGlyph3D* vtkPointHandleRepresentationSphere::Glypher
protected

Definition at line 137 of file vtkPointHandleRepresentationSphere.h.

◆ CursorShape

vtkPolyData* vtkPointHandleRepresentationSphere::CursorShape
protected

Definition at line 138 of file vtkPointHandleRepresentationSphere.h.

◆ FocalData

vtkPolyData* vtkPointHandleRepresentationSphere::FocalData
protected

Definition at line 139 of file vtkPointHandleRepresentationSphere.h.

◆ FocalPoint

vtkPoints* vtkPointHandleRepresentationSphere::FocalPoint
protected

Definition at line 140 of file vtkPointHandleRepresentationSphere.h.

◆ LastPickPosition

double vtkPointHandleRepresentationSphere::LastPickPosition[3]
protected

Definition at line 143 of file vtkPointHandleRepresentationSphere.h.

◆ LastEventPosition

double vtkPointHandleRepresentationSphere::LastEventPosition[2]
protected

Definition at line 144 of file vtkPointHandleRepresentationSphere.h.

◆ ConstraintAxis

int vtkPointHandleRepresentationSphere::ConstraintAxis
protected

Definition at line 147 of file vtkPointHandleRepresentationSphere.h.

◆ AddCircleAroundSphere

int vtkPointHandleRepresentationSphere::AddCircleAroundSphere
protected

Definition at line 152 of file vtkPointHandleRepresentationSphere.h.

◆ DiskActor

vtkActor* vtkPointHandleRepresentationSphere::DiskActor
protected

Definition at line 153 of file vtkPointHandleRepresentationSphere.h.

◆ DiskMapper

vtkPolyDataMapper* vtkPointHandleRepresentationSphere::DiskMapper
protected

Definition at line 154 of file vtkPointHandleRepresentationSphere.h.

◆ DiskGlypher

vtkGlyph3D* vtkPointHandleRepresentationSphere::DiskGlypher
protected

Definition at line 155 of file vtkPointHandleRepresentationSphere.h.

◆ Property

vtkProperty* vtkPointHandleRepresentationSphere::Property
protected

Definition at line 160 of file vtkPointHandleRepresentationSphere.h.

◆ SelectedProperty

vtkProperty* vtkPointHandleRepresentationSphere::SelectedProperty
protected

Definition at line 161 of file vtkPointHandleRepresentationSphere.h.

◆ WaitingForMotion

int vtkPointHandleRepresentationSphere::WaitingForMotion
protected

Definition at line 166 of file vtkPointHandleRepresentationSphere.h.

◆ WaitCount

int vtkPointHandleRepresentationSphere::WaitCount
protected

Definition at line 167 of file vtkPointHandleRepresentationSphere.h.

◆ Scalar

double vtkPointHandleRepresentationSphere::Scalar
protected

Definition at line 169 of file vtkPointHandleRepresentationSphere.h.


The documentation for this class was generated from the following file: