Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkInteractorStyleTrackballActor Class Reference

Manipulation of an implicit plane. More...

#include <vtkInteractorStyleTrackballActor.h>

Inheritance diagram for vtkInteractorStyleTrackballActor:

Inheritance graph
[legend]
Collaboration diagram for vtkInteractorStyleTrackballActor:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void OnMouseMove (int ctrl, int shift, int x, int y)
void OnLeftButtonDown (int ctrl, int shift, int x, int y)
void OnLeftButtonUp (int ctrl, int shift, int x, int y)
void OnMiddleButtonDown (int ctrl, int shift, int x, int y)
void OnMiddleButtonUp (int ctrl, int shift, int x, int y)
void OnRightButtonDown (int ctrl, int shift, int x, int y)
void OnRightButtonUp (int ctrl, int shift, int x, int y)

Static Public Methods

vtkInteractorStyleTrackballActor * New ()
int IsTypeOf (const char *type)
vtkInteractorStyleTrackballActor * SafeDownCast (vtkObject *o)

Protected Methods

 vtkInteractorStyleTrackballActor ()
 ~vtkInteractorStyleTrackballActor ()
 vtkInteractorStyleTrackballActor (const vtkInteractorStyleTrackballActor &)
void operator= (const vtkInteractorStyleTrackballActor &)
void RotateXY (int x, int y, int oldX, int oldY)
void PanXY (int x, int y, int oldX, int oldY)
void DollyXY (int dx, int dy)
void SpinXY (int dx, int dy, int oldX, int oldY)
void ScaleXY (int x, int y, int oldX, int oldY)
void FindPickedActor (int x, int y)
void Prop3DTransform (vtkProp3D *prop3D, double *boxCenter, int numRotation, double **rotate, double *scale)
void Prop3DTransform (vtkProp3D *prop3D, float *boxCenter, int NumRotation, double **rotate, double *scale)

Protected Attributes

int State
float MotionFactor
float RadianToDegree
vtkProp3DInteractionProp
double ViewUp [3]
double ViewLook [3]
double ViewRight [3]
float ObjCenter [3]
float DispObjCenter [3]
float Radius
float NewPickPoint [4]
float OldPickPoint [4]
float MotionVector [3]
double ViewPoint [3]
double ViewFocus [3]
vtkCellPickerInteractionPicker

Detailed Description

Manipulation of an implicit plane.

Date:
2000/12/10 20:08:41
Revision:
1.4

vtkInteractorStyleTrackballActor Allows interactive definition of a plane by manipulating a vtkPlane's parameters. The center of the plane is hot. The center provides rotation (left mouse button), XY translation relative to camera (middle), and translation along camera's view-plane normal (right).

Definition at line 68 of file vtkInteractorStyleTrackballActor.h.


Constructor & Destructor Documentation

vtkInteractorStyleTrackballActor::vtkInteractorStyleTrackballActor   [protected]
 

vtkInteractorStyleTrackballActor::~vtkInteractorStyleTrackballActor   [protected]
 

vtkInteractorStyleTrackballActor::vtkInteractorStyleTrackballActor const vtkInteractorStyleTrackballActor &    [inline, protected]
 

Definition at line 91 of file vtkInteractorStyleTrackballActor.h.


Member Function Documentation

vtkInteractorStyleTrackballActor* vtkInteractorStyleTrackballActor::New   [static]
 

This class must be supplied with a vtkRenderWindowInteractor wrapper or parent. This class should not normally be instantiated by application programmers.

Reimplemented from vtkInteractorStyle.

virtual const char* vtkInteractorStyleTrackballActor::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkInteractorStyle.

int vtkInteractorStyleTrackballActor::IsTypeOf const char *    type [static]
 

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkInteractorStyle.

virtual int vtkInteractorStyleTrackballActor::IsA const char *    type [virtual]
 

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkInteractorStyle.

vtkInteractorStyleTrackballActor* vtkInteractorStyleTrackballActor::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkInteractorStyle.

void vtkInteractorStyleTrackballActor::PrintSelf ostream &    os,
vtkIndent    indent
[virtual]
 

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkInteractorStyle.

void vtkInteractorStyleTrackballActor::OnMouseMove int    ctrl,
int    shift,
int    x,
int    y
[virtual]
 

Generic event bindings must be overridden in subclasses

Reimplemented from vtkInteractorStyle.

void vtkInteractorStyleTrackballActor::OnLeftButtonDown int    ctrl,
int    shift,
int    x,
int    y
[virtual]
 

Reimplemented from vtkInteractorStyle.

void vtkInteractorStyleTrackballActor::OnLeftButtonUp int    ctrl,
int    shift,
int    x,
int    y
[virtual]
 

Reimplemented from vtkInteractorStyle.

