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

vtkPickLineWidget Class Reference

A point widget with pick ability. More...

#include <vtkPickLineWidget.h>

Collaboration diagram for vtkPickLineWidget:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vtkTypeRevisionMacro (vtkPickLineWidget, vtkLineWidget)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetEnabled (int)
void SetRenderModuleProxy (vtkSMRenderModuleProxy *rm)
virtual vtkSMRenderModuleProxyGetRenderModuleProxy ()

Static Public Member Functions

vtkPickLineWidgetNew ()

Protected Member Functions

 vtkPickLineWidget ()
 ~vtkPickLineWidget ()
virtual void OnChar ()

Static Protected Member Functions

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

Protected Attributes

vtkSMRenderModuleProxyRenderModuleProxy
int LastPicked

Detailed Description

A point widget with pick ability.

This is a subclass of vtkLineWidget that has key bindings for picking the ends of the line widget. I plan to have the first 'p' pick the end closest to the picked point, subsequent 'p' will toggle between the two ends. We could make a new widget that would continue to add line segments.

Definition at line 34 of file vtkPickLineWidget.h.


Constructor & Destructor Documentation

vtkPickLineWidget::vtkPickLineWidget  )  [protected]
 

vtkPickLineWidget::~vtkPickLineWidget  )  [protected]
 


Member Function Documentation

vtkPickLineWidget* vtkPickLineWidget::New  )  [static]
 

vtkPickLineWidget::vtkTypeRevisionMacro vtkPickLineWidget  ,
vtkLineWidget 
 

void vtkPickLineWidget::PrintSelf ostream &  os,
vtkIndent  indent
 

void vtkPickLineWidget::SetRenderModuleProxy vtkSMRenderModuleProxy rm  )  [inline]
 

The render module is for picking.

Definition at line 44 of file vtkPickLineWidget.h.

virtual vtkSMRenderModuleProxy* vtkPickLineWidget::GetRenderModuleProxy  )  [virtual]
 

The render module is for picking.

virtual void vtkPickLineWidget::SetEnabled int   )  [virtual]
 

We have to look for key press events too.

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

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


Member Data Documentation

vtkSMRenderModuleProxy* vtkPickLineWidget::RenderModuleProxy [protected]
 

Definition at line 56 of file vtkPickLineWidget.h.

int vtkPickLineWidget::LastPicked [protected]
 

Definition at line 67 of file vtkPickLineWidget.h.


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