VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkInteractorStyleRubberBandZoom Class Reference

zoom in by amount indicated by rubber band box More...

#include <vtkInteractorStyleRubberBandZoom.h>

Inherits vtkInteractorStyle.

Public Types

typedef vtkInteractorStyle Superclass
 

Public Member Functions

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

Static Public Member Functions

static
vtkInteractorStyleRubberBandZoom
New ()
 
static int IsTypeOf (const char *type)
 
static
vtkInteractorStyleRubberBandZoom
SafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkInteractorStyleRubberBandZoom ()
 
 ~vtkInteractorStyleRubberBandZoom ()
 
virtual void Zoom ()
 

Protected Attributes

int StartPosition [2]
 
int EndPosition [2]
 
int Moving
 
vtkUnsignedCharArray * PixelArray
 

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 35 of file vtkInteractorStyleRubberBandZoom.h.

Member Typedef Documentation

Definition at line 39 of file vtkInteractorStyleRubberBandZoom.h.

Constructor & Destructor Documentation

vtkInteractorStyleRubberBandZoom::vtkInteractorStyleRubberBandZoom ( )
protected
vtkInteractorStyleRubberBandZoom::~vtkInteractorStyleRubberBandZoom ( )
protected

Member Function Documentation

static vtkInteractorStyleRubberBandZoom* vtkInteractorStyleRubberBandZoom::New ( )
static
static int vtkInteractorStyleRubberBandZoom::IsTypeOf ( const char *  type)
static
virtual int vtkInteractorStyleRubberBandZoom::IsA ( const char *  type)
virtual
static vtkInteractorStyleRubberBandZoom* vtkInteractorStyleRubberBandZoom::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkInteractorStyleRubberBandZoom::NewInstanceInternal ( ) const
protectedvirtual
vtkInteractorStyleRubberBandZoom* vtkInteractorStyleRubberBandZoom::NewInstance ( ) const
void vtkInteractorStyleRubberBandZoom::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual void vtkInteractorStyleRubberBandZoom::OnMouseMove ( )
virtual

Event bindings

virtual void vtkInteractorStyleRubberBandZoom::OnLeftButtonDown ( )
virtual

Event bindings

virtual void vtkInteractorStyleRubberBandZoom::OnLeftButtonUp ( )
virtual

Event bindings

virtual void vtkInteractorStyleRubberBandZoom::Zoom ( )
protectedvirtual

Member Data Documentation

int vtkInteractorStyleRubberBandZoom::StartPosition[2]
protected

Definition at line 55 of file vtkInteractorStyleRubberBandZoom.h.

int vtkInteractorStyleRubberBandZoom::EndPosition[2]
protected

Definition at line 56 of file vtkInteractorStyleRubberBandZoom.h.

int vtkInteractorStyleRubberBandZoom::Moving
protected

Definition at line 58 of file vtkInteractorStyleRubberBandZoom.h.

vtkUnsignedCharArray* vtkInteractorStyleRubberBandZoom::PixelArray
protected

Definition at line 60 of file vtkInteractorStyleRubberBandZoom.h.


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