vtkHierarchicalBoxDataSet.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00040 #ifndef __vtkHierarchicalBoxDataSet_h
00041 #define __vtkHierarchicalBoxDataSet_h
00042
00043 #include "vtkHierarchicalDataSet.h"
00044
00045
00046 struct vtkHierarchicalBoxDataSetInternal;
00047
00048 class vtkDataObject;
00049 class vtkUniformGrid;
00050 class vtkAMRBox;
00051
00052 class VTK_FILTERING_EXPORT vtkHierarchicalBoxDataSet : public vtkHierarchicalDataSet
00053 {
00054 public:
00055 static vtkHierarchicalBoxDataSet *New();
00056
00057 vtkTypeRevisionMacro(vtkHierarchicalBoxDataSet,vtkHierarchicalDataSet);
00058 void PrintSelf(ostream& os, vtkIndent indent);
00059
00061 virtual vtkCompositeDataVisitor* NewVisitor();
00062
00065 virtual int GetDataObjectType() {return VTK_HIERARCHICAL_BOX_DATA_SET;}
00066
00067
00069
00072 void SetDataSet(unsigned int level,
00073 unsigned int id,
00074 vtkAMRBox& box,
00075 vtkUniformGrid* dataSet);
00077
00079
00080 vtkUniformGrid* GetDataSet(unsigned int level,
00081 unsigned int id,
00082 vtkAMRBox& box);
00084
00085 vtkDataObject* GetDataSet(unsigned int level, unsigned int id)
00086 { return this->Superclass::GetDataSet(level, id); }
00087
00089 void SetRefinementRatio(unsigned int level, int refRatio);
00090
00092 void GenerateVisibilityArrays();
00093
00095
00096 virtual void ShallowCopy(vtkDataObject *src);
00097 virtual void DeepCopy(vtkDataObject *src);
00099
00100 protected:
00101 vtkHierarchicalBoxDataSet();
00102 ~vtkHierarchicalBoxDataSet();
00103
00104 virtual vtkHDSNode* NewNode();
00105
00106 vtkHierarchicalBoxDataSetInternal* BoxInternal;
00107
00108 private:
00109 vtkHierarchicalBoxDataSet(const vtkHierarchicalBoxDataSet&);
00110 void operator=(const vtkHierarchicalBoxDataSet&);
00111 };
00112
00113 #endif
00114