17 #ifndef _MITK_UNSTRUCTURED_GRID_H_
18 #define _MITK_UNSTRUCTURED_GRID_H_
21 #include "itkImageRegion.h"
24 class vtkUnstructuredGrid;
39 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
41 virtual
void SetVtkUnstructuredGrid(vtkUnstructuredGrid *grid,
unsigned int t = 0);
43 virtual vtkUnstructuredGrid *GetVtkUnstructuredGrid(
unsigned int t = 0);
45 virtual
void UpdateOutputInformation() override;
47 virtual
void SetRequestedRegionToLargestPossibleRegion() override;
49 virtual
bool RequestedRegionIsOutsideOfTheBufferedRegion() override;
51 virtual
bool VerifyRequestedRegion() override;
53 virtual
void SetRequestedRegion(const
itk::DataObject *data) override;
57 virtual
void Graft(const DataObject *data) override;
59 virtual
void CopyInformation(const
itk::DataObject *data) override;
61 virtual
void Update() override;
65 virtual
void Expand(
unsigned int timeSteps = 1) override;
67 const RegionType &GetLargestPossibleRegion()
const
69 m_LargestPossibleRegion.SetIndex(3, 0);
70 m_LargestPossibleRegion.SetSize(3, GetTimeGeometry()->CountTimeSteps());
71 return m_LargestPossibleRegion;
79 void CalculateBoundingBox();
92 virtual void ClearData()
override;
94 virtual void InitializeEmpty()
override;
bool m_CalculateBoundingBox
Base of all data objects.
#define MITKDATATYPESEXT_EXPORT
static void Update(vtkPolyData *)
DataCollection - Class to facilitate loading/accessing structured data.
VTKUnstructuredGridSeries m_GridSeries
itk::ImageRegion< 5 > RegionType
#define mitkClassMacro(className, SuperClassName)
#define mitkCloneMacro(classname)
RegionType m_LargestPossibleRegion
std::vector< vtkUnstructuredGrid * > VTKUnstructuredGridSeries
Class for storing unstructured grids (vtkUnstructuredGrid)
RegionType m_RequestedRegion
virtual const RegionType & GetRequestedRegion() const