84 #ifndef __svkAreaPicker_h
85 #define __svkAreaPicker_h
87 #include "vtkAbstractPropPicker.h"
93 class vtkProp3DCollection;
94 class vtkAbstractMapper3D;
96 class vtkExtractSelectedFrustum;
105 void PrintSelf(ostream& os, vtkIndent indent);
109 void SetPickCoords(
double x0,
double y0,
double x1,
double y1);
113 void SetRenderer(vtkRenderer *);
123 virtual int AreaPick(
double x0,
double y0,
double x1,
double y1, vtkRenderer *renderer = NULL);
129 virtual int Pick(
double x0,
double y0,
double vtkNotUsed(z0), vtkRenderer *renderer = NULL)
130 {
return this->AreaPick(x0, y0, x0+1.0, y0+1.0, renderer);};
134 vtkGetObjectMacro(Mapper,vtkAbstractMapper3D);
139 vtkGetObjectMacro(DataSet,vtkDataSet);
150 vtkGetObjectMacro(Frustum, vtkPlanes);
154 vtkGetObjectMacro(ClipPoints, vtkPoints);
160 virtual void Initialize();
161 void DefineFrustum(
double x0,
double y0,
double x1,
double y1, vtkRenderer *renderer);
162 virtual int PickProps(vtkRenderer *renderer);
163 int TypeDecipher(vtkProp *, vtkImageActor **, vtkAbstractMapper3D **);
165 int ABoxFrustumIsect(
double bounds[],
double &mindist);
double Y1
Definition: svkAreaPicker.h:180
vtkPlanes * Frustum
Definition: svkAreaPicker.h:168
Definition: svkAreaPicker.h:100
vtkDataSet * DataSet
Definition: svkAreaPicker.h:172
vtkProp3DCollection * GetProp3Ds()
Definition: svkAreaPicker.h:144
vtkProp3DCollection * Prop3Ds
Definition: svkAreaPicker.h:170
double X0
Definition: svkAreaPicker.h:177
double X1
Definition: svkAreaPicker.h:179
vtkExtractSelectedFrustum * FrustumExtractor
Definition: svkAreaPicker.h:175
double Y0
Definition: svkAreaPicker.h:178
vtkAbstractMapper3D * Mapper
Definition: svkAreaPicker.h:171
vtkPoints * ClipPoints
Definition: svkAreaPicker.h:167
virtual int Pick(double x0, double y0, double vtkNotUsed(z0), vtkRenderer *renderer=NULL)
Definition: svkAreaPicker.h:129