dox/Filtering/vtkScalarTree.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00038
#ifndef __vtkScalarTree_h
00039
#define __vtkScalarTree_h
00040
00041
#include "vtkObject.h"
00042
00043
class vtkCell;
00044
class vtkDataArray;
00045
class vtkDataSet;
00046
class vtkIdList;
00047
class vtkTimeStamp;
00048
00049 class VTK_FILTERING_EXPORT vtkScalarTree :
public vtkObject
00050 {
00051
public:
00052 vtkTypeRevisionMacro(vtkScalarTree,
vtkObject);
00053
void PrintSelf(ostream& os,
vtkIndent indent);
00054
00056
00057
virtual void SetDataSet(
vtkDataSet*);
00058 vtkGetObjectMacro(DataSet,
vtkDataSet);
00060
00064
virtual void BuildTree() = 0;
00065
00067
virtual void Initialize() = 0;
00068
00071
virtual void InitTraversal(
float scalarValue) = 0;
00072
00074
00078
virtual vtkCell *GetNextCell(
vtkIdType &cellId,
vtkIdList* &ptIds,
00079
vtkDataArray *cellScalars) = 0;
00081
00082
protected:
00083 vtkScalarTree();
00084 ~vtkScalarTree();
00085
00086 vtkDataSet *DataSet;
00087 vtkDataArray *Scalars;
00088
00089 vtkTimeStamp BuildTime;
00090 float ScalarValue;
00091
00092
private:
00093 vtkScalarTree(
const vtkScalarTree&);
00094
void operator=(
const vtkScalarTree&);
00095 };
00096
00097
#endif
00098
00099