Common/vtkHierarchicalBoxDataSet.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00034 #ifndef __vtkHierarchicalBoxDataSet_h
00035 #define __vtkHierarchicalBoxDataSet_h
00036
00037 #include "vtkHierarchicalDataSet.h"
00038
00039
00040 struct vtkHierarchicalBoxDataSetInternal;
00041
00042 class vtkDataObject;
00043 class vtkUniformGrid;
00044 class vtkAMRBox;
00045
00046 class VTK_COMMON_EXPORT vtkHierarchicalBoxDataSet : public vtkHierarchicalDataSet
00047 {
00048 public:
00049 static vtkHierarchicalBoxDataSet *New();
00050
00051 vtkTypeRevisionMacro(vtkHierarchicalBoxDataSet,vtkHierarchicalDataSet);
00052 void PrintSelf(ostream& os, vtkIndent indent);
00053
00055 virtual vtkCompositeDataVisitor* NewVisitor();
00056
00059 virtual int GetDataObjectType() {return VTK_HIERARCHICAL_BOX_DATA_SET;}
00060
00061
00063
00066 void SetDataSet(unsigned int level,
00067 unsigned int id,
00068 vtkAMRBox& box,
00069 vtkUniformGrid* dataSet);
00071
00073
00074 vtkUniformGrid* GetDataSet(unsigned int level,
00075 unsigned int id,
00076 vtkAMRBox& box);
00078
00079 vtkDataObject* GetDataSet(unsigned int level, unsigned int id)
00080 { return this->Superclass::GetDataSet(level, id); }
00081
00083 void SetRefinementRatio(unsigned int level, int refRatio);
00084
00086 void GenerateVisibilityArrays();
00087
00089
00090 virtual void ShallowCopy(vtkDataObject *src);
00091 virtual void DeepCopy(vtkDataObject *src);
00093
00094 protected:
00095 vtkHierarchicalBoxDataSet();
00096 ~vtkHierarchicalBoxDataSet();
00097
00098 virtual vtkHDSNode* NewNode();
00099
00100 vtkHierarchicalBoxDataSetInternal* BoxInternal;
00101
00102 private:
00103 vtkHierarchicalBoxDataSet(const vtkHierarchicalBoxDataSet&);
00104 void operator=(const vtkHierarchicalBoxDataSet&);
00105 };
00106
00107 #endif
00108