dox/Rendering/vtkPropPicker.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00039
#ifndef __vtkPropPicker_h
00040
#define __vtkPropPicker_h
00041
00042
#include "vtkAbstractPropPicker.h"
00043
00044
class vtkProp;
00045
class vtkWorldPointPicker;
00046
00047 class VTK_RENDERING_EXPORT vtkPropPicker :
public vtkAbstractPropPicker
00048 {
00049
public:
00050
static vtkPropPicker *
New();
00051
00052 vtkTypeRevisionMacro(vtkPropPicker,
vtkAbstractPropPicker);
00053
void PrintSelf(ostream& os,
vtkIndent indent);
00054
00059
int PickProp(
float selectionX,
float selectionY,
vtkRenderer *renderer);
00060
00062
00064
int PickProp(
float selectionX,
float selectionY,
vtkRenderer *renderer,
00065
vtkPropCollection* pickfrom);
00067
00069
00070
int Pick(
float selectionX,
float selectionY,
float selectionZ,
00071
vtkRenderer *renderer);
00072 int Pick(
float selectionPt[3],
vtkRenderer *renderer)
00073 {
return this->
Pick( selectionPt[0],
00074 selectionPt[1], selectionPt[2], renderer); };
00076
00077
protected:
00078 vtkPropPicker();
00079 ~vtkPropPicker();
00080
00081
void Initialize();
00082
00083 vtkPropCollection* PickFromProps;
00084
00085
00086 vtkWorldPointPicker *WorldPointPicker;
00087
private:
00088 vtkPropPicker(
const vtkPropPicker&);
00089
void operator=(
const vtkPropPicker&);
00090 };
00091
00092
#endif
00093
00094