Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkInteractorStyleRubberBandZoom Class Reference

#include <vtkInteractorStyleRubberBandZoom.h>

Inheritance diagram for vtkInteractorStyleRubberBandZoom:

Inheritance graph
[legend]
Collaboration diagram for vtkInteractorStyleRubberBandZoom:

Collaboration graph
[legend]
List of all members.

Detailed Description

zoom in by amount indicated by rubber band box

This interactor style allows the user to draw a rectangle in the render window using the left mouse button. When the mouse button is released, the current camera zooms by an amount determined from the shorter side of the drawn rectangle.

Tests:
vtkInteractorStyleRubberBandZoom (Tests)

Definition at line 34 of file vtkInteractorStyleRubberBandZoom.h.

Public Types

typedef vtkInteractorStyle Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void OnMouseMove ()
virtual void OnLeftButtonDown ()
virtual void OnLeftButtonUp ()

Static Public Member Functions

static vtkInteractorStyleRubberBandZoomNew ()
static int IsTypeOf (const char *type)
static vtkInteractorStyleRubberBandZoomSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkInteractorStyleRubberBandZoom ()
 ~vtkInteractorStyleRubberBandZoom ()
virtual void Zoom ()

Protected Attributes

int StartPosition [2]
int EndPosition [2]
int Moving
vtkUnsignedCharArrayPixelArray


Member Typedef Documentation

typedef vtkInteractorStyle vtkInteractorStyleRubberBandZoom::Superclass
 

Reimplemented from vtkInteractorStyle.

Definition at line 38 of file vtkInteractorStyleRubberBandZoom.h.


Constructor & Destructor Documentation

vtkInteractorStyleRubberBandZoom::vtkInteractorStyleRubberBandZoom  )  [protected]
 

vtkInteractorStyleRubberBandZoom::~vtkInteractorStyleRubberBandZoom  )  [protected]
 


Member Function Documentation

static vtkInteractorStyleRubberBandZoom* vtkInteractorStyleRubberBandZoom::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* vtkInteractorStyleRubberBandZoom::GetClassName  )  [virtual]
 

Reimplemented from vtkInteractorStyle.

static int vtkInteractorStyleRubberBandZoom::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkInteractorStyle.

virtual int vtkInteractorStyleRubberBandZoom::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkInteractorStyle.

static vtkInteractorStyleRubberBandZoom* vtkInteractorStyleRubberBandZoom::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkInteractorStyle.

void vtkInteractorStyleRubberBandZoom::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.

virtual void vtkInteractorStyleRubberBandZoom::OnMouseMove  )  [virtual]
 

Event bindings

Reimplemented from vtkInteractorStyle.

virtual void vtkInteractorStyleRubberBandZoom::OnLeftButtonDown  )  [virtual]
 

Generic event bindings must be overridden in subclasses

Reimplemented from vtkInteractorStyle.

virtual void vtkInteractorStyleRubberBandZoom::OnLeftButtonUp  )  [virtual]
 

Generic event bindings must be overridden in subclasses

Reimplemented from vtkInteractorStyle.

virtual void vtkInteractorStyleRubberBandZoom::Zoom  )  [protected, virtual]
 

OnTimer calls Rotate, Rotate etc which should be overridden by style subclasses.

Reimplemented from vtkInteractorStyle.


Member Data Documentation

int vtkInteractorStyleRubberBandZoom::StartPosition[2] [protected]
 

Definition at line 54 of file vtkInteractorStyleRubberBandZoom.h.

int vtkInteractorStyleRubberBandZoom::EndPosition[2] [protected]
 

Definition at line 55 of file vtkInteractorStyleRubberBandZoom.h.

int vtkInteractorStyleRubberBandZoom::Moving [protected]
 

Definition at line 57 of file vtkInteractorStyleRubberBandZoom.h.

vtkUnsignedCharArray* vtkInteractorStyleRubberBandZoom::PixelArray [protected]
 

Definition at line 59 of file vtkInteractorStyleRubberBandZoom.h.


The documentation for this class was generated from the following file:
Generated on Mon Jan 21 23:57:01 2008 for VTK by  doxygen 1.4.3-20050530