142 #ifndef vtkMappedUnstructuredGrid_h 143 #define vtkMappedUnstructuredGrid_h 152 template <
class Implementation,
155 public vtkTypeTemplate<vtkMappedUnstructuredGrid<Implementation, CellIterator>,
156 vtkUnstructuredGridBase>
206 #include "vtkMappedUnstructuredGrid.txx" 212 #define vtkMakeExportedMappedUnstructuredGrid(_className, _impl, _exportDecl) \ 213 class _exportDecl _className : \ 214 public vtkMappedUnstructuredGrid<_impl> \ 217 vtkTypeMacro(_className, \ 218 vtkMappedUnstructuredGrid<_impl>) \ 219 static _className* New(); \ 223 _impl *i = _impl::New(); \ 224 this->SetImplementation(i); \ 229 _className(const _className&); \ 230 void operator=(const _className&); \ 233 #define vtkMakeExportedMappedUnstructuredGridWithIter(_className, _impl, _cIter, _exportDecl) \ 234 class _exportDecl _className : \ 235 public vtkMappedUnstructuredGrid<_impl, _cIter> \ 238 vtkTypeMacro(_className, \ 239 vtkMappedUnstructuredGrid<_impl, _cIter>) \ 240 static _className* New(); \ 244 _impl *i = _impl::New(); \ 245 this->SetImplementation(i); \ 250 _className(const _className&); \ 251 void operator=(const _className&); \ 256 #define vtkMakeExportedMappedUnstructuredGrid(_className, _impl, _exportDecl) \ 257 class _exportDecl _className : \ 258 public vtkUnstructuredGridBase \ 261 vtkTypeMacro(_className, vtkUnstructuredGridBase) \ 262 static _className* New(); \ 267 _className(const _className&); \ 268 void operator=(const _className&); \ 271 #define vtkMakeExportedMappedUnstructuredGridWithIter(_className, _impl, _cIter, _exportDecl) \ 272 class _exportDecl _className : \ 273 public vtkUnstructuredGridBase \ 276 vtkTypeMacro(_className, vtkUnstructuredGridBase) \ 277 static _className* New(); \ 282 _className(const _className&); \ 283 void operator=(const _className&); \ 288 #define vtkMakeMappedUnstructuredGrid(_className, _impl) \ 289 vtkMakeExportedMappedUnstructuredGrid(_className, _impl, ) 291 #define vtkMakeMappedUnstructuredGridWithIter(_className, _impl, _cIter, _exportDecl) \ 292 vtkMakeExportedMappedUnstructuredGridWithIter(_className, _impl, _cIter, ) 294 #endif //vtkMappedUnstructuredGrid_h GLsizei GLsizei GLenum GLenum const GLvoid * data
CellIterator CellIteratorType
Provides the equivalent of vtkTypeMacro for use with template classes.
void GetCellPoints(vtkIdType cellId, vtkIdList *ptIds)
GLuint GLuint GLsizei GLenum type
void CopyStructure(vtkDataSet *pd)
Default cell iterator for vtkMappedUnstructuredGrid.
abstract class to specify dataset behavior
void GetIdsOfCellsOfType(int type, vtkIdTypeArray *array)
vtkTypeTemplate< vtkMappedUnstructuredGrid< Implementation, CellIterator >, vtkUnstructuredGridBase > Superclass
dynamic, self-adjusting array of vtkIdType
void SetImplementation(ImplementationType *impl)
Implementation ImplementationType
vtkCellIterator * NewCellIterator()
vtkIdType InsertNextCell(int type, vtkIdList *ptIds)
provides thread-safe access to cells
void ReplaceCell(vtkIdType cellId, int npts, vtkIdType *pts)
abstract class to specify cell behavior
GLsizeiptr const GLvoid GLenum usage
a simple class to control print indentation
ImplementationType * GetImplementation()
~vtkMappedUnstructuredGrid()
list of point or cell ids
vtkIdType GetNumberOfCells()
int GetCellType(vtkIdType cellId)
vtkMappedUnstructuredGrid< Implementation, CellIterator > ThisType
Uses an Exodus II element block as a vtkMappedUnstructuredGrid's implementation.
void GetPointCells(vtkIdType ptId, vtkIdList *cellIds)
vtkMappedUnstructuredGrid()
void ShallowCopy(vtkDataObject *src)
vtkSmartPointer< ImplementationType > Impl
void PrintSelf(ostream &os, vtkIndent indent)
Efficient cell iterator for vtkDataSet topologies.
vtkCell * GetCell(vtkIdType cellId)
general representation of visualization data
dataset represents arbitrary combinations of all possible cell types. May be mapped onto a non-standa...
void Allocate(vtkIdType numCells, int extSize=1000)
Allows datasets with arbitrary storage layouts to be used with VTK.