ParaView
|
Light object for holding data information. More...
#include <vtkPVDataInformation.h>
Public Types | |
typedef vtkPVInformation | Superclass |
![]() | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
vtkPVArrayInformation * | GetArrayInformation (const char *arrayname, int fieldAssociation) |
Method to find and return attribute array information for a particular array for the given attribute type if one exists. More... | |
virtual void | CopyFromObject (vtkObject *) |
Transfer information about a single object into this object. More... | |
virtual void | AddInformation (vtkPVInformation *info) |
Merge another information object. More... | |
virtual void | AddInformation (vtkPVInformation *, int addingParts) |
Merge another information object. More... | |
void | Initialize () |
Remove all information. More... | |
const char * | GetPrettyDataTypeString () |
Returns a string describing the datatype that can be directly shown in a user interface. More... | |
vtkPVDataSetAttributesInformation * | GetAttributeInformation (int fieldAssociation) |
Method to access vtkPVDataSetAttributesInformation using field association type. More... | |
vtkPVDataInformation * | GetDataInformationForCompositeIndex (int index) |
Given the flat-index for a node in a composite dataset, this method returns the data information for the node, it available. More... | |
unsigned int | GetNumberOfBlockLeafs (bool skipEmpty) |
Compute the number of block leaf from this information multipieces are counted as single block. More... | |
vtkPVDataInformation * | GetDataInformationForCompositeIndex (int *index) |
This is same as GetDataInformationForCompositeIndex() however note that the index will get modified in this method. More... | |
virtual double * | GetTimeSpan () |
virtual void | GetTimeSpan (double &, double &) |
virtual void | GetTimeSpan (double [2]) |
int | IsDataStructured () |
Returns if the data type is structured. More... | |
virtual void | SetPortNumber (int) |
Port number controls which output port the information is gathered from. More... | |
virtual int | GetPortNumber () |
Port number controls which output port the information is gathered from. More... | |
virtual void | CopyToStream (vtkClientServerStream *) |
Manage a serialized version of the information. More... | |
virtual void | CopyFromStream (const vtkClientServerStream *) |
Manage a serialized version of the information. More... | |
virtual void | CopyParametersToStream (vtkMultiProcessStream &) |
Serialize/Deserialize the parameters that control how/what information is gathered. More... | |
virtual void | CopyParametersFromStream (vtkMultiProcessStream &) |
Serialize/Deserialize the parameters that control how/what information is gathered. More... | |
virtual int | GetDataSetType () |
Access to information. More... | |
virtual int | GetCompositeDataSetType () |
Access to information. More... | |
const char * | GetDataSetTypeAsString () |
Access to information. More... | |
int | DataSetTypeIsA (const char *type) |
Access to information. More... | |
virtual vtkTypeInt64 | GetNumberOfPoints () |
Access to information. More... | |
virtual vtkTypeInt64 | GetNumberOfCells () |
Access to information. More... | |
virtual vtkTypeInt64 | GetNumberOfRows () |
Access to information. More... | |
virtual int | GetMemorySize () |
Access to information. More... | |
virtual int | GetPolygonCount () |
Access to information. More... | |
virtual int | GetNumberOfDataSets () |
Access to information. More... | |
virtual double * | GetBounds () |
Access to information. More... | |
virtual void | GetBounds (double &, double &, double &, double &, double &, double &) |
Access to information. More... | |
virtual void | GetBounds (double [6]) |
Access to information. More... | |
virtual int * | GetExtent () |
Of course Extent is only valid for structured data sets. More... | |
virtual void | GetExtent (int &, int &, int &, int &, int &, int &) |
Of course Extent is only valid for structured data sets. More... | |
virtual void | GetExtent (int [6]) |
Of course Extent is only valid for structured data sets. More... | |
virtual vtkPVArrayInformation * | GetPointArrayInformation () |
Access to information about points. More... | |
virtual vtkPVDataSetAttributesInformation * | GetPointDataInformation () |
Access to information about point/cell/vertex/edge/row data. More... | |
virtual vtkPVDataSetAttributesInformation * | GetCellDataInformation () |
Access to information about point/cell/vertex/edge/row data. More... | |
virtual vtkPVDataSetAttributesInformation * | GetVertexDataInformation () |
Access to information about point/cell/vertex/edge/row data. More... | |
virtual vtkPVDataSetAttributesInformation * | GetEdgeDataInformation () |
Access to information about point/cell/vertex/edge/row data. More... | |
virtual vtkPVDataSetAttributesInformation * | GetRowDataInformation () |
Access to information about point/cell/vertex/edge/row data. More... | |
virtual vtkPVDataSetAttributesInformation * | GetFieldDataInformation () |
Accesse to information about field data, if any. More... | |
virtual vtkPVCompositeDataInformation * | GetCompositeDataInformation () |
If data is composite, this provides information specific to composite datasets. More... | |
virtual char * | GetDataClassName () |
ClassName of the data represented by information object. More... | |
virtual char * | GetCompositeDataClassName () |
The least common class name of composite dataset blocks. More... | |
virtual int | GetHasTime () |
Returns if the Time is set. More... | |
virtual double | GetTime () |
Returns the data time if, GetHasTime() return true. More... | |
virtual int | GetNumberOfTimeSteps () |
Returns the number of time steps. More... | |
virtual char * | GetTimeLabel () |
Returns the label that should be used instead of "Time" if any. More... | |
virtual char * | GetCompositeDataSetName () |
If this instance of vtkPVDataInformation summarizes a node in a composite-dataset, and if that node has been given a label in that composite dataset (using vtkCompositeDataSet::NAME meta-data), then this will return that name. More... | |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | GetRootOnly () |
Set/get whether to gather information only from the root. More... | |
Static Public Member Functions | |
static vtkPVDataInformation * | New () |
static int | IsTypeOf (const char *type) |
static vtkPVDataInformation * | SafeDownCast (vtkObject *o) |
static void | RegisterHelper (const char *classname, const char *helperclassname) |
Allows run time addition of information getters for new classes. More... | |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkPVInformation * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkPVDataInformation () | |
~vtkPVDataInformation () | |
void | DeepCopy (vtkPVDataInformation *dataInfo, bool copyCompositeInformation=true) |
void | AddFromMultiPieceDataSet (vtkCompositeDataSet *data) |
void | CopyFromCompositeDataSet (vtkCompositeDataSet *data) |
void | CopyFromCompositeDataSetInitialize (vtkCompositeDataSet *data) |
void | CopyFromCompositeDataSetFinalize (vtkCompositeDataSet *data) |
virtual void | CopyFromDataSet (vtkDataSet *data) |
void | CopyFromGenericDataSet (vtkGenericDataSet *data) |
void | CopyFromGraph (vtkGraph *graph) |
void | CopyFromTable (vtkTable *table) |
void | CopyFromSelection (vtkSelection *selection) |
void | CopyCommonMetaData (vtkDataObject *, vtkInformation *) |
virtual void | SetDataClassName (const char *) |
virtual void | SetTimeLabel (const char *) |
virtual void | SetCompositeDataClassName (const char *) |
virtual void | SetCompositeDataSetName (const char *) |
![]() | |
vtkPVInformation () | |
~vtkPVInformation () | |
virtual void | SetRootOnly (int) |
vtkPVInformation (const vtkPVInformation &) VTK_DELETE_FUNCTION | |
void | operator= (const vtkPVInformation &) VTK_DELETE_FUNCTION |
Static Protected Member Functions | |
static vtkPVDataInformationHelper * | FindHelper (const char *classname) |
Protected Attributes | |
int | DataSetType |
int | CompositeDataSetType |
int | NumberOfDataSets |
vtkTypeInt64 | NumberOfPoints |
vtkTypeInt64 | NumberOfCells |
vtkTypeInt64 | NumberOfRows |
int | MemorySize |
vtkIdType | PolygonCount |
double | Bounds [6] |
int | Extent [6] |
double | TimeSpan [2] |
double | Time |
int | HasTime |
int | NumberOfTimeSteps |
char * | DataClassName |
char * | TimeLabel |
char * | CompositeDataClassName |
char * | CompositeDataSetName |
vtkPVDataSetAttributesInformation * | PointDataInformation |
vtkPVDataSetAttributesInformation * | CellDataInformation |
vtkPVDataSetAttributesInformation * | FieldDataInformation |
vtkPVDataSetAttributesInformation * | VertexDataInformation |
vtkPVDataSetAttributesInformation * | EdgeDataInformation |
vtkPVDataSetAttributesInformation * | RowDataInformation |
vtkPVCompositeDataInformation * | CompositeDataInformation |
vtkPVArrayInformation * | PointArrayInformation |
![]() | |
int | RootOnly |
Friends | |
class | vtkPVDataInformationHelper |
class | vtkPVCompositeDataInformation |
Light object for holding data information.
This object is a light weight object. It has no user interface and does not necessarily last a long time. It is meant to help collect information about data object and collections of data objects. It has a PV in the class name because it should never be moved into VTK.
Definition at line 50 of file vtkPVDataInformation.h.
Definition at line 54 of file vtkPVDataInformation.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkPVInformation.
Reimplemented in vtkPVRepresentedDataInformation.
|
static |
|
virtual |
Reimplemented from vtkPVInformation.
Reimplemented in vtkPVRepresentedDataInformation.
|
static |
void vtkPVDataInformation::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
vtkPVArrayInformation* vtkPVDataInformation::GetArrayInformation | ( | const char * | arrayname, |
int | fieldAssociation | ||
) |
Method to find and return attribute array information for a particular array for the given attribute type if one exists.
Returns NULL if none is found. fieldAssociation
can be vtkDataObject::FIELD_ASSOCIATION_POINTS, vtkDataObject::FIELD_ASSOCIATION_CELLS etc. (use vtkDataObject::FIELD_ASSOCIATION_NONE for field data) (or vtkDataObject::POINT, vtkDataObject::CELL, vtkDataObject::FIELD).
|
virtual |
Port number controls which output port the information is gathered from.
This is the only parameter that can be set on the client-side before gathering the information.
|
virtual |
Port number controls which output port the information is gathered from.
This is the only parameter that can be set on the client-side before gathering the information.
|
virtual |
Transfer information about a single object into this object.
Reimplemented from vtkPVInformation.
Reimplemented in vtkPVRepresentedDataInformation.
|
virtual |
Merge another information object.
Calls AddInformation(info, 0).
Reimplemented from vtkPVInformation.
|
virtual |
Merge another information object.
If adding information of 1 part across processors, set addingParts to false. If adding information of parts, set addingParts to true.
|
virtual |
Manage a serialized version of the information.
Implements vtkPVInformation.
|
virtual |
Manage a serialized version of the information.
Reimplemented from vtkPVInformation.
|
virtual |
Serialize/Deserialize the parameters that control how/what information is gathered.
This are different from the ivars that constitute the gathered information itself. For example, PortNumber on vtkPVDataInformation controls what output port the data-information is gathered from.
Reimplemented from vtkPVInformation.
|
virtual |
Serialize/Deserialize the parameters that control how/what information is gathered.
This are different from the ivars that constitute the gathered information itself. For example, PortNumber on vtkPVDataInformation controls what output port the data-information is gathered from.
Reimplemented from vtkPVInformation.
void vtkPVDataInformation::Initialize | ( | ) |
Remove all information.
The next add will be like a copy. I might want to put this in the PVInformation superclass.
|
virtual |
Access to information.
|
virtual |
Access to information.
const char* vtkPVDataInformation::GetDataSetTypeAsString | ( | ) |
Access to information.
int vtkPVDataInformation::DataSetTypeIsA | ( | const char * | type | ) |
Access to information.
|
virtual |
Access to information.
|
virtual |
Access to information.
|
virtual |
Access to information.
|
virtual |
Access to information.
|
virtual |
Access to information.
|
virtual |
Access to information.
|
virtual |
Access to information.
|
virtual |
Access to information.
|
virtual |
Access to information.
const char* vtkPVDataInformation::GetPrettyDataTypeString | ( | ) |
Returns a string describing the datatype that can be directly shown in a user interface.
|
virtual |
Of course Extent is only valid for structured data sets.
Extent is the largest extent that contains all the parts.
|
virtual |
Of course Extent is only valid for structured data sets.
Extent is the largest extent that contains all the parts.
|
virtual |
Of course Extent is only valid for structured data sets.
Extent is the largest extent that contains all the parts.
|
virtual |
Access to information about points.
Only valid for subclasses of vtkPointSet.
|
virtual |
Access to information about point/cell/vertex/edge/row data.
|
virtual |
Access to information about point/cell/vertex/edge/row data.
|
virtual |
Access to information about point/cell/vertex/edge/row data.
|
virtual |
Access to information about point/cell/vertex/edge/row data.
|
virtual |
Access to information about point/cell/vertex/edge/row data.
|
virtual |
Accesse to information about field data, if any.
vtkPVDataSetAttributesInformation* vtkPVDataInformation::GetAttributeInformation | ( | int | fieldAssociation | ) |
Method to access vtkPVDataSetAttributesInformation using field association type.
fieldAssociation
can be vtkDataObject::FIELD_ASSOCIATION_POINTS, vtkDataObject::FIELD_ASSOCIATION_CELLS etc. (use vtkDataObject::FIELD_ASSOCIATION_NONE for field data).
|
virtual |
If data is composite, this provides information specific to composite datasets.
vtkPVDataInformation* vtkPVDataInformation::GetDataInformationForCompositeIndex | ( | int | index | ) |
Given the flat-index for a node in a composite dataset, this method returns the data information for the node, it available.
unsigned int vtkPVDataInformation::GetNumberOfBlockLeafs | ( | bool | skipEmpty | ) |
Compute the number of block leaf from this information multipieces are counted as single block.
The boolean skipEmpty parameter allows to choose to count empty dataset are not Calling this method with skipEmpty to false will correspond to the vtkBlockColors array in a multiblock.
vtkPVDataInformation* vtkPVDataInformation::GetDataInformationForCompositeIndex | ( | int * | index | ) |
This is same as GetDataInformationForCompositeIndex() however note that the index will get modified in this method.
|
virtual |
ClassName of the data represented by information object.
|
virtual |
The least common class name of composite dataset blocks.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Returns if the Time is set.
|
virtual |
Returns the data time if, GetHasTime() return true.
|
virtual |
Returns the number of time steps.
|
virtual |
Returns the label that should be used instead of "Time" if any.
int vtkPVDataInformation::IsDataStructured | ( | ) |
Returns if the data type is structured.
|
virtual |
If this instance of vtkPVDataInformation summarizes a node in a composite-dataset, and if that node has been given a label in that composite dataset (using vtkCompositeDataSet::NAME meta-data), then this will return that name.
Returns NULL if this instance doesn't represent a node in a composite dataset or doesn't have a label/name associated with it.
|
static |
Allows run time addition of information getters for new classes.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
friend |
Definition at line 339 of file vtkPVDataInformation.h.
|
friend |
Definition at line 340 of file vtkPVDataInformation.h.
|
protected |
Definition at line 301 of file vtkPVDataInformation.h.
|
protected |
Definition at line 302 of file vtkPVDataInformation.h.
|
protected |
Definition at line 303 of file vtkPVDataInformation.h.
|
protected |
Definition at line 304 of file vtkPVDataInformation.h.
|
protected |
Definition at line 305 of file vtkPVDataInformation.h.
|
protected |
Definition at line 306 of file vtkPVDataInformation.h.
|
protected |
Definition at line 307 of file vtkPVDataInformation.h.
|
protected |
Definition at line 308 of file vtkPVDataInformation.h.
|
protected |
Definition at line 309 of file vtkPVDataInformation.h.
|
protected |
Definition at line 310 of file vtkPVDataInformation.h.
|
protected |
Definition at line 311 of file vtkPVDataInformation.h.
|
protected |
Definition at line 312 of file vtkPVDataInformation.h.
|
protected |
Definition at line 313 of file vtkPVDataInformation.h.
|
protected |
Definition at line 314 of file vtkPVDataInformation.h.
|
protected |
Definition at line 316 of file vtkPVDataInformation.h.
|
protected |
Definition at line 317 of file vtkPVDataInformation.h.
|
protected |
Definition at line 320 of file vtkPVDataInformation.h.
|
protected |
Definition at line 323 of file vtkPVDataInformation.h.
|
protected |
Definition at line 326 of file vtkPVDataInformation.h.
|
protected |
Definition at line 329 of file vtkPVDataInformation.h.
|
protected |
Definition at line 330 of file vtkPVDataInformation.h.
|
protected |
Definition at line 331 of file vtkPVDataInformation.h.
|
protected |
Definition at line 332 of file vtkPVDataInformation.h.
|
protected |
Definition at line 333 of file vtkPVDataInformation.h.
|
protected |
Definition at line 335 of file vtkPVDataInformation.h.
|
protected |
Definition at line 337 of file vtkPVDataInformation.h.