Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
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
00050 #ifndef __vtkPropPicker_h
00051 #define __vtkPropPicker_h
00052
00053 #include "vtkAbstractPropPicker.h"
00054
00055 class vtkProp;
00056 class vtkWorldPointPicker;
00057
00058 class VTK_RENDERING_EXPORT vtkPropPicker : public vtkAbstractPropPicker
00059 {
00060 public:
00061 static vtkPropPicker *New();
00062
00063 vtkTypeRevisionMacro(vtkPropPicker,vtkAbstractPropPicker);
00064 void PrintSelf(ostream& os, vtkIndent indent);
00065
00070 int PickProp(float selectionX, float selectionY, vtkRenderer *renderer);
00071
00073
00075 int PickProp(float selectionX, float selectionY, vtkRenderer *renderer,
00076 vtkPropCollection* pickfrom);
00078
00080
00081 int Pick(float selectionX, float selectionY, float selectionZ,
00082 vtkRenderer *renderer);
00083 int Pick(float selectionPt[3], vtkRenderer *renderer)
00084 { return this->Pick( selectionPt[0],
00085 selectionPt[1], selectionPt[2], renderer); };
00087
00088 protected:
00089 vtkPropPicker();
00090 ~vtkPropPicker();
00091
00092 void Initialize();
00093
00094 vtkPropCollection* PickFromProps;
00095
00096
00097 vtkWorldPointPicker *WorldPointPicker;
00098 private:
00099 vtkPropPicker(const vtkPropPicker&);
00100 void operator=(const vtkPropPicker&);
00101 };
00102
00103 #endif
00104
00105