SIVIC API  0.9.26
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
svkAreaPicker Class Reference

#include <svkAreaPicker.h>

Inheritance diagram for svkAreaPicker:

Public Member Functions

 vtkTypeMacro (svkAreaPicker, vtkAbstractPropPicker)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
void SetPickCoords (double x0, double y0, double x1, double y1)
 
void SetRenderer (vtkRenderer *)
 
virtual int Pick ()
 
virtual int AreaPick (double x0, double y0, double x1, double y1, vtkRenderer *renderer=NULL)
 
virtual int Pick (double x0, double y0, double vtkNotUsed(z0), vtkRenderer *renderer=NULL)
 
 vtkGetObjectMacro (Mapper, vtkAbstractMapper3D)
 
 vtkGetObjectMacro (DataSet, vtkDataSet)
 
vtkProp3DCollection * GetProp3Ds ()
 
 vtkGetObjectMacro (Frustum, vtkPlanes)
 
 vtkGetObjectMacro (ClipPoints, vtkPoints)
 

Static Public Member Functions

static svkAreaPickerNew ()
 

Protected Member Functions

 svkAreaPicker ()
 
 ~svkAreaPicker ()
 
virtual void Initialize ()
 
void DefineFrustum (double x0, double y0, double x1, double y1, vtkRenderer *renderer)
 
virtual int PickProps (vtkRenderer *renderer)
 
int TypeDecipher (vtkProp *, vtkImageActor **, vtkAbstractMapper3D **)
 
int ABoxFrustumIsect (double bounds[], double &mindist)
 

Protected Attributes

vtkPoints * ClipPoints
 
vtkPlanes * Frustum
 
vtkProp3DCollection * Prop3Ds
 
vtkAbstractMapper3D * Mapper
 
vtkDataSet * DataSet
 
vtkExtractSelectedFrustum * FrustumExtractor
 
double X0
 
double Y0
 
double X1
 
double Y1
 

Constructor & Destructor Documentation

svkAreaPicker ( )
protected
~svkAreaPicker ( )
protected

Member Function Documentation

int ABoxFrustumIsect ( double  bounds[],
double &  mindist 
)
protected

References Frustum, and FrustumExtractor.

Referenced by PickProps().

int AreaPick ( double  x0,
double  y0,
double  x1,
double  y1,
vtkRenderer *  renderer = NULL 
)
virtual

References DefineFrustum(), Initialize(), PickProps(), X0, X1, Y0, and Y1.

Referenced by Pick().

void DefineFrustum ( double  x0,
double  y0,
double  x1,
double  y1,
vtkRenderer *  renderer 
)
protected

References FrustumExtractor, X0, X1, Y0, and Y1.

Referenced by AreaPick().

vtkProp3DCollection* GetProp3Ds ( )
inline
void Initialize ( )
protectedvirtual

References Mapper, and Prop3Ds.

Referenced by AreaPick(), and PickProps().

static svkAreaPicker* New ( )
static
int Pick ( )
virtual

References AreaPick(), X0, X1, Y0, and Y1.

Referenced by PickProps().

virtual int Pick ( double  x0,
double  y0,
double   vtkNotUsedz0,
vtkRenderer *  renderer = NULL 
)
inlinevirtual
int PickProps ( vtkRenderer *  renderer)
protectedvirtual
void PrintSelf ( ostream &  os,
vtkIndent  indent 
)

References ClipPoints, DataSet, Frustum, and Mapper.

void SetPickCoords ( double  x0,
double  y0,
double  x1,
double  y1 
)

References X0, X1, Y0, and Y1.

void SetRenderer ( vtkRenderer *  renderer)
int TypeDecipher ( vtkProp *  propCandidate,
vtkImageActor **  imageActor,
vtkAbstractMapper3D **  mapper 
)
protected

Referenced by PickProps().

vtkGetObjectMacro ( Mapper  ,
vtkAbstractMapper3D   
)
vtkGetObjectMacro ( DataSet  ,
vtkDataSet   
)
vtkGetObjectMacro ( Frustum  ,
vtkPlanes   
)
vtkGetObjectMacro ( ClipPoints  ,
vtkPoints   
)
vtkTypeMacro ( svkAreaPicker  ,
vtkAbstractPropPicker   
)

Member Data Documentation

vtkPoints* ClipPoints
protected
vtkDataSet* DataSet
protected

Referenced by PickProps(), PrintSelf(), and svkAreaPicker().

vtkPlanes* Frustum
protected
vtkExtractSelectedFrustum* FrustumExtractor
protected
vtkAbstractMapper3D* Mapper
protected
vtkProp3DCollection* Prop3Ds
protected
double X0
protected
double X1
protected
double Y0
protected
double Y1
protected

The documentation for this class was generated from the following files: