A widget to manipulate an axe.
More...
#include <vtkPVAxesWidget.h>
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 vtkPVAxesActor * | GetAxesActor () |
|
| void | SetParentRenderer (vtkRenderer *ren) |
| vtkRenderer * | GetParentRenderer () |
|
| void | SetInteractive (int state) |
| virtual int | GetInteractive () |
| virtual void | InteractiveOn () |
| virtual void | InteractiveOff () |
|
| void | SetOutlineColor (double r, double g, double b) |
| double * | GetOutlineColor () |
|
| void | SetAxisLabelColor (double r, double g, double b) |
| double * | GetAxisLabelColor () |
|
| void | SetViewport (double minX, double minY, double maxX, double maxY) |
| double * | GetViewport () |
Static Public Member Functions |
| static vtkPVAxesWidget * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkPVAxesWidget * | SafeDownCast (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 |
| vtkRenderer * | Renderer |
| vtkRenderer * | ParentRenderer |
| vtkPVAxesActor * | AxesActor |
| vtkPolyData * | Outline |
| vtkActor2D * | OutlineActor |
| 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
| virtual const char* vtkPVAxesWidget::GetClassName |
( |
| ) |
[virtual] |
| static int vtkPVAxesWidget::IsTypeOf |
( |
const char * |
type | ) |
[static] |
| virtual int vtkPVAxesWidget::IsA |
( |
const char * |
type | ) |
[virtual] |
| void vtkPVAxesWidget::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| [virtual] |
Set/get the axes actor to be displayed in this 3D widget.
Set/get the axes actor to be displayed in this 3D widget.
| virtual void vtkPVAxesWidget::SetEnabled |
( |
int |
| ) |
[virtual] |
| void vtkPVAxesWidget::SetParentRenderer |
( |
vtkRenderer * |
ren | ) |
|
Set the renderer this 3D widget will be contained in.
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.
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.
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.
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] |
| 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
The documentation for this class was generated from the following file: