#include <vtkModelMetadata.h>
Inheritance diagram for vtkModelMetadata:


This class is inspired by the Exodus II file format, but because this class does not depend on the Exodus library, it should be possible to use it to represent metadata for other dataset file formats. Sandia Labs uses it in their Exodus II reader, their Exodus II writer and their EnSight writer. vtkDistributedDataFilter looks for metadata attached to it's input and redistributes the metadata with the grid.
The fields in this class are those described in the document "EXODUS II: A Finite Element Data Model", SAND92-2137, November 1995.
Element and node IDs stored in this object must be global IDs, in the event that the original dataset was partitioned across many files.
One way to initialize this object is by using vtkExodusModel (a Sandia class used by the Sandia Exodus reader). That class will take an open Exodus II file and a vtkUnstructuredGrid drawn from it and will set the required fields.
Alternatively, you can use all the Set* methods to set the individual fields. This class does not copy the data, it simply uses your pointer. This class will free the storage associated with your pointer when the class is deleted. Most fields have sensible defaults. The only requirement is that if you are using this ModelMetadata to write out an Exodus or EnSight file in parallel, you must SetBlockIds and SetBlockIdArrayName. Your vtkUnstructuredGrid must have a cell array giving the block ID for each cell.
There is an assumption in some classes that the name of the cell array containing global element ids is "GlobalElementId" and the name of the point array containing global node ids is "GlobalNodeId". (element == cell) and (node == point).
Definition at line 91 of file vtkModelMetadata.h.
Public Types | |
| typedef vtkObject | Superclass |
Public Member Functions | |
| virtual const char * | GetClassName () |
| virtual int | IsA (const char *type) |
| virtual void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual void | PrintGlobalInformation () |
| virtual void | PrintLocalInformation () |
| void | SetInformationLines (int numLines, char **lines) |
| void | AddInformationLine (char *info) |
| int | GetInformationLines (char ***lines) const |
| myVtkGetMacro (NumberOfInformationLines, int) | |
| void | SetQARecords (int numberOfRecords, char *QARecords[][4]) |
| void | AddQARecord (char *name, char *version, char *date, char *time) |
| myVtkGetMacro (NumberOfQARecords, int) | |
| float * | GetTimeStepValues () const |
| myVtkGetMacro (Dimension, int) | |
| myVtkGetMacro (SumElementsPerBlock, int) | |
| int * | GetBlockElementIdListIndex () const |
| myVtkGetMacro (SizeBlockAttributeArray, int) | |
| int * | GetBlockAttributesIndex () const |
| myVtkGetMacro (SumNodesPerNodeSet, int) | |
| myVtkGetMacro (SumDistFactPerNodeSet, int) | |
| int * | GetNodeSetNodeIdListIndex () const |
| int * | GetNodeSetDistributionFactorIndex () const |
| myVtkGetMacro (SumSidesPerSideSet, int) | |
| myVtkGetMacro (SumDistFactPerSideSet, int) | |
| int * | GetSideSetListIndex () const |
| int * | GetSideSetDistributionFactorIndex () const |
| myVtkGetMacro (NumberOfBlockProperties, int) | |
| myVtkGetMacro (NumberOfNodeSetProperties, int) | |
| myVtkGetMacro (NumberOfSideSetProperties, int) | |
| myVtkGetMacro (NumberOfGlobalVariables, int) | |
| int | ElementVariableIsDefinedInBlock (char *varname, int blockId) |
| myVtkGetMacro (OriginalNumberOfNodeVariables, int) | |
| char ** | GetOriginalNodeVariableNames () const |
| myVtkGetMacro (NumberOfNodeVariables, int) | |
| char ** | GetNodeVariableNames () const |
| int * | GetNodeVariableNumberOfComponents () const |
| int * | GetMapToOriginalNodeVariableNames () const |
| char * | FindOriginalElementVariableName (const char *name, int component) |
| char * | FindOriginalNodeVariableName (const char *name, int component) |
| void | Pack (vtkDataSet *ugrid) |
| int | Unpack (vtkDataSet *ugrid, int deleteIt) |
| int | AddUGridNodeVariable (char *ugridVarName, char *origName, int numComponents) |
| int | RemoveUGridNodeVariable (char *ugridVarName) |
| int | MergeModelMetadata (const vtkModelMetadata *em) |
| int | MergeGlobalInformation (const vtkModelMetadata *em) |
| vtkModelMetadata * | ExtractGlobalMetadata () |
| void | Reset () |
| int | GetBlockLocalIndex (int id) |
| virtual void | SetTitle (const char *) |
| myVtkGetStringMacro (Title) | |
| void | GetQARecord (int which, char **name, char **version, char **date, char **time) const |
| virtual void | SetTimeStepIndex (int) |
| myVtkGetMacro (TimeStepIndex, int) | |
| void | SetTimeSteps (int numberOfTimeSteps, float *timeStepValues) |
| myVtkGetMacro (NumberOfTimeSteps, int) | |
| void | SetCoordinateNames (int dimension, char **) |
| char ** | GetCoordinateNames () const |
| virtual void | SetNumberOfBlocks (int) |
| myVtkGetMacro (NumberOfBlocks, int) | |
| void | SetBlockIds (int *) |
| int * | GetBlockIds () const |
| void | SetBlockElementType (char **) |
| char ** | GetBlockElementType () const |
| int | SetBlockNumberOfElements (int *nelts) |
| int * | GetBlockNumberOfElements () const |
| void | SetBlockNodesPerElement (int *) |
| int * | GetBlockNodesPerElement () const |
| void | SetBlockElementIdList (int *) |
| int * | GetBlockElementIdList () const |
| int | SetBlockNumberOfAttributesPerElement (int *natts) |
| int * | GetBlockNumberOfAttributesPerElement () const |
| void | SetBlockAttributes (float *) |
| float * | GetBlockAttributes () const |
| virtual void | SetNumberOfNodeSets (int) |
| myVtkGetMacro (NumberOfNodeSets, int) | |
| void | SetNodeSetIds (int *) |
| int * | GetNodeSetIds () const |
| int | SetNodeSetSize (int *) |
| int * | GetNodeSetSize () const |
| void | SetNodeSetNodeIdList (int *) |
| int * | GetNodeSetNodeIdList () const |
| int | SetNodeSetNumberOfDistributionFactors (int *) |
| int * | GetNodeSetNumberOfDistributionFactors () const |
| void | SetNodeSetDistributionFactors (float *) |
| float * | GetNodeSetDistributionFactors () const |
| virtual void | SetNumberOfSideSets (int) |
| myVtkGetMacro (NumberOfSideSets, int) | |
| void | SetSideSetIds (int *) |
| int * | GetSideSetIds () const |
| int | SetSideSetSize (int *sizes) |
| int * | GetSideSetSize () const |
| int | SetSideSetNumberOfDistributionFactors (int *df) |
| int * | GetSideSetNumberOfDistributionFactors () const |
| void | SetSideSetElementList (int *) |
| int * | GetSideSetElementList () const |
| void | SetSideSetSideList (int *) |
| int * | GetSideSetSideList () const |
| void | SetSideSetNumDFPerSide (int *numNodes) |
| int * | GetSideSetNumDFPerSide () const |
| void | SetSideSetDistributionFactors (float *) |
| float * | GetSideSetDistributionFactors () const |
| void | SetBlockPropertyNames (int numProp, char **names) |
| char ** | GetBlockPropertyNames () const |
| void | SetBlockPropertyValue (int *) |
| int * | GetBlockPropertyValue () const |
| void | SetNodeSetPropertyNames (int numProp, char **names) |
| char ** | GetNodeSetPropertyNames () const |
| void | SetNodeSetPropertyValue (int *) |
| int * | GetNodeSetPropertyValue () const |
| void | SetSideSetPropertyNames (int numProp, char **names) |
| char ** | GetSideSetPropertyNames () const |
| void | SetSideSetPropertyValue (int *) |
| int * | GetSideSetPropertyValue () const |
| void | SetGlobalVariableNames (int numVarNames, char **n) |
| char ** | GetGlobalVariableNames () const |
| void | SetGlobalVariableValue (float *f) |
| float * | GetGlobalVariableValue () const |
| void | SetElementVariableInfo (int numOrigNames, char **origNames, int numNames, char **names, int *numComp, int *map) |
| void | SetNodeVariableInfo (int numOrigNames, char **origNames, int numNames, char **names, int *numComp, int *map) |
| void | SetElementVariableTruthTable (int *) |
| int * | GetElementVariableTruthTable () const |
| virtual void | SetAllVariablesDefinedInAllBlocks (int) |
| myVtkGetMacro (AllVariablesDefinedInAllBlocks, int) | |
| virtual void | AllVariablesDefinedInAllBlocksOn () |
| virtual void | AllVariablesDefinedInAllBlocksOff () |
| myVtkGetMacro (OriginalNumberOfElementVariables, int) | |
| char ** | GetOriginalElementVariableNames () const |
| myVtkGetMacro (NumberOfElementVariables, int) | |
| char ** | GetElementVariableNames () const |
| int * | GetElementVariableNumberOfComponents () const |
| int * | GetMapToOriginalElementVariableNames () const |
| int | AddUGridElementVariable (char *ugridVarName, char *origName, int numComponents) |
| int | RemoveUGridElementVariable (char *ugridVarName) |
| vtkModelMetadata * | ExtractModelMetadata (vtkIdTypeArray *globalCellIdList, vtkDataSet *grid) |
| void | FreeAllGlobalData () |
| void | FreeAllLocalData () |
| void | FreeBlockDependentData () |
| void | FreeOriginalElementVariableNames () |
| void | FreeOriginalNodeVariableNames () |
| void | FreeUsedElementVariableNames () |
| void | FreeUsedNodeVariableNames () |
| void | FreeUsedElementVariables () |
| void | FreeUsedNodeVariables () |
Static Public Member Functions | |
| static int | IsTypeOf (const char *type) |
| static vtkModelMetadata * | SafeDownCast (vtkObject *o) |
| static vtkModelMetadata * | New () |
| static int | HasMetadata (vtkDataSet *grid) |
| static void | RemoveMetadata (vtkDataSet *grid) |
Protected Member Functions | |
| vtkModelMetadata () | |
| ~vtkModelMetadata () | |
| vtkModelMetadata::vtkModelMetadata | ( | ) | [protected] |
| vtkModelMetadata::~vtkModelMetadata | ( | ) | [protected] |
| virtual const char* vtkModelMetadata::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkObject.
| static int vtkModelMetadata::IsTypeOf | ( | const char * | type | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
| virtual int vtkModelMetadata::IsA | ( | const char * | type | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
| static vtkModelMetadata* vtkModelMetadata::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkObject.
| virtual void vtkModelMetadata::PrintSelf | ( | ostream & | os, | |
| vtkIndent | indent | |||
| ) | [virtual] |
| static vtkModelMetadata* vtkModelMetadata::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
| virtual void vtkModelMetadata::PrintGlobalInformation | ( | ) | [virtual] |
The global fields are those which pertain to the whole file. Examples are the title, information lines, and list of block IDs. This method prints out all the global information.
| virtual void vtkModelMetadata::PrintLocalInformation | ( | ) | [virtual] |
The local fields are those which depend on exactly which blocks, which time step, and which variables you read in from the file. Examples are the number of cells in each block, and the list of nodes in a node set, or the value of the global variables at a time step. If VERBOSE_TESTING is defined in your execution environment, this method will print more than mere counts, and actually print a few of the IDs, distribution factors and so on. If VERY_VERBOSE_TESTING is defined, it will print out all ID lists, distribution factor lists, and so on.
| virtual void vtkModelMetadata::SetTitle | ( | const char * | ) | [virtual] |
The title of the dataset.
| vtkModelMetadata::myVtkGetStringMacro | ( | Title | ) |
The title of the dataset.
| void vtkModelMetadata::SetInformationLines | ( | int | numLines, | |
| char ** | lines | |||
| ) |
Set the information lines.
| void vtkModelMetadata::AddInformationLine | ( | char * | info | ) |
Add an information line.
| int vtkModelMetadata::GetInformationLines | ( | char *** | lines | ) | const |
Get a pointer to all the information lines. The number of lines is returned;
| vtkModelMetadata::myVtkGetMacro | ( | NumberOfInformationLines | , | |
| int | ||||
| ) |
Get the number of information lines.
| void vtkModelMetadata::SetQARecords | ( | int | numberOfRecords, | |
| char * | QARecords[][4] | |||
| ) |
Set the list of QA records. If there was already a a list, it will be replaced with this one. We use your pointer and delete the records when done.
| void vtkModelMetadata::AddQARecord | ( | char * | name, | |
| char * | version, | |||
| char * | date, | |||
| char * | time | |||
| ) |
Add a QA record. They fields are: The code name The code version number The date (MM/DD/YY or NULL for today) The time (HH:MM:SS or NULL for right now)
| void vtkModelMetadata::GetQARecord | ( | int | which, | |
| char ** | name, | |||
| char ** | version, | |||
| char ** | date, | |||
| char ** | time | |||
| ) | const |
Get a pointer to the 4 fields of a QA record
| vtkModelMetadata::myVtkGetMacro | ( | NumberOfQARecords | , | |
| int | ||||
| ) |
Get the number of QA records
| virtual void vtkModelMetadata::SetTimeStepIndex | ( | int | ) | [virtual] |
Set the index of the time step represented by the results data in the file attached to this ModelMetadata object. Time step indices start at 0 in this file, they start at 1 in an Exodus file.
| vtkModelMetadata::myVtkGetMacro | ( | TimeStepIndex | , | |
| int | ||||
| ) |
Set the index of the time step represented by the results data in the file attached to this ModelMetadata object. Time step indices start at 0 in this file, they start at 1 in an Exodus file.
| void vtkModelMetadata::SetTimeSteps | ( | int | numberOfTimeSteps, | |
| float * | timeStepValues | |||
| ) |
Set the total number of time steps in the file, and the value at each time step. We use your time step value array and delete it when we're done.
| vtkModelMetadata::myVtkGetMacro | ( | NumberOfTimeSteps | , | |
| int | ||||
| ) |
Set the total number of time steps in the file, and the value at each time step. We use your time step value array and delete it when we're done.
| float* vtkModelMetadata::GetTimeStepValues | ( | ) | const [inline] |
Get the time step values
Definition at line 171 of file vtkModelMetadata.h.
| void vtkModelMetadata::SetCoordinateNames | ( | int | dimension, | |
| char ** | ||||
| ) |
The name of the one, two or three coordinate dimensions.
| char** vtkModelMetadata::GetCoordinateNames | ( | ) | const [inline] |
The name of the one, two or three coordinate dimensions.
Definition at line 176 of file vtkModelMetadata.h.
| vtkModelMetadata::myVtkGetMacro | ( | Dimension | , | |
| int | ||||
| ) |
Get the dimension of the model. This is also the number of coordinate names.
| virtual void vtkModelMetadata::SetNumberOfBlocks | ( | int | ) | [virtual] |
The number of blocks in the file. Set this before setting any of the block arrays.
| vtkModelMetadata::myVtkGetMacro | ( | NumberOfBlocks | , | |
| int | ||||
| ) |
The number of blocks in the file. Set this before setting any of the block arrays.
| void vtkModelMetadata::SetBlockIds | ( | int * | ) |
An arbitrary integer ID for each block. We use your pointer, and free the memory when the object is freed.
| int* vtkModelMetadata::GetBlockIds | ( | ) | const [inline] |
An arbitrary integer ID for each block. We use your pointer, and free the memory when the object is freed.
Definition at line 194 of file vtkModelMetadata.h.
| void vtkModelMetadata::SetBlockElementType | ( | char ** | ) |
Element type for each block - a name that means something to person who created the file. We use your pointers, and free the memory when the object is freed.
| char** vtkModelMetadata::GetBlockElementType | ( | ) | const [inline] |
Element type for each block - a name that means something to person who created the file. We use your pointers, and free the memory when the object is freed.
Definition at line 202 of file vtkModelMetadata.h.
| int vtkModelMetadata::SetBlockNumberOfElements | ( | int * | nelts | ) |
Set or get a pointer to a list of the number of elements in each block. We use your pointers, and free the memory when the object is freed.
| int* vtkModelMetadata::GetBlockNumberOfElements | ( | ) | const [inline] |
Set or get a pointer to a list of the number of elements in each block. We use your pointers, and free the memory when the object is freed.
Definition at line 210 of file vtkModelMetadata.h.
| void vtkModelMetadata::SetBlockNodesPerElement | ( | int * | ) |
Set or get a pointer to a list of the number of nodes in the elements of each block. We use your pointers, and free the memory when the object is freed.
| int* vtkModelMetadata::GetBlockNodesPerElement | ( | ) | const [inline] |
Set or get a pointer to a list of the number of nodes in the elements of each block. We use your pointers, and free the memory when the object is freed.
Definition at line 218 of file vtkModelMetadata.h.
| void vtkModelMetadata::SetBlockElementIdList | ( | int * | ) |
Set or get a pointer to a list global element IDs for the elements in each block. We use your pointers, and free the memory when the object is freed.
| int* vtkModelMetadata::GetBlockElementIdList | ( | ) | const [inline] |
Set or get a pointer to a list global element IDs for the elements in each block. We use your pointers, and free the memory when the object is freed.
Definition at line 226 of file vtkModelMetadata.h.
| vtkModelMetadata::myVtkGetMacro | ( | SumElementsPerBlock | , | |
| int | ||||
| ) |
Get the length of the list of elements in every block.
| int* vtkModelMetadata::GetBlockElementIdListIndex | ( | ) | const [inline] |
Get a list of the index into the BlockElementIdList of the start of each block's elements.
Definition at line 234 of file vtkModelMetadata.h.
| int vtkModelMetadata::SetBlockNumberOfAttributesPerElement | ( | int * | natts | ) |
Set or get a pointer to a list of the number of attributes stored for the elements in each block. We use your pointers, and free the memory when the object is freed.
| int* vtkModelMetadata::GetBlockNumberOfAttributesPerElement | ( | ) | const [inline] |
Set or get a pointer to a list of the number of attributes stored for the elements in each block. We use your pointers, and free the memory when the object is freed.
Definition at line 241 of file vtkModelMetadata.h.
| void vtkModelMetadata::SetBlockAttributes | ( | float * | ) |
Set or get a pointer to a list of the attributes for all blocks. The order of the list should be by block, by element within the block, by attribute. Omit blocks that don't have element attributes.
| float* vtkModelMetadata::GetBlockAttributes | ( | ) | const [inline] |
Set or get a pointer to a list of the attributes for all blocks. The order of the list should be by block, by element within the block, by attribute. Omit blocks that don't have element attributes.
Definition at line 249 of file vtkModelMetadata.h.
| vtkModelMetadata::myVtkGetMacro | ( | SizeBlockAttributeArray | , | |
| int | ||||
| ) |
Get the length of the list of floating point block attributes.
| int* vtkModelMetadata::GetBlockAttributesIndex | ( | ) | const [inline] |
Get a list of the index into the BlockAttributes of the start of each block's element attribute list.
Definition at line 257 of file vtkModelMetadata.h.
| virtual void vtkModelMetadata::SetNumberOfNodeSets | ( | int | ) | [virtual] |
The number of node sets in the file. Set this value before setting the various node set arrays.
| vtkModelMetadata::myVtkGetMacro | ( | NumberOfNodeSets | , | |
| int | ||||
| ) |
The number of node sets in the file. Set this value before setting the various node set arrays.
| void vtkModelMetadata::SetNodeSetIds | ( | int * | ) |
Set or get the list the IDs for each node set. Length of list is the number of node sets. We use your pointer, and free the memory when the object is freed.
| int* vtkModelMetadata::GetNodeSetIds | ( | ) | const [inline] |
Set or get the list the IDs for each node set. Length of list is the number of node sets. We use your pointer, and free the memory when the object is freed.
Definition at line 271 of file vtkModelMetadata.h.
| int vtkModelMetadata::SetNodeSetSize | ( | int * | ) |
Set or get a pointer to a list of the number of nodes in each node set. We use your pointer, and free the memory when the object is freed.
| int* vtkModelMetadata::GetNodeSetSize | ( | ) | const [inline] |
Set or get a pointer to a list of the number of nodes in each node set. We use your pointer, and free the memory when the object is freed.
Definition at line 279 of file vtkModelMetadata.h.
| void vtkModelMetadata::SetNodeSetNodeIdList | ( | int * | ) |
Set or get a pointer to a concatenated list of the IDs of all nodes in each node set. First list all IDs in node set 0, then all IDs in node set 1, and so on. We use your pointer, and free the memory when the object is freed.
| int* vtkModelMetadata::GetNodeSetNodeIdList | ( | ) | const [inline] |
Set or get a pointer to a concatenated list of the IDs of all nodes in each node set. First list all IDs in node set 0, then all IDs in node set 1, and so on. We use your pointer, and free the memory when the object is freed.
Definition at line 288 of file vtkModelMetadata.h.
| int vtkModelMetadata::SetNodeSetNumberOfDistributionFactors | ( | int * | ) |
Set or get a list of the number of distribution factors stored by each node set. This is either 0 or equal to the number of nodes in the node set. Length of list is number of node sets. We use your pointer, and free the memory when the object is freed.
| int* vtkModelMetadata::GetNodeSetNumberOfDistributionFactors | ( | ) | const [inline] |
Set or get a list of the number of distribution factors stored by each node set. This is either 0 or equal to the number of nodes in the node set. Length of list is number of node sets. We use your pointer, and free the memory when the object is freed.
Definition at line 297 of file vtkModelMetadata.h.
| void vtkModelMetadata::SetNodeSetDistributionFactors | ( | float * | ) |
Set or get a list of the distribution factors for the node sets. The list is organized by node set, and within node set by node. We use your pointer, and free the memory when the object is freed.
| float* vtkModelMetadata::GetNodeSetDistributionFactors | ( | ) | const [inline] |
Set or get a list of the distribution factors for the node sets. The list is organized by node set, and within node set by node. We use your pointer, and free the memory when the object is freed.
Definition at line 305 of file vtkModelMetadata.h.
| vtkModelMetadata::myVtkGetMacro | ( | SumNodesPerNodeSet | , | |
| int | ||||
| ) |
Get the total number of nodes in all node sets
| vtkModelMetadata::myVtkGetMacro | ( | SumDistFactPerNodeSet | , | |
| int | ||||
| ) |
Get the total number of distribution factors stored for all node sets
| int* vtkModelMetadata::GetNodeSetNodeIdListIndex | ( | ) | const [inline] |
Get a list of the index of the starting entry for each node set in the list of node set node IDs.
Definition at line 316 of file vtkModelMetadata.h.
| int* vtkModelMetadata::GetNodeSetDistributionFactorIndex | ( | ) | const [inline] |
Get a list of the index of the starting entry for each node set in the list of node set distribution factors.
Definition at line 320 of file vtkModelMetadata.h.
| virtual void vtkModelMetadata::SetNumberOfSideSets | ( | int | ) | [virtual] |
Set or get the number of side sets. Set this value before setting any of the other side set arrays.
| vtkModelMetadata::myVtkGetMacro | ( | NumberOfSideSets | , | |
| int | ||||
| ) |
Set or get the number of side sets. Set this value before setting any of the other side set arrays.
| void vtkModelMetadata::SetSideSetIds | ( | int * | ) |
Set or get a pointer to a list giving the ID of each side set. We use your pointer, and free the memory when the object is freed.
| int* vtkModelMetadata::GetSideSetIds | ( | ) | const [inline] |
Set or get a pointer to a list giving the ID of each side set. We use your pointer, and free the memory when the object is freed.
Definition at line 333 of file vtkModelMetadata.h.
| int vtkModelMetadata::SetSideSetSize | ( | int * | sizes | ) |
Set or get a pointer to a list of the number of sides in each side set. We use your pointer, and free the memory when the object is freed.
| int* vtkModelMetadata::GetSideSetSize | ( | ) | const [inline] |
Set or get a pointer to a list of the number of sides in each side set. We use your pointer, and free the memory when the object is freed.
Definition at line 341 of file vtkModelMetadata.h.
| int vtkModelMetadata::SetSideSetNumberOfDistributionFactors | ( | int * | df | ) |
Set or get a pointer to a list of the number of distribution factors stored by each side set. Each side set has either no distribution factors, or 1 per node in the side set. We use your pointer, and free the memory when the object is freed.
| int* vtkModelMetadata::GetSideSetNumberOfDistributionFactors | ( | ) | const [inline] |
Set or get a pointer to a list of the number of distribution factors stored by each side set. Each side set has either no distribution factors, or 1 per node in the side set. We use your pointer, and free the memory when the object is freed.
Definition at line 350 of file vtkModelMetadata.h.
| void vtkModelMetadata::SetSideSetElementList | ( | int * | ) |
Set or get a pointer to a list of the elements containing each side in each side set. The list is organized by side set, and within side set by element. We use your pointer, and free the memory when the object is freed.
| int* vtkModelMetadata::GetSideSetElementList | ( | ) | const [inline] |
Set or get a pointer to a list of the elements containing each side in each side set. The list is organized by side set, and within side set by element. We use your pointer, and free the memory when the object is freed.
Definition at line 359 of file vtkModelMetadata.h.
| void vtkModelMetadata::SetSideSetSideList | ( | int * | ) |
Set or get a pointer to the element side for each side in the side set. (See the manual for the convention for numbering sides in different types of cells.) Side Ids are arranged by side set and within side set by side, and correspond to the SideSetElementList. We use your pointer, and free the memory when the object is freed.
| int* vtkModelMetadata::GetSideSetSideList | ( | ) | const [inline] |
Set or get a pointer to the element side for each side in the side set. (See the manual for the convention for numbering sides in different types of cells.) Side Ids are arranged by side set and within side set by side, and correspond to the SideSetElementList. We use your pointer, and free the memory when the object is freed.
Definition at line 369 of file vtkModelMetadata.h.
| void vtkModelMetadata::SetSideSetNumDFPerSide | ( | int * | numNodes | ) |
Set or get a pointer to a list of the number of nodes in each side of each side set. This list is organized by side set, and within side set by side. We use your pointer, and free the memory when the object is freed.
| int* vtkModelMetadata::GetSideSetNumDFPerSide | ( | ) | const [inline] |
Set or get a pointer to a list of the number of nodes in each side of each side set. This list is organized by side set, and within side set by side. We use your pointer, and free the memory when the object is freed.
Definition at line 378 of file vtkModelMetadata.h.
| void vtkModelMetadata::SetSideSetDistributionFactors | ( | float * | ) |
Set or get a pointer to a list of all the distribution factors. For every side set that has distribution factors, the number of factors per node was given in the SideSetNumberOfDistributionFactors array. If this number for a given side set is N, then for that side set we have N floating point values for each node for each side in the side set. If nodes are repeated in more than one side, we repeat the distribution factors. So this list is in order by side set, by node. We use your pointer, and free the memory when the object is freed.
| float* vtkModelMetadata::GetSideSetDistributionFactors | ( | ) | const [inline] |
Set or get a pointer to a list of all the distribution factors. For every side set that has distribution factors, the number of factors per node was given in the SideSetNumberOfDistributionFactors array. If this number for a given side set is N, then for that side set we have N floating point values for each node for each side in the side set. If nodes are repeated in more than one side, we repeat the distribution factors. So this list is in order by side set, by node. We use your pointer, and free the memory when the object is freed.
Definition at line 391 of file vtkModelMetadata.h.
| vtkModelMetadata::myVtkGetMacro | ( | SumSidesPerSideSet | , | |
| int | ||||
| ) |
Get the total number of sides in all side sets
| vtkModelMetadata::myVtkGetMacro | ( | SumDistFactPerSideSet | , | |
| int | ||||
| ) |
Get the total number of distribution factors stored for all side sets
| int* vtkModelMetadata::GetSideSetListIndex | ( | ) | const [inline] |
Get a list of the index of the starting entry for each side set in the list of side set side IDs.
Definition at line 402 of file vtkModelMetadata.h.
| int* vtkModelMetadata::GetSideSetDistributionFactorIndex | ( | ) | const [inline] |
Get a list of the index of the starting entry for each side set in the list of side set distribution factors.
Definition at line 406 of file vtkModelMetadata.h.
| vtkModelMetadata::myVtkGetMacro | ( | NumberOfBlockProperties | , | |
| int | ||||
| ) |
The number of block properties (global variables)
| void vtkModelMetadata::SetBlockPropertyNames | ( | int | numProp, | |
| char ** | names | |||
| ) |
Set or get the names of the block properties.
| char** vtkModelMetadata::GetBlockPropertyNames | ( | ) | const [inline] |
Set or get the names of the block properties.
Definition at line 414 of file vtkModelMetadata.h.
| void vtkModelMetadata::SetBlockPropertyValue | ( | int * | ) |
Set or get value for each variable for each block. List the integer values in order by variable and within variable by block.
| int* vtkModelMetadata::GetBlockPropertyValue | ( | ) | const [inline] |
Set or get value for each variable for each block. List the integer values in order by variable and within variable by block.
Definition at line 421 of file vtkModelMetadata.h.
| vtkModelMetadata::myVtkGetMacro | ( | NumberOfNodeSetProperties | , | |
| int | ||||
| ) |
The number of node set properties (global variables)
| void vtkModelMetadata::SetNodeSetPropertyNames | ( | int | numProp, | |
| char ** | names | |||
| ) |
Set or get the