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

vtkPickSphereWidget Class Reference

A point widget with pick ability. More...

#include <vtkPickSphereWidget.h>

Collaboration diagram for vtkPickSphereWidget:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vtkTypeRevisionMacro (vtkPickSphereWidget, vtkSphereWidget)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void PlaceWidget (double bounds[6])
void PlaceWidget ()
void PlaceWidget (double xmin, double xmax, double ymin, double ymax, double zmin, double zmax)
virtual void SetEnabled (int)
virtual void SetMouseControlToggle (int)
virtual int GetMouseControlToggle ()
void SetRenderModuleProxy (vtkSMRenderModuleProxy *rm)
virtual vtkSMRenderModuleProxyGetRenderModuleProxy ()

Static Public Member Functions

vtkPickSphereWidgetNew ()

Protected Member Functions

 vtkPickSphereWidget ()
 ~vtkPickSphereWidget ()
virtual void OnChar ()
virtual void OnMouseMove ()
virtual void OnRightButtonDown ()
virtual void OnLeftButtonDown ()
void PickInternal (int x, int y)

Static Protected Member Functions

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

Protected Attributes

vtkSMRenderModuleProxyRenderModuleProxy
double PrevPickedPoint [4]
int MouseControlToggle

Detailed Description

A point widget with pick ability.

This is a subclass of vtkBoxWidget that has different bindings for paraview. Shift left causes to pick using a z buffer. Right causes moving in and out of the window.

What I want in the future is: Left pick new center moves point in view plane. Left pick on axis (away from center) moves constrained to axis. Shift left causes pick with zbuffer.

Definition at line 37 of file vtkPickSphereWidget.h.


Constructor & Destructor Documentation

vtkPickSphereWidget::vtkPickSphereWidget  )  [protected]
 

vtkPickSphereWidget::~vtkPickSphereWidget  )  [protected]
 


Member Function Documentation

vtkPickSphereWidget* vtkPickSphereWidget::New  )  [static]
 

vtkPickSphereWidget::vtkTypeRevisionMacro vtkPickSphereWidget  ,
vtkSphereWidget 
 

void vtkPickSphereWidget::PrintSelf ostream &  os,
vtkIndent  indent
 

virtual void vtkPickSphereWidget::PlaceWidget double  bounds[6]  )  [virtual]
 

void vtkPickSphereWidget::PlaceWidget  )  [inline]
 

Definition at line 46 of file vtkPickSphereWidget.h.

void vtkPickSphereWidget::PlaceWidget double  xmin,
double  xmax,
double  ymin,
double  ymax,
double  zmin,
double  zmax
[inline]
 

Definition at line 48 of file vtkPickSphereWidget.h.

void vtkPickSphereWidget::SetRenderModuleProxy vtkSMRenderModuleProxy rm  )  [inline]
 

The render module is for picking.

Definition at line 54 of file vtkPickSphereWidget.h.

virtual vtkSMRenderModuleProxy* vtkPickSphereWidget::GetRenderModuleProxy  )  [virtual]
 

The render module is for picking.

virtual void vtkPickSphereWidget::SetEnabled int   )  [virtual]
 

We have to look for key press events too.

virtual void vtkPickSphereWidget::SetMouseControlToggle int   )  [virtual]
 

virtual int vtkPickSphereWidget::GetMouseControlToggle  )  [virtual]
 

virtual void vtkPickSphereWidget::OnChar  )  [protected, virtual]
 

virtual void vtkPickSphereWidget::OnMouseMove  )  [protected, virtual]
 

virtual void vtkPickSphereWidget::OnRightButtonDown  )  [protected, virtual]
 

virtual void vtkPickSphereWidget::OnLeftButtonDown  )  [protected, virtual]
 

void vtkPickSphereWidget::PickInternal int  x,
int  y
[protected]
 

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


Member Data Documentation

vtkSMRenderModuleProxy* vtkPickSphereWidget::RenderModuleProxy [protected]
 

Definition at line 70 of file vtkPickSphereWidget.h.

double vtkPickSphereWidget::PrevPickedPoint[4] [protected]
 

Definition at line 85 of file vtkPickSphereWidget.h.

int vtkPickSphereWidget::MouseControlToggle [protected]
 

Definition at line 87 of file vtkPickSphereWidget.h.


The documentation for this class was generated from the following file:
Generated on Tue May 30 12:41:23 2006 for ParaView by doxygen 1.3.5