ParaView
Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes
vtkPVAxesWidget Class Reference

A widget to manipulate an axe. More...

#include <vtkPVAxesWidget.h>

Inheritance diagram for vtkPVAxesWidget:
Inheritance graph
[legend]
Collaboration diagram for vtkPVAxesWidget:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetEnabled (int)
void ExecuteEvent (vtkObject *o, unsigned long event, void *calldata)
void SetAxesActor (vtkPVAxesActor *actor)
virtual vtkPVAxesActorGetAxesActor ()
void SetParentRenderer (vtkRenderer *ren)
vtkRendererGetParentRenderer ()
void SetInteractive (int state)
virtual int GetInteractive ()
virtual void InteractiveOn ()
virtual void InteractiveOff ()
void SetOutlineColor (double r, double g, double b)
doubleGetOutlineColor ()
void SetAxisLabelColor (double r, double g, double b)
doubleGetAxisLabelColor ()
void SetViewport (double minX, double minY, double maxX, double maxY)
doubleGetViewport ()

Static Public Member Functions

static vtkPVAxesWidgetNew ()
static int IsTypeOf (const char *type)
static vtkPVAxesWidgetSafeDownCast (vtkObject *o)

Protected Types

enum  AxesWidgetState {
  Outside = 0, Inside, TopLeft, TopRight,
  BottomLeft, BottomRight
}

Protected Member Functions

 vtkPVAxesWidget ()
 ~vtkPVAxesWidget ()
void UpdateCursorIcon ()
void SetMouseCursor (int cursorState)
void OnButtonPress ()
void OnMouseMove ()
void OnButtonRelease ()
void MoveWidget ()
void ResizeTopLeft ()
void ResizeTopRight ()
void ResizeBottomLeft ()
void ResizeBottomRight ()
void SquareRenderer ()

Static Protected Member Functions

static void ProcessEvents (vtkObject *object, unsigned long event, void *clientdata, void *calldata)

Protected Attributes

vtkRendererRenderer
vtkRendererParentRenderer
vtkPVAxesActorAxesActor
vtkPolyDataOutline
vtkActor2DOutlineActor
vtkPVAxesWidgetObserver * Observer
int StartTag
int MouseCursorState
int Moving
int StartPosition [2]
int Interactive
int State
unsigned long StartEventObserverId

Detailed Description

A widget to manipulate an axe.

This widget creates and manages its own vtkPVAxesActor.

Definition at line 34 of file vtkPVAxesWidget.h.


Member Enumeration Documentation

Enumerator:
Outside 
Inside 
TopLeft 
TopRight 
BottomLeft 
BottomRight 

Definition at line 118 of file vtkPVAxesWidget.h.


Constructor & Destructor Documentation

vtkPVAxesWidget::vtkPVAxesWidget ( ) [protected]
vtkPVAxesWidget::~vtkPVAxesWidget ( ) [protected]

Member Function Documentation

static vtkPVAxesWidget* vtkPVAxesWidget::New ( ) [static]

Reimplemented from vtkObject.

virtual const char* vtkPVAxesWidget::GetClassName ( ) [virtual]

Reimplemented from vtkInteractorObserver.

static int vtkPVAxesWidget::IsTypeOf ( const char *  type) [static]

Reimplemented from vtkInteractorObserver.

virtual int vtkPVAxesWidget::IsA ( const char *  type) [virtual]

Reimplemented from vtkInteractorObserver.

static vtkPVAxesWidget* vtkPVAxesWidget::SafeDownCast ( vtkObject o) [static]

Reimplemented from vtkInteractorObserver.

void vtkPVAxesWidget::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkInteractorObserver.

void vtkPVAxesWidget::SetAxesActor ( vtkPVAxesActor actor)

Set/get the axes actor to be displayed in this 3D widget.

virtual vtkPVAxesActor* vtkPVAxesWidget::GetAxesActor ( ) [virtual]

Set/get the axes actor to be displayed in this 3D widget.

virtual void vtkPVAxesWidget::SetEnabled ( int  ) [virtual]

Enable the 3D widget.

Reimplemented from vtkInteractorObserver.

void vtkPVAxesWidget::SetParentRenderer ( vtkRenderer ren)

Set the renderer this 3D widget will be contained in.

vtkRenderer* vtkPVAxesWidget::GetParentRenderer ( )

Set the renderer this 3D widget will be contained in.

void vtkPVAxesWidget::ExecuteEvent ( vtkObject o,
unsigned long  event,
void *  calldata 
)

Callback to keep the camera for the axes actor up to date with the camera in the parent renderer

void vtkPVAxesWidget::SetInteractive ( int  state)

Set/get whether to allow this 3D widget to be interactively moved/scaled.

virtual int vtkPVAxesWidget::GetInteractive ( ) [virtual]

Set/get whether to allow this 3D widget to be interactively moved/scaled.

virtual void vtkPVAxesWidget::InteractiveOn ( ) [virtual]

Set/get whether to allow this 3D widget to be interactively moved/scaled.

virtual void vtkPVAxesWidget::InteractiveOff ( ) [virtual]

Set/get whether to allow this 3D widget to be interactively moved/scaled.

void vtkPVAxesWidget::SetOutlineColor ( double  r,
double  g,
double  b 
)

Set/get the color of the outline of this widget. The outline is visible when (in interactive mode) the cursor is over this 3D widget.

double* vtkPVAxesWidget::GetOutlineColor ( )

Set/get the color of the outline of this widget. The outline is visible when (in interactive mode) the cursor is over this 3D widget.

void vtkPVAxesWidget::SetAxisLabelColor ( double  r,
double  g,
double  b 
)

Set/get the color of the axis labels of this widget.

double* vtkPVAxesWidget::GetAxisLabelColor ( )

Set/get the color of the axis labels of this widget.

void vtkPVAxesWidget::SetViewport ( double  minX,
double  minY,
double  maxX,
double  maxY 
)

Set/get the viewport to position/size this 3D widget.

double* vtkPVAxesWidget::GetViewport ( )

Set/get the viewport to position/size this 3D widget.

static void vtkPVAxesWidget::ProcessEvents ( vtkObject object,
unsigned long  event,
void *  clientdata,
void *  calldata 
) [static, protected]

Reimplemented from vtkInteractorObserver.

void vtkPVAxesWidget::UpdateCursorIcon ( ) [protected]
void vtkPVAxesWidget::SetMouseCursor ( int  cursorState) [protected]
void vtkPVAxesWidget::OnButtonPress ( ) [protected]
void vtkPVAxesWidget::OnMouseMove ( ) [protected]
void vtkPVAxesWidget::OnButtonRelease ( ) [protected]
void vtkPVAxesWidget::MoveWidget ( ) [protected]
void vtkPVAxesWidget::ResizeTopLeft ( ) [protected]
void vtkPVAxesWidget::ResizeTopRight ( ) [protected]
void vtkPVAxesWidget::ResizeBottomLeft ( ) [protected]
void vtkPVAxesWidget::ResizeBottomRight ( ) [protected]
void vtkPVAxesWidget::SquareRenderer ( ) [protected]

Member Data Documentation

Definition at line 94 of file vtkPVAxesWidget.h.

Definition at line 95 of file vtkPVAxesWidget.h.

Definition at line 97 of file vtkPVAxesWidget.h.

Definition at line 98 of file vtkPVAxesWidget.h.

Definition at line 99 of file vtkPVAxesWidget.h.

vtkPVAxesWidgetObserver* vtkPVAxesWidget::Observer [protected]

Definition at line 104 of file vtkPVAxesWidget.h.

Definition at line 105 of file vtkPVAxesWidget.h.

Definition at line 107 of file vtkPVAxesWidget.h.

Definition at line 108 of file vtkPVAxesWidget.h.

Definition at line 109 of file vtkPVAxesWidget.h.

Definition at line 111 of file vtkPVAxesWidget.h.

Definition at line 116 of file vtkPVAxesWidget.h.

unsigned long vtkPVAxesWidget::StartEventObserverId [protected]

Definition at line 140 of file vtkPVAxesWidget.h.


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