#include <vtkOffsetsManagerArray.h>
This class is deisgned to work within vtkXMLWriter. It store a position in a file (unsigned long) and associate a offset in the file. This is usefull when writing TimeStep XML file when you want to forward the same offset from the AppendData section on every entry in let say <Points> definition Example:
<Points> <DataArray type="Float32" TimeStep="0" format="appended" offset="268" /> <DataArray type="Float32" TimeStep="1" format="appended" offset="268" /> ... </Points>
Definition at line 53 of file vtkOffsetsManagerArray.h.
Public Types | |
typedef vtkIdType | OffsetType |
Public Member Functions | |
OffsetsManager () | |
~OffsetsManager () | |
void | Allocate (int numTimeStep) |
OffsetType & | GetPosition (unsigned int t) |
OffsetType & | GetRangeMinPosition (unsigned int t) |
OffsetType & | GetRangeMaxPosition (unsigned int t) |
OffsetType & | GetOffsetValue (unsigned int t) |
unsigned long & | GetLastMTime () |
typedef vtkIdType OffsetsManager::OffsetType |
Definition at line 60 of file vtkOffsetsManagerArray.h.
OffsetsManager::OffsetsManager | ( | ) | [inline] |
Definition at line 63 of file vtkOffsetsManagerArray.h.
OffsetsManager::~OffsetsManager | ( | ) | [inline] |
Definition at line 67 of file vtkOffsetsManagerArray.h.
void OffsetsManager::Allocate | ( | int | numTimeStep | ) | [inline] |
Definition at line 70 of file vtkOffsetsManagerArray.h.
OffsetType& OffsetsManager::GetPosition | ( | unsigned int | t | ) | [inline] |
Definition at line 78 of file vtkOffsetsManagerArray.h.
OffsetType& OffsetsManager::GetRangeMinPosition | ( | unsigned int | t | ) | [inline] |
Definition at line 83 of file vtkOffsetsManagerArray.h.
OffsetType& OffsetsManager::GetRangeMaxPosition | ( | unsigned int | t | ) | [inline] |
Definition at line 88 of file vtkOffsetsManagerArray.h.
OffsetType& OffsetsManager::GetOffsetValue | ( | unsigned int | t | ) | [inline] |
Definition at line 93 of file vtkOffsetsManagerArray.h.
unsigned long& OffsetsManager::GetLastMTime | ( | ) | [inline] |
Definition at line 98 of file vtkOffsetsManagerArray.h.