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

vtkInteractorStyleTrackballCamera Class Reference

Manipulation of an implicit plane. More...

#include <vtkInteractorStyleTrackballCamera.h>

Inheritance diagram for vtkInteractorStyleTrackballCamera:

Inheritance graph
[legend]
Collaboration diagram for vtkInteractorStyleTrackballCamera:

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

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

Protected Methods

 vtkInteractorStyleTrackballCamera ()
 ~vtkInteractorStyleTrackballCamera ()
 vtkInteractorStyleTrackballCamera (const vtkInteractorStyleTrackballCamera &)
void operator= (const vtkInteractorStyleTrackballCamera &)
void RotateXY (int dx, int dy)
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)

Protected Attributes

int State
float MotionFactor
float RadianToDegree

Detailed Description

Manipulation of an implicit plane.

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

vtkInteractorStyleTrackballCamera 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 67 of file vtkInteractorStyleTrackballCamera.h.


Constructor & Destructor Documentation

vtkInteractorStyleTrackballCamera::vtkInteractorStyleTrackballCamera   [protected]
 

vtkInteractorStyleTrackballCamera::~vtkInteractorStyleTrackballCamera   [protected]
 

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

Definition at line 90 of file vtkInteractorStyleTrackballCamera.h.


Member Function Documentation

vtkInteractorStyleTrackballCamera* vtkInteractorStyleTrackballCamera::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* vtkInteractorStyleTrackballCamera::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 vtkInteractorStyleTrackballCamera::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 vtkInteractorStyleTrackballCamera::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.

vtkInteractorStyleTrackballCamera* vtkInteractorStyleTrackballCamera::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 vtkInteractorStyleTrackballCamera::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 vtkInteractorStyleTrackballCamera::OnMouseMove int    ctrl,
int    shift,
int    x,
int    y
[virtual]
 

Generic event bindings must be overridden in subclasses

Reimplemented from vtkInteractorStyle.

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

Reimplemented from vtkInteractorStyle.

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

Reimplemented from vtkInteractorStyle.

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

Reimplemented from vtkInteractorStyle.

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

Reimplemented from vtkInteractorStyle.

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

Reimplemented from vtkInteractorStyle.

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

Reimplemented from vtkInteractorStyle.

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

Definition at line 91 of file vtkInteractorStyleTrackballCamera.h.

void vtkInteractorStyleTrackballCamera::RotateXY int    dx,
int    dy
[protected]
 

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

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

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


Member Data Documentation

int vtkInteractorStyleTrackballCamera::State [protected]
 

Reimplemented from vtkInteractorStyle.

Definition at line 98 of file vtkInteractorStyleTrackballCamera.h.

float vtkInteractorStyleTrackballCamera::MotionFactor [protected]
 

Definition at line 99 of file vtkInteractorStyleTrackballCamera.h.

float vtkInteractorStyleTrackballCamera::RadianToDegree [protected]
 

Definition at line 100 of file vtkInteractorStyleTrackballCamera.h.


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