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