void vtkInteractorStyleTrackballActor::OnMiddleButtonDown int    ctrl,
int    shift,
int    x,
int    y
[virtual]
 

Reimplemented from vtkInteractorStyle.

void vtkInteractorStyleTrackballActor::OnMiddleButtonUp int    ctrl,
int    shift,
int    x,
int    y
[virtual]
 

Reimplemented from vtkInteractorStyle.

void vtkInteractorStyleTrackballActor::OnRightButtonDown int    ctrl,
int    shift,
int    x,
int    y
[virtual]
 

Reimplemented from vtkInteractorStyle.

void vtkInteractorStyleTrackballActor::OnRightButtonUp int    ctrl,
int    shift,
int    x,
int    y
[virtual]
 

Reimplemented from vtkInteractorStyle.

void vtkInteractorStyleTrackballActor::operator= const vtkInteractorStyleTrackballActor &    [inline, protected]
 

Definition at line 92 of file vtkInteractorStyleTrackballActor.h.

void vtkInteractorStyleTrackballActor::RotateXY int    x,
int    y,
int    oldX,
int    oldY
[protected]
 

void vtkInteractorStyleTrackballActor::PanXY int    x,
int    y,
int    oldX,
int    oldY
[protected]
 

void vtkInteractorStyleTrackballActor::DollyXY int    dx,
int    dy
[protected]
 

void vtkInteractorStyleTrackballActor::SpinXY int    dx,
int    dy,
int    oldX,
int    oldY
[protected]
 

void vtkInteractorStyleTrackballActor::ScaleXY int    x,
int    y,
int    oldX,
int    oldY
[protected]
 

void vtkInteractorStyleTrackballActor::FindPickedActor int    x,
int    y
[protected]
 

void vtkInteractorStyleTrackballActor::Prop3DTransform vtkProp3D   prop3D,
double *    boxCenter,
int    numRotation,
double **    rotate,
double *    scale
[protected]
 

void vtkInteractorStyleTrackballActor::Prop3DTransform vtkProp3D   prop3D,
float *    boxCenter,
int    NumRotation,
double **    rotate,
double *    scale
[protected]
 


Member Data Documentation

int vtkInteractorStyleTrackballActor::State [protected]
 

Reimplemented from vtkInteractorStyle.

Definition at line 107 of file vtkInteractorStyleTrackballActor.h.

float vtkInteractorStyleTrackballActor::MotionFactor [protected]
 

Definition at line 108 of file vtkInteractorStyleTrackballActor.h.

float vtkInteractorStyleTrackballActor::RadianToDegree [protected]
 

Definition at line 109 of file vtkInteractorStyleTrackballActor.h.

vtkProp3D* vtkInteractorStyleTrackballActor::InteractionProp [protected]
 

Definition at line 110 of file vtkInteractorStyleTrackballActor.h.

double vtkInteractorStyleTrackballActor::ViewUp[3] [protected]
 

Definition at line 111 of file vtkInteractorStyleTrackballActor.h.

double vtkInteractorStyleTrackballActor::ViewLook[3] [protected]
 

Definition at line 112 of file vtkInteractorStyleTrackballActor.h.

double vtkInteractorStyleTrackballActor::ViewRight[3] [protected]
 

Definition at line 113 of file vtkInteractorStyleTrackballActor.h.

float vtkInteractorStyleTrackballActor::ObjCenter[3] [protected]
 

Definition at line 114 of file vtkInteractorStyleTrackballActor.h.

float vtkInteractorStyleTrackballActor::DispObjCenter[3] [protected]
 

Definition at line 115 of file vtkInteractorStyleTrackballActor.h.

float vtkInteractorStyleTrackballActor::Radius [protected]
 

Definition at line 116 of file vtkInteractorStyleTrackballActor.h.

float vtkInteractorStyleTrackballActor::NewPickPoint[4] [protected]
 

Definition at line 117 of file vtkInteractorStyleTrackballActor.h.

float vtkInteractorStyleTrackballActor::OldPickPoint[4] [protected]
 

Definition at line 118 of file vtkInteractorStyleTrackballActor.h.

float vtkInteractorStyleTrackballActor::MotionVector[3] [protected]
 

Definition at line 119 of file vtkInteractorStyleTrackballActor.h.

double vtkInteractorStyleTrackballActor::ViewPoint[3] [protected]
 

Definition at line 120 of file vtkInteractorStyleTrackballActor.h.

double vtkInteractorStyleTrackballActor::ViewFocus[3] [protected]
 

Definition at line 121 of file vtkInteractorStyleTrackballActor.h.

vtkCellPicker* vtkInteractorStyleTrackballActor::InteractionPicker [protected]
 

Definition at line 123 of file vtkInteractorStyleTrackballActor.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:51:42 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001