38 #ifndef __vtkExtractSelectedFrustum_h
39 #define __vtkExtractSelectedFrustum_h
41 #include "vtkFiltersExtractionModule.h"
46 class vtkInformationVector;
56 void PrintSelf(ostream& os, vtkIndent indent);
59 unsigned long GetMTime();
63 virtual void SetFrustum(vtkPlanes*);
64 vtkGetObjectMacro(Frustum,vtkPlanes);
71 void CreateFrustum(
double vertices[32]);
76 vtkGetObjectMacro(ClipPoints, vtkPoints);
81 vtkSetMacro(FieldType,
int);
82 vtkGetMacro(FieldType,
int);
88 vtkSetMacro(ContainingCells,
int);
89 vtkGetMacro(ContainingCells,
int);
93 int OverallBoundsTest(
double *bounds);
98 vtkSetMacro(ShowBounds,
int);
99 vtkGetMacro(ShowBounds,
int);
100 vtkBooleanMacro(ShowBounds,
int);
105 vtkSetMacro(InsideOut,
int);
106 vtkGetMacro(InsideOut,
int);
107 vtkBooleanMacro(InsideOut,
int);
116 vtkInformationVector** inputVector,
117 vtkInformationVector* outputVector);
121 vtkInformationVector **, vtkInformationVector *);
122 int ABoxFrustumIsect(
double bounds[], vtkCell *cell);
123 int FrustumClipPolygon(
int nverts,
124 double *ivlist,
double *wvlist,
double *ovlist);
125 void PlaneClipPolygon(
int nverts,
double *ivlist,
126 int pid,
int &noverts,
double *ovlist);
127 void PlaneClipEdge(
double *V0,
double *V1,
128 int pid,
int &noverts,
double *overts);
129 int IsectDegenerateCell(vtkCell *cell);
133 void ComputePlane(
int idx,
134 double v0[3],
double v1[2],
double v2[3],
135 vtkPoints *points, vtkDoubleArray *norms);
144 int np_vertids[6][2];
vtksys_stl::pair< boost::graph_traits< vtkGraph * >::vertex_iterator, boost::graph_traits< vtkGraph * >::vertex_iterator > vertices(vtkGraph *g)
static vtkDataObjectAlgorithm * New()
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)