|
virtual int | IsA (const char *type) |
|
vtkFieldDataSerializer * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
vtkObject * | NewInstance () const |
|
virtual void | DebugOn () |
|
virtual void | DebugOff () |
|
bool | GetDebug () |
|
void | SetDebug (bool debugFlag) |
|
virtual void | Modified () |
|
virtual unsigned long | GetMTime () |
|
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
|
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
|
vtkCommand * | GetCommand (unsigned long tag) |
|
void | RemoveObserver (vtkCommand *) |
|
void | RemoveObservers (unsigned long event, vtkCommand *) |
|
void | RemoveObservers (const char *event, vtkCommand *) |
|
int | HasObserver (unsigned long event, vtkCommand *) |
|
int | HasObserver (const char *event, vtkCommand *) |
|
void | RemoveObserver (unsigned long tag) |
|
void | RemoveObservers (unsigned long event) |
|
void | RemoveObservers (const char *event) |
|
void | RemoveAllObservers () |
|
int | HasObserver (unsigned long event) |
|
int | HasObserver (const char *event) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
int | InvokeEvent (unsigned long event, void *callData) |
|
int | InvokeEvent (const char *event, void *callData) |
|
int | InvokeEvent (unsigned long event) |
|
int | InvokeEvent (const char *event) |
|
const char * | GetClassName () const |
|
virtual void | Delete () |
|
virtual void | FastDelete () |
|
void | Print (ostream &os) |
|
virtual void | Register (vtkObjectBase *o) |
|
virtual void | UnRegister (vtkObjectBase *o) |
|
void | SetReferenceCount (int) |
|
void | PrintRevisions (ostream &) |
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
|
int | GetReferenceCount () |
|
|
static vtkFieldDataSerializer * | New () |
|
static int | IsTypeOf (const char *type) |
|
static vtkFieldDataSerializer * | SafeDownCast (vtkObjectBase *o) |
|
|
static void | SerializeMetaData (vtkFieldData *fieldData, vtkMultiProcessStream &bytestream) |
|
|
static void | DeserializeMetaData (vtkMultiProcessStream &bytestream, vtkStringArray *names, vtkIntArray *datatypes, vtkIntArray *dimensions) |
|
|
static void | Serialize (vtkFieldData *fieldData, vtkMultiProcessStream &bytestream) |
|
|
static void | SerializeTuples (vtkIdList *tupleIds, vtkFieldData *fieldData, vtkMultiProcessStream &bytestream) |
|
|
static void | SerializeSubExtent (int subext[6], int gridExtent[6], vtkFieldData *fieldData, vtkMultiProcessStream &bytestream) |
|
|
static void | DeSerializeToSubExtent (int subext[6], int gridExtent[6], vtkFieldData *fieldData, vtkMultiProcessStream &bytestream) |
|
|
static void | Deserialize (vtkMultiProcessStream &bytestream, vtkFieldData *fieldData) |
|
static int | IsTypeOf (const char *type) |
|
static vtkObject * | SafeDownCast (vtkObjectBase *o) |
|
static vtkObject * | New () |
|
static void | BreakOnError () |
|
static void | SetGlobalWarningDisplay (int val) |
|
static void | GlobalWarningDisplayOn () |
|
static void | GlobalWarningDisplayOff () |
|
static int | GetGlobalWarningDisplay () |
|
static int | IsTypeOf (const char *name) |
|
static vtkObjectBase * | New () |
|
A concrete instance of vtkObject which provides functionality for serializing and de-serializing field data, primarily used for the purpose of preparing the data for transfer over MPI or other communication mechanism.
- See also
- vtkFieldData vtkPointData vtkCellData vtkMultiProcessStream
- Tests:
- vtkFieldDataSerializer (Tests)
Definition at line 44 of file vtkFieldDataSerializer.h.
Given the serialized field metadata in a bytestream, this method extracts the name, datatype and dimensions of each array. The metadata is deserialized on user-supplied, pre-allocated data structures. (1) names – an array of strings wherein, each element, names[i], corresponds to the name of array i. (2) datatypes – an array of ints where each element corresponds to the actual primitive type of each array, e.g.,VTK_DOUBLE,VTK_INT, etc. (3) dimensions – a 2-component array of integers where the first component corresponds to the number of tuples of and the second component corresponds to the number components of array i.