Bookkeeping for internal caching. More...
#include <foamVtkTools.H>

Public Types | |
| typedef DataType | dataType |
| The VTK geometry data type. | |
Public Member Functions | |
| uint64_t | nPoints () const |
| Number of points associated with the geometry. | |
| void | clearGeom () |
| Clear geometry and dataset. | |
| vtkSmartPointer< dataType > | getCopy () const |
| Return a shallow copy of vtkgeom for manipulation. | |
| void | reuse () |
| Make a shallow copy of vtkgeom into dataset. | |
| void | set (vtkSmartPointer< dataType > geom) |
| Set the geometry and make a shallow copy to dataset. | |
| void | PrintSelf (std::ostream &os) const |
| Report basic information to output. | |
Public Attributes | |
| vtkSmartPointer< dataType > | vtkgeom |
| The geometry, without any cell/point data. | |
| vtkSmartPointer< dataType > | dataset |
| The shallow-copy of geometry, plus additional data. | |
Bookkeeping for internal caching.
Retain an original copy of the geometry as well as a shallow copy with the output fields. The original copy is reused for different timesteps etc.
Definition at line 85 of file foamVtkTools.H.
| typedef DataType dataType |
The VTK geometry data type.
Definition at line 90 of file foamVtkTools.H.
|
inline |
Number of points associated with the geometry.
Definition at line 105 of file foamVtkTools.H.
References vtkgeom.
|
inline |
Clear geometry and dataset.
Definition at line 113 of file foamVtkTools.H.
|
inline |
Return a shallow copy of vtkgeom for manipulation.
Definition at line 122 of file foamVtkTools.H.
References vtkgeom.
|
inline |
Make a shallow copy of vtkgeom into dataset.
Definition at line 135 of file foamVtkTools.H.
References dataset, and vtkgeom.
Referenced by set().

|
inline |
Set the geometry and make a shallow copy to dataset.
Definition at line 147 of file foamVtkTools.H.
References reuse(), and vtkgeom.

|
inline |
| vtkSmartPointer<dataType> vtkgeom |
The geometry, without any cell/point data.
Definition at line 95 of file foamVtkTools.H.
Referenced by clearGeom(), getCopy(), nPoints(), PrintSelf(), reuse(), and set().
| vtkSmartPointer<dataType> dataset |
The shallow-copy of geometry, plus additional data.
Definition at line 100 of file foamVtkTools.H.
Referenced by clearGeom(), PrintSelf(), and reuse().