ActiViz .NET
5.8.0
|
vtkModelMetadata - This class encapsulates the metadata that appear in mesh-based file formats but do not appear in vtkUnstructuredGrid. It can pack itself into the field arrays of a vtkUnstructuredGrid, and be unpacked by metadata aware filters and writers later on. More...
Public Member Functions | |
vtkModelMetadata (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. | |
vtkModelMetadata () | |
Undocumented Block | |
void | AddInformationLine (string info) |
Add an information line. | |
void | AddQARecord (string name, string version, string date, string 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) | |
int | AddUGridElementVariable (string ugridVarName, string origName, int numComponents) |
In order to write Exodus files from vtkUnstructuredGrid objects that were read from Exodus files, we need to know the mapping from variable names in the UGrid to variable names in the Exodus file. (The Exodus reader combines scalar variables with similar names into vectors in the UGrid.) When building the UGrid to which this ModelMetadata refers, add each element and node variable name with this call, including the name of original variable that yielded it's first component, and the number of components. If a variable is removed from the UGrid, remove it from the ModelMetadata. (If this information is missing or incomplete, the ExodusIIWriter can still do something sensible in creating names for variables.) | |
int | AddUGridNodeVariable (string ugridVarName, string origName, int numComponents) |
In order to write Exodus files from vtkUnstructuredGrid objects that were read from Exodus files, we need to know the mapping from variable names in the UGrid to variable names in the Exodus file. (The Exodus reader combines scalar variables with similar names into vectors in the UGrid.) When building the UGrid to which this ModelMetadata refers, add each element and node variable name with this call, including the name of original variable that yielded it's first component, and the number of components. If a variable is removed from the UGrid, remove it from the ModelMetadata. (If this information is missing or incomplete, the ExodusIIWriter can still do something sensible in creating names for variables.) | |
virtual void | AllVariablesDefinedInAllBlocksOff () |
Instead of a truth table of all "1"s, you can set this instance variable to indicate that all variables are defined in all blocks. | |
virtual void | AllVariablesDefinedInAllBlocksOn () |
Instead of a truth table of all "1"s, you can set this instance variable to indicate that all variables are defined in all blocks. | |
int | ElementVariableIsDefinedInBlock (string varname, int blockId) |
If the element variable named is defined for the block Id provided (in the element variable truth table) return a 1, otherwise return a 0. If the variable name or block Id are unrecognized, the default value of 1 is returned. (This is an "original" variable name, from the file, not a name created for the vtkUnstructuredGrid. Use FindOriginal*VariableName to map between the two.) | |
vtkModelMetadata | ExtractGlobalMetadata () |
Create and return a new metadata object containing only the global metadata of this metadata object. | |
vtkModelMetadata | ExtractModelMetadata (vtkIdTypeArray globalCellIdList, vtkDataSet grid) |
Create and return a new metadata object which contains the information for the subset of global cell IDs provided. We need the grid containing the cells so we can find point Ids as well, and also the name of the global cell ID array and the name of the global point ID array. | |
string | FindOriginalElementVariableName (string name, int component) |
Given the name of an element variable the vtkUnstructuredGrid described by this ModelMetadata, and a component number, give the name of the scalar array in the original file that turned into that component when the file was read into VTK. | |
string | FindOriginalNodeVariableName (string name, int component) |
Given the name of an node variable the vtkUnstructuredGrid described by this ModelMetadata, and a component number, give the name of the scalar array in the original file that turned into that component when the file was read into VTK. | |
void | FreeAllGlobalData () |
Free selected portions of the metadata when updating values in the vtkModelMetadata object. Resetting a particular field, (i.e. SetNodeSetIds) frees the previous setting, but if you are not setting every field, you may want to do a wholesale "Free" first. | |
void | FreeAllLocalData () |
Free selected portions of the metadata when updating values in the vtkModelMetadata object. Resetting a particular field, (i.e. SetNodeSetIds) frees the previous setting, but if you are not setting every field, you may want to do a wholesale "Free" first. | |
void | FreeBlockDependentData () |
Free selected portions of the metadata when updating values in the vtkModelMetadata object. Resetting a particular field, (i.e. SetNodeSetIds) frees the previous setting, but if you are not setting every field, you may want to do a wholesale "Free" first. | |
void | FreeOriginalElementVariableNames () |
Free selected portions of the metadata when updating values in the vtkModelMetadata object. Resetting a particular field, (i.e. SetNodeSetIds) frees the previous setting, but if you are not setting every field, you may want to do a wholesale "Free" first. | |
void | FreeOriginalNodeVariableNames () |
Free selected portions of the metadata when updating values in the vtkModelMetadata object. Resetting a particular field, (i.e. SetNodeSetIds) frees the previous setting, but if you are not setting every field, you may want to do a wholesale "Free" first. | |
void | FreeUsedElementVariableNames () |
Free selected portions of the metadata when updating values in the vtkModelMetadata object. Resetting a particular field, (i.e. SetNodeSetIds) frees the previous setting, but if you are not setting every field, you may want to do a wholesale "Free" first. | |
void | FreeUsedElementVariables () |
Free selected portions of the metadata when updating values in the vtkModelMetadata object. Resetting a particular field, (i.e. SetNodeSetIds) frees the previous setting, but if you are not setting every field, you may want to do a wholesale "Free" first. | |
void | FreeUsedNodeVariableNames () |
Free selected portions of the metadata when updating values in the vtkModelMetadata object. Resetting a particular field, (i.e. SetNodeSetIds) frees the previous setting, but if you are not setting every field, you may want to do a wholesale "Free" first. | |
void | FreeUsedNodeVariables () |
Free selected portions of the metadata when updating values in the vtkModelMetadata object. Resetting a particular field, (i.e. SetNodeSetIds) frees the previous setting, but if you are not setting every field, you may want to do a wholesale "Free" first. | |
int | GetAllVariablesDefinedInAllBlocks () |
Instead of a truth table of all "1"s, you can set this instance variable to indicate that all variables are defined in all blocks. | |
IntPtr | GetBlockAttributes () |
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. | |
IntPtr | GetBlockAttributesIndex () |
Get a list of the index into the BlockAttributes of the start of each block's element attribute list. | |
IntPtr | GetBlockElementIdList () |
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. | |
IntPtr | GetBlockElementIdListIndex () |
Get a list of the index into the BlockElementIdList of the start of each block's elements. | |
IntPtr | GetBlockIds () |
An arbitrary integer ID for each block. We use your pointer, and free the memory when the object is freed. | |
int | GetBlockLocalIndex (int id) |
Block information is stored in arrays. This method returns the array index for a given block ID. | |
IntPtr | GetBlockNodesPerElement () |
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. | |
IntPtr | GetBlockNumberOfAttributesPerElement () |
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. | |
IntPtr | GetBlockNumberOfElements () |
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. | |
IntPtr | GetBlockPropertyValue () |
Set or get value for each variable for each block. List the integer values in order by variable and within variable by block. | |
int | GetDimension () |
Get the dimension of the model. This is also the number of coordinate names. | |
IntPtr | GetElementVariableNumberOfComponents () |
The ModelMetadata object may contain these lists: o the variables in the original data file o the variables created in the u grid from those original variables o a mapping from the grid variable names to the original names o a list of the number of components each grid variable has | |
IntPtr | GetElementVariableTruthTable () |
A truth table indicating which element variables are defined for which blocks. The variables are all the original element variables that were in the file. The table is by block ID and within block ID by variable. | |
IntPtr | GetGlobalVariableValue () |
Set or get the values of the global variables at the current time step. | |
IntPtr | GetMapToOriginalElementVariableNames () |
The ModelMetadata object may contain these lists: o the variables in the original data file o the variables created in the u grid from those original variables o a mapping from the grid variable names to the original names o a list of the number of components each grid variable has | |
IntPtr | GetMapToOriginalNodeVariableNames () |
The ModelMetadata object may contain these lists: o the variables in the original data file o the variables created in the u grid from those original variables o a mapping from the grid variable names to the original names o a list of the number of components each grid variable has | |
IntPtr | GetNodeSetDistributionFactorIndex () |
Get a list of the index of the starting entry for each node set in the list of node set distribution factors. | |
IntPtr | GetNodeSetDistributionFactors () |
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. | |
IntPtr | GetNodeSetIds () |
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. | |
IntPtr | GetNodeSetNodeIdList () |
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. | |
IntPtr | GetNodeSetNodeIdListIndex () |
Get a list of the index of the starting entry for each node set in the list of node set node IDs. | |
IntPtr | GetNodeSetNumberOfDistributionFactors () |
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. | |
IntPtr | GetNodeSetPropertyValue () |
Set or get value for each variable for each node set. List the integer values in order by variable and within variable by node set. | |
IntPtr | GetNodeSetSize () |
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. | |
IntPtr | GetNodeVariableNumberOfComponents () |
The ModelMetadata object may contain these lists: o the variables in the original data file o the variables created in the u grid from those original variables o a mapping from the grid variable names to the original names o a list of the number of components each grid variable has | |
int | GetNumberOfBlockProperties () |
The number of block properties (global variables) | |
int | GetNumberOfBlocks () |
The number of blocks in the file. Set this before setting any of the block arrays. | |
int | GetNumberOfElementVariables () |
The ModelMetadata object may contain these lists: o the variables in the original data file o the variables created in the u grid from those original variables o a mapping from the grid variable names to the original names o a list of the number of components each grid variable has | |
int | GetNumberOfGlobalVariables () |
Get the number of global variables per time step | |
int | GetNumberOfInformationLines () |
Get the number of information lines. | |
int | GetNumberOfNodeSetProperties () |
The number of node set properties (global variables) | |
int | GetNumberOfNodeSets () |
The number of node sets in the file. Set this value before setting the various node set arrays. | |
int | GetNumberOfNodeVariables () |
The ModelMetadata object may contain these lists: o the variables in the original data file o the variables created in the u grid from those original variables o a mapping from the grid variable names to the original names o a list of the number of components each grid variable has | |
int | GetNumberOfQARecords () |
Get the number of QA records | |
int | GetNumberOfSideSetProperties () |
The number of side set properties (global variables) | |
int | GetNumberOfSideSets () |
Set or get the number of side sets. Set this value before setting any of the other side set arrays. | |
int | GetNumberOfTimeSteps () |
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. | |
int | GetOriginalNumberOfElementVariables () |
The ModelMetadata object may contain these lists: o the variables in the original data file o the variables created in the u grid from those original variables o a mapping from the grid variable names to the original names o a list of the number of components each grid variable has | |
int | GetOriginalNumberOfNodeVariables () |
The ModelMetadata object may contain these lists: o the variables in the original data file o the variables created in the u grid from those original variables o a mapping from the grid variable names to the original names o a list of the number of components each grid variable has | |
IntPtr | GetSideSetDistributionFactorIndex () |
Get a list of the index of the starting entry for each side set in the list of side set distribution factors. | |
IntPtr | GetSideSetDistributionFactors () |
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. | |
IntPtr | GetSideSetElementList () |
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. | |
IntPtr | GetSideSetIds () |
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. | |
IntPtr | GetSideSetListIndex () |
Get a list of the index of the starting entry for each side set in the list of side set side IDs. | |
IntPtr | GetSideSetNumDFPerSide () |
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. | |
IntPtr | GetSideSetNumberOfDistributionFactors () |
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. | |
IntPtr | GetSideSetPropertyValue () |
Set or get value for each variable for each side set. List the integer values in order by variable and within variable by side set. | |
IntPtr | GetSideSetSideList () |
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. | |
IntPtr | GetSideSetSize () |
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 | GetSizeBlockAttributeArray () |
Get the length of the list of floating point block attributes. | |
int | GetSumDistFactPerNodeSet () |
Get the total number of distribution factors stored for all node sets | |
int | GetSumDistFactPerSideSet () |
Get the total number of distribution factors stored for all side sets | |
int | GetSumElementsPerBlock () |
Get the length of the list of elements in every block. | |
int | GetSumNodesPerNodeSet () |
Get the total number of nodes in all node sets | |
int | GetSumSidesPerSideSet () |
Get the total number of sides in all side sets | |
int | GetTimeStepIndex () |
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. | |
IntPtr | GetTimeStepValues () |
Get the time step values | |
string | GetTitle () |
The title of the dataset. | |
override int | IsA (string type) |
Undocumented Block | |
int | MergeGlobalInformation (vtkModelMetadata em) |
The metadata is divided into global metadata and local metadata. MergeGlobalInformation merges just the global metadata of the supplied object into the global metadata of this object. | |
int | MergeModelMetadata (vtkModelMetadata em) |
In VTK we take vtkUnstructuredGrids and perform operations on them, including subsetting and merging grids. We need to modify the metadata object when this happens. MergeModelMetadata merges the supplied model (both global and local metadata) into this model. The models must be from the same file set. | |
new vtkModelMetadata | NewInstance () |
Undocumented Block | |
void | Pack (vtkDataSet ugrid) |
Pack this object's metadata into a field array of a dataset. | |
virtual void | PrintGlobalInformation () |
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 | PrintLocalInformation () |
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. | |
int | RemoveUGridElementVariable (string ugridVarName) |
In order to write Exodus files from vtkUnstructuredGrid objects that were read from Exodus files, we need to know the mapping from variable names in the UGrid to variable names in the Exodus file. (The Exodus reader combines scalar variables with similar names into vectors in the UGrid.) When building the UGrid to which this ModelMetadata refers, add each element and node variable name with this call, including the name of original variable that yielded it's first component, and the number of components. If a variable is removed from the UGrid, remove it from the ModelMetadata. (If this information is missing or incomplete, the ExodusIIWriter can still do something sensible in creating names for variables.) | |
int | RemoveUGridNodeVariable (string ugridVarName) |
In order to write Exodus files from vtkUnstructuredGrid objects that were read from Exodus files, we need to know the mapping from variable names in the UGrid to variable names in the Exodus file. (The Exodus reader combines scalar variables with similar names into vectors in the UGrid.) When building the UGrid to which this ModelMetadata refers, add each element and node variable name with this call, including the name of original variable that yielded it's first component, and the number of components. If a variable is removed from the UGrid, remove it from the ModelMetadata. (If this information is missing or incomplete, the ExodusIIWriter can still do something sensible in creating names for variables.) | |
void | Reset () |
Set the object back to it's initial state | |
virtual void | SetAllVariablesDefinedInAllBlocks (int _arg) |
Instead of a truth table of all "1"s, you can set this instance variable to indicate that all variables are defined in all blocks. | |
void | SetBlockAttributes (IntPtr arg0) |
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. | |
void | SetBlockElementIdList (IntPtr arg0) |
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. | |
void | SetBlockIds (IntPtr arg0) |
An arbitrary integer ID for each block. We use your pointer, and free the memory when the object is freed. | |
void | SetBlockNodesPerElement (IntPtr arg0) |
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 | SetBlockNumberOfAttributesPerElement (IntPtr 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 | SetBlockNumberOfElements (IntPtr 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. | |
void | SetBlockPropertyValue (IntPtr arg0) |
Set or get value for each variable for each block. List the integer values in order by variable and within variable by block. | |
void | SetElementVariableTruthTable (IntPtr arg0) |
A truth table indicating which element variables are defined for which blocks. The variables are all the original element variables that were in the file. The table is by block ID and within block ID by variable. | |
void | SetGlobalVariableValue (IntPtr f) |
Set or get the values of the global variables at the current time step. | |
void | SetNodeSetDistributionFactors (IntPtr arg0) |
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. | |
void | SetNodeSetIds (IntPtr arg0) |
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. | |
void | SetNodeSetNodeIdList (IntPtr arg0) |
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 | SetNodeSetNumberOfDistributionFactors (IntPtr arg0) |
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. | |
void | SetNodeSetPropertyValue (IntPtr arg0) |
Set or get value for each variable for each node set. List the integer values in order by variable and within variable by node set. | |
int | SetNodeSetSize (IntPtr arg0) |
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. | |
virtual void | SetNumberOfBlocks (int _arg) |
The number of blocks in the file. Set this before setting any of the block arrays. | |
virtual void | SetNumberOfNodeSets (int _arg) |
The number of node sets in the file. Set this value before setting the various node set arrays. | |
virtual void | SetNumberOfSideSets (int _arg) |
Set or get the number of side sets. Set this value before setting any of the other side set arrays. | |
void | SetSideSetDistributionFactors (IntPtr arg0) |
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. | |
void | SetSideSetElementList (IntPtr arg0) |
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. | |
void | SetSideSetIds (IntPtr arg0) |
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. | |
void | SetSideSetNumDFPerSide (IntPtr 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 | SetSideSetNumberOfDistributionFactors (IntPtr 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. | |
void | SetSideSetPropertyValue (IntPtr arg0) |
Set or get value for each variable for each side set. List the integer values in order by variable and within variable by side set. | |
void | SetSideSetSideList (IntPtr arg0) |
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 | SetSideSetSize (IntPtr 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. | |
virtual void | SetTimeStepIndex (int _arg) |
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 | SetTimeSteps (int numberOfTimeSteps, IntPtr 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. | |
virtual void | SetTitle (string _arg) |
The title of the dataset. | |
int | Unpack (vtkDataSet ugrid, int deleteIt) |
Unpack the metadata stored in a dataset, and initialize this object with it. Return 1 if there's no metadata packed into the grid, 0 if OK. If deleteIt is ON, then delete the grid's packed data after unpacking it into the object. | |
![]() | |
vtkObject (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. | |
vtkObject () | |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. | |
uint | AddObserver (uint arg0, vtkCommand arg1, float priority) |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
uint | AddObserver (string arg0, vtkCommand arg1, float priority) |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
virtual void | DebugOff () |
Turn debugging output off. | |
virtual void | DebugOn () |
Turn debugging output on. | |
vtkCommand | GetCommand (uint tag) |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
byte | GetDebug () |
Get the value of the debug flag. | |
virtual uint | GetMTime () |
Return this object's modified time. | |
int | HasObserver (uint arg0, vtkCommand arg1) |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
int | HasObserver (string arg0, vtkCommand arg1) |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
int | HasObserver (uint arg0) |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
int | HasObserver (string arg0) |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
int | InvokeEvent (uint arg0, IntPtr callData) |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
int | InvokeEvent (string arg0, IntPtr callData) |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
int | InvokeEvent (uint arg0) |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
int | InvokeEvent (string arg0) |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
virtual void | Modified () |
Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data. The modification time is a unique monotonically increasing unsigned long integer. | |
void | RemoveAllObservers () |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
void | RemoveObserver (vtkCommand arg0) |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
void | RemoveObserver (uint tag) |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
void | RemoveObservers (uint arg0, vtkCommand arg1) |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
void | RemoveObservers (string arg0, vtkCommand arg1) |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
void | RemoveObservers (uint arg0) |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
void | RemoveObservers (string arg0) |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
void | SetDebug (byte debugFlag) |
Set the value of the debug flag. A non-zero value turns debugging on. | |
override string | ToString () |
Returns the result of calling vtkObject::Print as a C# string. | |
delegate void | vtkObjectEventHandler (vtkObject sender, vtkObjectEventArgs e) |
Generic signature for all vtkObject events. | |
void | RemoveAllHandlersForAllEvents () |
Call RemoveAllHandlers on each non-null vtkObjectEventRelay. TODO: This method needs to get called by the generated Dispose. Make that happen... | |
![]() | |
vtkObjectBase (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. | |
vtkObjectBase () | |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. | |
virtual void | Register (vtkObjectBase o) |
Increase the reference count (mark as used by another object). | |
virtual void | FastDelete () |
Delete a reference to this object. This version will not invoke garbage collection and can potentially leak the object if it is part of a reference loop. Use this method only when it is known that the object has another reference and would not be collected if a full garbage collection check were done. | |
string | GetClassName () |
Return the class name as a string. This method is defined in all subclasses of vtkObjectBase with the vtkTypeMacro found in vtkSetGet.h. | |
int | GetReferenceCount () |
Return the current reference count of this object. | |
void | SetReferenceCount (int arg0) |
Sets the reference count. (This is very dangerous, use with care.) |
Static Public Member Functions | |
static new vtkModelMetadata | New () |
Undocumented Block | |
static int | HasMetadata (vtkDataSet grid) |
Static function that returns 1 if the vtkUnstructuredGrid has metadata packed into it's field arrays, and 0 otherwise. | |
static new int | IsTypeOf (string type) |
Undocumented Block | |
static void | RemoveMetadata (vtkDataSet grid) |
Static function that removes the packed metadata arrays from a dataset. | |
static new vtkModelMetadata | SafeDownCast (vtkObjectBase o) |
Undocumented Block | |
![]() | |
static void | BreakOnError () |
This method is called when vtkErrorMacro executes. It allows the debugger to break on error. | |
static int | GetGlobalWarningDisplay () |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
static void | GlobalWarningDisplayOff () |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
static void | GlobalWarningDisplayOn () |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
static void | SetGlobalWarningDisplay (int val) |
This is a global flag that controls whether any debug, warning or error messages are displayed. |
Public Attributes | |
new const string | MRFullTypeName = "Kitware.VTK.vtkModelMetadata" |
Automatically generated type registration mechanics. | |
![]() | |
new const string | MRFullTypeName = "Kitware.VTK.vtkObject" |
Automatically generated type registration mechanics. | |
![]() | |
new const string | MRFullTypeName = "Kitware.VTK.vtkObjectBase" |
Automatically generated type registration mechanics. | |
![]() | |
const string | vtkChartsEL_dll = "libKitware.VTK.vtkCharts.Unmanaged.so" |
Export layer functions for 'vtkCharts' are exported from the DLL named by the value of this variable. | |
const string | vtkCommonEL_dll = "libKitware.VTK.vtkCommon.Unmanaged.so" |
Export layer functions for 'vtkCommon' are exported from the DLL named by the value of this variable. | |
const string | vtkFilteringEL_dll = "libKitware.VTK.vtkFiltering.Unmanaged.so" |
Export layer functions for 'vtkFiltering' are exported from the DLL named by the value of this variable. | |
const string | vtkGenericFilteringEL_dll = "libKitware.VTK.vtkGenericFiltering.Unmanaged.so" |
Export layer functions for 'vtkGenericFiltering' are exported from the DLL named by the value of this variable. | |
const string | vtkGeovisEL_dll = "libKitware.VTK.vtkGeovis.Unmanaged.so" |
Export layer functions for 'vtkGeovis' are exported from the DLL named by the value of this variable. | |
const string | vtkGraphicsEL_dll = "libKitware.VTK.vtkGraphics.Unmanaged.so" |
Export layer functions for 'vtkGraphics' are exported from the DLL named by the value of this variable. | |
const string | vtkHybridEL_dll = "libKitware.VTK.vtkHybrid.Unmanaged.so" |
Export layer functions for 'vtkHybrid' are exported from the DLL named by the value of this variable. | |
const string | vtkIOEL_dll = "libKitware.VTK.vtkIO.Unmanaged.so" |
Export layer functions for 'vtkIO' are exported from the DLL named by the value of this variable. | |
const string | vtkImagingEL_dll = "libKitware.VTK.vtkImaging.Unmanaged.so" |
Export layer functions for 'vtkImaging' are exported from the DLL named by the value of this variable. | |
const string | vtkInfovisEL_dll = "libKitware.VTK.vtkInfovis.Unmanaged.so" |
Export layer functions for 'vtkInfovis' are exported from the DLL named by the value of this variable. | |
const string | vtkParallelEL_dll = "libKitware.VTK.vtkParallel.Unmanaged.so" |
Export layer functions for 'vtkParallel' are exported from the DLL named by the value of this variable. | |
const string | vtkRenderingEL_dll = "libKitware.VTK.vtkRendering.Unmanaged.so" |
Export layer functions for 'vtkRendering' are exported from the DLL named by the value of this variable. | |
const string | vtkViewsEL_dll = "libKitware.VTK.vtkViews.Unmanaged.so" |
Export layer functions for 'vtkViews' are exported from the DLL named by the value of this variable. | |
const string | vtkVolumeRenderingEL_dll = "libKitware.VTK.vtkVolumeRendering.Unmanaged.so" |
Export layer functions for 'vtkVolumeRendering' are exported from the DLL named by the value of this variable. | |
const string | vtkWidgetsEL_dll = "libKitware.VTK.vtkWidgets.Unmanaged.so" |
Export layer functions for 'vtkWidgets' are exported from the DLL named by the value of this variable. |
Static Public Attributes | |
static new readonly string | MRClassNameKey = "16vtkModelMetadata" |
Automatically generated type registration mechanics. | |
![]() | |
static new readonly string | MRClassNameKey = "9vtkObject" |
Automatically generated type registration mechanics. | |
![]() | |
static new readonly string | MRClassNameKey = "13vtkObjectBase" |
Automatically generated type registration mechanics. |
Protected Member Functions | |
override void | Dispose (bool disposing) |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly. |
Static Private Member Functions | |
static | vtkModelMetadata () |
Automatically generated type registration mechanics. |
Additional Inherited Members | |
![]() | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | AbortCheckEvt |
The AbortCheckEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.AbortCheckEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | AnimationCueTickEvt |
The AnimationCueTickEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.AnimationCueTickEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | AnyEvt |
The AnyEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.AnyEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | CharEvt |
The CharEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.CharEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ConfigureEvt |
The ConfigureEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ConfigureEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ConnectionClosedEvt |
The ConnectionClosedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ConnectionClosedEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ConnectionCreatedEvt |
The ConnectionCreatedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ConnectionCreatedEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | CreateTimerEvt |
The CreateTimerEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.CreateTimerEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | CursorChangedEvt |
The CursorChangedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.CursorChangedEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | DeleteEvt |
The DeleteEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.DeleteEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | DestroyTimerEvt |
The DestroyTimerEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.DestroyTimerEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | DisableEvt |
The DisableEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.DisableEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | DomainModifiedEvt |
The DomainModifiedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.DomainModifiedEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | EnableEvt |
The EnableEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EnableEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | EndAnimationCueEvt |
The EndAnimationCueEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndAnimationCueEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | EndEvt |
The EndEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | EndInteractionEvt |
The EndInteractionEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndInteractionEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | EndPickEvt |
The EndPickEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndPickEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | EndWindowLevelEvt |
The EndWindowLevelEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndWindowLevelEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | EnterEvt |
The EnterEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EnterEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ErrorEvt |
The ErrorEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ErrorEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ExecuteInformationEvt |
The ExecuteInformationEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ExecuteInformationEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ExitEvt |
The ExitEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ExitEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ExposeEvt |
The ExposeEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ExposeEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | InteractionEvt |
The InteractionEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.InteractionEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | KeyPressEvt |
The KeyPressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.KeyPressEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | KeyReleaseEvt |
The KeyReleaseEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.KeyReleaseEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | LeaveEvt |
The LeaveEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.LeaveEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | LeftButtonPressEvt |
The LeftButtonPressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.LeftButtonPressEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | LeftButtonReleaseEvt |
The LeftButtonReleaseEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.LeftButtonReleaseEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | MiddleButtonPressEvt |
The MiddleButtonPressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MiddleButtonPressEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | MiddleButtonReleaseEvt |
The MiddleButtonReleaseEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MiddleButtonReleaseEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ModifiedEvt |
The ModifiedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ModifiedEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | MouseMoveEvt |
The MouseMoveEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MouseMoveEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | MouseWheelBackwardEvt |
The MouseWheelBackwardEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MouseWheelBackwardEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | MouseWheelForwardEvt |
The MouseWheelForwardEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MouseWheelForwardEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | PickEvt |
The PickEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.PickEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | PlacePointEvt |
The PlacePointEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.PlacePointEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | PlaceWidgetEvt |
The PlaceWidgetEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.PlaceWidgetEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ProgressEvt |
The ProgressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ProgressEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | PropertyModifiedEvt |
The PropertyModifiedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.PropertyModifiedEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | RegisterEvt |
The RegisterEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RegisterEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | RenderEvt |
The RenderEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RenderEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | RenderWindowMessageEvt |
The RenderWindowMessageEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RenderWindowMessageEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ResetCameraClippingRangeEvt |
The ResetCameraClippingRangeEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ResetCameraClippingRangeEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ResetCameraEvt |
The ResetCameraEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ResetCameraEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ResetWindowLevelEvt |
The ResetWindowLevelEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ResetWindowLevelEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | RightButtonPressEvt |
The RightButtonPressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RightButtonPressEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | RightButtonReleaseEvt |
The RightButtonReleaseEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RightButtonReleaseEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | SelectionChangedEvt |
The SelectionChangedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.SelectionChangedEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | SetOutputEvt |
The SetOutputEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.SetOutputEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | StartAnimationCueEvt |
The StartAnimationCueEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartAnimationCueEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | StartEvt |
The StartEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | StartInteractionEvt |
The StartInteractionEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartInteractionEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | StartPickEvt |
The StartPickEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartPickEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | StartWindowLevelEvt |
The StartWindowLevelEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartWindowLevelEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | TimerEvt |
The TimerEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.TimerEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | UnRegisterEvt |
The UnRegisterEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.UnRegisterEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | UpdateEvt |
The UpdateEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.UpdateEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | UpdateInformationEvt |
The UpdateInformationEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.UpdateInformationEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | UpdatePropertyEvt |
The UpdatePropertyEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.UpdatePropertyEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | VolumeMapperComputeGradientsEndEvt |
The VolumeMapperComputeGradientsEndEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperComputeGradientsEndEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | VolumeMapperComputeGradientsProgressEvt |
The VolumeMapperComputeGradientsProgressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperComputeGradientsProgressEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | VolumeMapperComputeGradientsStartEvt |
The VolumeMapperComputeGradientsStartEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperComputeGradientsStartEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | VolumeMapperRenderEndEvt |
The VolumeMapperRenderEndEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperRenderEndEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | VolumeMapperRenderProgressEvt |
The VolumeMapperRenderProgressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperRenderProgressEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | VolumeMapperRenderStartEvt |
The VolumeMapperRenderStartEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperRenderStartEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | WarningEvt |
The WarningEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WarningEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | WidgetActivateEvt |
The WidgetActivateEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WidgetActivateEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | WidgetModifiedEvt |
The WidgetModifiedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WidgetModifiedEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | WidgetValueChangedEvt |
The WidgetValueChangedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WidgetValueChangedEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | WindowLevelEvt |
The WindowLevelEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WindowLevelEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | WrongTagEvt |
The WrongTagEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WrongTagEvent as the eventId parameter. |
vtkModelMetadata - This class encapsulates the metadata that appear in mesh-based file formats but do not appear in vtkUnstructuredGrid. It can pack itself into the field arrays of a vtkUnstructuredGrid, and be unpacked by metadata aware filters and writers later on.
Description 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.
Caveats The Exodus II library supports an optimized element order map (section 3.7 in the SAND document). It contains all the element IDs, listed in the order in which a solver should process them. We don't include this, and won't unless there is a request.
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).
|
staticprivate |
Automatically generated type registration mechanics.
Kitware.VTK.vtkModelMetadata.vtkModelMetadata | ( | IntPtr | rawCppThis, |
bool | callDisposalMethod, | ||
bool | strong | ||
) |
Automatically generated constructor - called from generated code. DO NOT call directly.
Kitware.VTK.vtkModelMetadata.vtkModelMetadata | ( | ) |
Undocumented Block
void Kitware.VTK.vtkModelMetadata.AddInformationLine | ( | string | info | ) |
Add an information line.
void Kitware.VTK.vtkModelMetadata.AddQARecord | ( | string | name, |
string | version, | ||
string | date, | ||
string | 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)
int Kitware.VTK.vtkModelMetadata.AddUGridElementVariable | ( | string | ugridVarName, |
string | origName, | ||
int | numComponents | ||
) |
In order to write Exodus files from vtkUnstructuredGrid objects that were read from Exodus files, we need to know the mapping from variable names in the UGrid to variable names in the Exodus file. (The Exodus reader combines scalar variables with similar names into vectors in the UGrid.) When building the UGrid to which this ModelMetadata refers, add each element and node variable name with this call, including the name of original variable that yielded it's first component, and the number of components. If a variable is removed from the UGrid, remove it from the ModelMetadata. (If this information is missing or incomplete, the ExodusIIWriter can still do something sensible in creating names for variables.)
int Kitware.VTK.vtkModelMetadata.AddUGridNodeVariable | ( | string | ugridVarName, |
string | origName, | ||
int | numComponents | ||
) |
In order to write Exodus files from vtkUnstructuredGrid objects that were read from Exodus files, we need to know the mapping from variable names in the UGrid to variable names in the Exodus file. (The Exodus reader combines scalar variables with similar names into vectors in the UGrid.) When building the UGrid to which this ModelMetadata refers, add each element and node variable name with this call, including the name of original variable that yielded it's first component, and the number of components. If a variable is removed from the UGrid, remove it from the ModelMetadata. (If this information is missing or incomplete, the ExodusIIWriter can still do something sensible in creating names for variables.)
|
virtual |
Instead of a truth table of all "1"s, you can set this instance variable to indicate that all variables are defined in all blocks.
|
virtual |
Instead of a truth table of all "1"s, you can set this instance variable to indicate that all variables are defined in all blocks.
|
protected |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.
Reimplemented from Kitware.VTK.vtkObject.
int Kitware.VTK.vtkModelMetadata.ElementVariableIsDefinedInBlock | ( | string | varname, |
int | blockId | ||
) |
If the element variable named is defined for the block Id provided (in the element variable truth table) return a 1, otherwise return a 0. If the variable name or block Id are unrecognized, the default value of 1 is returned. (This is an "original" variable name, from the file, not a name created for the vtkUnstructuredGrid. Use FindOriginal*VariableName to map between the two.)
vtkModelMetadata Kitware.VTK.vtkModelMetadata.ExtractGlobalMetadata | ( | ) |
Create and return a new metadata object containing only the global metadata of this metadata object.
vtkModelMetadata Kitware.VTK.vtkModelMetadata.ExtractModelMetadata | ( | vtkIdTypeArray | globalCellIdList, |
vtkDataSet | grid | ||
) |
Create and return a new metadata object which contains the information for the subset of global cell IDs provided. We need the grid containing the cells so we can find point Ids as well, and also the name of the global cell ID array and the name of the global point ID array.
string Kitware.VTK.vtkModelMetadata.FindOriginalElementVariableName | ( | string | name, |
int | component | ||
) |
Given the name of an element variable the vtkUnstructuredGrid described by this ModelMetadata, and a component number, give the name of the scalar array in the original file that turned into that component when the file was read into VTK.
string Kitware.VTK.vtkModelMetadata.FindOriginalNodeVariableName | ( | string | name, |
int | component | ||
) |
Given the name of an node variable the vtkUnstructuredGrid described by this ModelMetadata, and a component number, give the name of the scalar array in the original file that turned into that component when the file was read into VTK.
void Kitware.VTK.vtkModelMetadata.FreeAllGlobalData | ( | ) |
Free selected portions of the metadata when updating values in the vtkModelMetadata object. Resetting a particular field, (i.e. SetNodeSetIds) frees the previous setting, but if you are not setting every field, you may want to do a wholesale "Free" first.
FreeAllGlobalData frees all the fields which don't depend on which time step, which blocks, or which variables are in the input. FreeAllLocalData frees all the fields which do depend on which time step, blocks or variables are in the input. FreeBlockDependentData frees all metadata fields which depend on which blocks were read in.
void Kitware.VTK.vtkModelMetadata.FreeAllLocalData | ( | ) |
Free selected portions of the metadata when updating values in the vtkModelMetadata object. Resetting a particular field, (i.e. SetNodeSetIds) frees the previous setting, but if you are not setting every field, you may want to do a wholesale "Free" first.
FreeAllGlobalData frees all the fields which don't depend on which time step, which blocks, or which variables are in the input. FreeAllLocalData frees all the fields which do depend on which time step, blocks or variables are in the input. FreeBlockDependentData frees all metadata fields which depend on which blocks were read in.
void Kitware.VTK.vtkModelMetadata.FreeBlockDependentData | ( | ) |
Free selected portions of the metadata when updating values in the vtkModelMetadata object. Resetting a particular field, (i.e. SetNodeSetIds) frees the previous setting, but if you are not setting every field, you may want to do a wholesale "Free" first.
FreeAllGlobalData frees all the fields which don't depend on which time step, which blocks, or which variables are in the input. FreeAllLocalData frees all the fields which do depend on which time step, blocks or variables are in the input. FreeBlockDependentData frees all metadata fields which depend on which blocks were read in.
void Kitware.VTK.vtkModelMetadata.FreeOriginalElementVariableNames | ( | ) |
Free selected portions of the metadata when updating values in the vtkModelMetadata object. Resetting a particular field, (i.e. SetNodeSetIds) frees the previous setting, but if you are not setting every field, you may want to do a wholesale "Free" first.
FreeAllGlobalData frees all the fields which don't depend on which time step, which blocks, or which variables are in the input. FreeAllLocalData frees all the fields which do depend on which time step, blocks or variables are in the input. FreeBlockDependentData frees all metadata fields which depend on which blocks were read in.
void Kitware.VTK.vtkModelMetadata.FreeOriginalNodeVariableNames | ( | ) |
Free selected portions of the metadata when updating values in the vtkModelMetadata object. Resetting a particular field, (i.e. SetNodeSetIds) frees the previous setting, but if you are not setting every field, you may want to do a wholesale "Free" first.
FreeAllGlobalData frees all the fields which don't depend on which time step, which blocks, or which variables are in the input. FreeAllLocalData frees all the fields which do depend on which time step, blocks or variables are in the input. FreeBlockDependentData frees all metadata fields which depend on which blocks were read in.
void Kitware.VTK.vtkModelMetadata.FreeUsedElementVariableNames | ( | ) |
Free selected portions of the metadata when updating values in the vtkModelMetadata object. Resetting a particular field, (i.e. SetNodeSetIds) frees the previous setting, but if you are not setting every field, you may want to do a wholesale "Free" first.
FreeAllGlobalData frees all the fields which don't depend on which time step, which blocks, or which variables are in the input. FreeAllLocalData frees all the fields which do depend on which time step, blocks or variables are in the input. FreeBlockDependentData frees all metadata fields which depend on which blocks were read in.
void Kitware.VTK.vtkModelMetadata.FreeUsedElementVariables | ( | ) |
Free selected portions of the metadata when updating values in the vtkModelMetadata object. Resetting a particular field, (i.e. SetNodeSetIds) frees the previous setting, but if you are not setting every field, you may want to do a wholesale "Free" first.
FreeAllGlobalData frees all the fields which don't depend on which time step, which blocks, or which variables are in the input. FreeAllLocalData frees all the fields which do depend on which time step, blocks or variables are in the input. FreeBlockDependentData frees all metadata fields which depend on which blocks were read in.
void Kitware.VTK.vtkModelMetadata.FreeUsedNodeVariableNames | ( | ) |
Free selected portions of the metadata when updating values in the vtkModelMetadata object. Resetting a particular field, (i.e. SetNodeSetIds) frees the previous setting, but if you are not setting every field, you may want to do a wholesale "Free" first.
FreeAllGlobalData frees all the fields which don't depend on which time step, which blocks, or which variables are in the input. FreeAllLocalData frees all the fields which do depend on which time step, blocks or variables are in the input. FreeBlockDependentData frees all metadata fields which depend on which blocks were read in.
void Kitware.VTK.vtkModelMetadata.FreeUsedNodeVariables | ( | ) |
Free selected portions of the metadata when updating values in the vtkModelMetadata object. Resetting a particular field, (i.e. SetNodeSetIds) frees the previous setting, but if you are not setting every field, you may want to do a wholesale "Free" first.
FreeAllGlobalData frees all the fields which don't depend on which time step, which blocks, or which variables are in the input. FreeAllLocalData frees all the fields which do depend on which time step, blocks or variables are in the input. FreeBlockDependentData frees all metadata fields which depend on which blocks were read in.
int Kitware.VTK.vtkModelMetadata.GetAllVariablesDefinedInAllBlocks | ( | ) |
Instead of a truth table of all "1"s, you can set this instance variable to indicate that all variables are defined in all blocks.
IntPtr Kitware.VTK.vtkModelMetadata.GetBlockAttributes | ( | ) |
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.
IntPtr Kitware.VTK.vtkModelMetadata.GetBlockAttributesIndex | ( | ) |
Get a list of the index into the BlockAttributes of the start of each block's element attribute list.
IntPtr Kitware.VTK.vtkModelMetadata.GetBlockElementIdList | ( | ) |
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.
IntPtr Kitware.VTK.vtkModelMetadata.GetBlockElementIdListIndex | ( | ) |
Get a list of the index into the BlockElementIdList of the start of each block's elements.
IntPtr Kitware.VTK.vtkModelMetadata.GetBlockIds | ( | ) |
An arbitrary integer ID for each block. We use your pointer, and free the memory when the object is freed.
int Kitware.VTK.vtkModelMetadata.GetBlockLocalIndex | ( | int | id | ) |
Block information is stored in arrays. This method returns the array index for a given block ID.
IntPtr Kitware.VTK.vtkModelMetadata.GetBlockNodesPerElement | ( | ) |
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.
IntPtr Kitware.VTK.vtkModelMetadata.GetBlockNumberOfAttributesPerElement | ( | ) |
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.
IntPtr Kitware.VTK.vtkModelMetadata.GetBlockNumberOfElements | ( | ) |
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.
IntPtr Kitware.VTK.vtkModelMetadata.GetBlockPropertyValue | ( | ) |
Set or get value for each variable for each block. List the integer values in order by variable and within variable by block.
int Kitware.VTK.vtkModelMetadata.GetDimension | ( | ) |
Get the dimension of the model. This is also the number of coordinate names.
IntPtr Kitware.VTK.vtkModelMetadata.GetElementVariableNumberOfComponents | ( | ) |
The ModelMetadata object may contain these lists: o the variables in the original data file o the variables created in the u grid from those original variables o a mapping from the grid variable names to the original names o a list of the number of components each grid variable has
(Example: Variables in Exodus II files are all scalars. Some are combined by the ExodusReader into vector variables in the grid.)
These methods return names of the original variables, the names of the grid variables, a list of the number of components in each grid variable, and a list of the index into the list of original variable names where the original name of the first component of a grid variable may be found. The names of subsequent components would immediately follow the name of the the first component.
IntPtr Kitware.VTK.vtkModelMetadata.GetElementVariableTruthTable | ( | ) |
A truth table indicating which element variables are defined for which blocks. The variables are all the original element variables that were in the file. The table is by block ID and within block ID by variable.
IntPtr Kitware.VTK.vtkModelMetadata.GetGlobalVariableValue | ( | ) |
Set or get the values of the global variables at the current time step.
IntPtr Kitware.VTK.vtkModelMetadata.GetMapToOriginalElementVariableNames | ( | ) |
The ModelMetadata object may contain these lists: o the variables in the original data file o the variables created in the u grid from those original variables o a mapping from the grid variable names to the original names o a list of the number of components each grid variable has
(Example: Variables in Exodus II files are all scalars. Some are combined by the ExodusReader into vector variables in the grid.)
These methods return names of the original variables, the names of the grid variables, a list of the number of components in each grid variable, and a list of the index into the list of original variable names where the original name of the first component of a grid variable may be found. The names of subsequent components would immediately follow the name of the the first component.
IntPtr Kitware.VTK.vtkModelMetadata.GetMapToOriginalNodeVariableNames | ( | ) |
The ModelMetadata object may contain these lists: o the variables in the original data file o the variables created in the u grid from those original variables o a mapping from the grid variable names to the original names o a list of the number of components each grid variable has
(Example: Variables in Exodus II files are all scalars. Some are combined by the ExodusReader into vector variables in the grid.)
These methods return names of the original variables, the names of the grid variables, a list of the number of components in each grid variable, and a list of the index into the list of original variable names where the original name of the first component of a grid variable may be found. The names of subsequent components would immediately follow the name of the the first component.
IntPtr Kitware.VTK.vtkModelMetadata.GetNodeSetDistributionFactorIndex | ( | ) |
Get a list of the index of the starting entry for each node set in the list of node set distribution factors.
IntPtr Kitware.VTK.vtkModelMetadata.GetNodeSetDistributionFactors | ( | ) |
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.
IntPtr Kitware.VTK.vtkModelMetadata.GetNodeSetIds | ( | ) |
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.
IntPtr Kitware.VTK.vtkModelMetadata.GetNodeSetNodeIdList | ( | ) |
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.
IntPtr Kitware.VTK.vtkModelMetadata.GetNodeSetNodeIdListIndex | ( | ) |
Get a list of the index of the starting entry for each node set in the list of node set node IDs.
IntPtr Kitware.VTK.vtkModelMetadata.GetNodeSetNumberOfDistributionFactors | ( | ) |
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.
IntPtr Kitware.VTK.vtkModelMetadata.GetNodeSetPropertyValue | ( | ) |
Set or get value for each variable for each node set. List the integer values in order by variable and within variable by node set.
IntPtr Kitware.VTK.vtkModelMetadata.GetNodeSetSize | ( | ) |
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.
IntPtr Kitware.VTK.vtkModelMetadata.GetNodeVariableNumberOfComponents | ( | ) |
The ModelMetadata object may contain these lists: o the variables in the original data file o the variables created in the u grid from those original variables o a mapping from the grid variable names to the original names o a list of the number of components each grid variable has
(Example: Variables in Exodus II files are all scalars. Some are combined by the ExodusReader into vector variables in the grid.)
These methods return names of the original variables, the names of the grid variables, a list of the number of components in each grid variable, and a list of the index into the list of original variable names where the original name of the first component of a grid variable may be found. The names of subsequent components would immediately follow the name of the the first component.
int Kitware.VTK.vtkModelMetadata.GetNumberOfBlockProperties | ( | ) |
The number of block properties (global variables)
int Kitware.VTK.vtkModelMetadata.GetNumberOfBlocks | ( | ) |
The number of blocks in the file. Set this before setting any of the block arrays.
int Kitware.VTK.vtkModelMetadata.GetNumberOfElementVariables | ( | ) |
The ModelMetadata object may contain these lists: o the variables in the original data file o the variables created in the u grid from those original variables o a mapping from the grid variable names to the original names o a list of the number of components each grid variable has
(Example: Variables in Exodus II files are all scalars. Some are combined by the ExodusReader into vector variables in the grid.)
These methods return names of the original variables, the names of the grid variables, a list of the number of components in each grid variable, and a list of the index into the list of original variable names where the original name of the first component of a grid variable may be found. The names of subsequent components would immediately follow the name of the the first component.
int Kitware.VTK.vtkModelMetadata.GetNumberOfGlobalVariables | ( | ) |
Get the number of global variables per time step
int Kitware.VTK.vtkModelMetadata.GetNumberOfInformationLines | ( | ) |
Get the number of information lines.
int Kitware.VTK.vtkModelMetadata.GetNumberOfNodeSetProperties | ( | ) |
The number of node set properties (global variables)
int Kitware.VTK.vtkModelMetadata.GetNumberOfNodeSets | ( | ) |
The number of node sets in the file. Set this value before setting the various node set arrays.
int Kitware.VTK.vtkModelMetadata.GetNumberOfNodeVariables | ( | ) |
The ModelMetadata object may contain these lists: o the variables in the original data file o the variables created in the u grid from those original variables o a mapping from the grid variable names to the original names o a list of the number of components each grid variable has
(Example: Variables in Exodus II files are all scalars. Some are combined by the ExodusReader into vector variables in the grid.)
These methods return names of the original variables, the names of the grid variables, a list of the number of components in each grid variable, and a list of the index into the list of original variable names where the original name of the first component of a grid variable may be found. The names of subsequent components would immediately follow the name of the the first component.
int Kitware.VTK.vtkModelMetadata.GetNumberOfQARecords | ( | ) |
Get the number of QA records
int Kitware.VTK.vtkModelMetadata.GetNumberOfSideSetProperties | ( | ) |
The number of side set properties (global variables)
int Kitware.VTK.vtkModelMetadata.GetNumberOfSideSets | ( | ) |
Set or get the number of side sets. Set this value before setting any of the other side set arrays.
int Kitware.VTK.vtkModelMetadata.GetNumberOfTimeSteps | ( | ) |
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.
int Kitware.VTK.vtkModelMetadata.GetOriginalNumberOfElementVariables | ( | ) |
The ModelMetadata object may contain these lists: o the variables in the original data file o the variables created in the u grid from those original variables o a mapping from the grid variable names to the original names o a list of the number of components each grid variable has
(Example: Variables in Exodus II files are all scalars. Some are combined by the ExodusReader into vector variables in the grid.)
These methods return names of the original variables, the names of the grid variables, a list of the number of components in each grid variable, and a list of the index into the list of original variable names where the original name of the first component of a grid variable may be found. The names of subsequent components would immediately follow the name of the the first component.
int Kitware.VTK.vtkModelMetadata.GetOriginalNumberOfNodeVariables | ( | ) |
The ModelMetadata object may contain these lists: o the variables in the original data file o the variables created in the u grid from those original variables o a mapping from the grid variable names to the original names o a list of the number of components each grid variable has
(Example: Variables in Exodus II files are all scalars. Some are combined by the ExodusReader into vector variables in the grid.)
These methods return names of the original variables, the names of the grid variables, a list of the number of components in each grid variable, and a list of the index into the list of original variable names where the original name of the first component of a grid variable may be found. The names of subsequent components would immediately follow the name of the the first component.
IntPtr Kitware.VTK.vtkModelMetadata.GetSideSetDistributionFactorIndex | ( | ) |
Get a list of the index of the starting entry for each side set in the list of side set distribution factors.
IntPtr Kitware.VTK.vtkModelMetadata.GetSideSetDistributionFactors | ( | ) |
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.
IntPtr Kitware.VTK.vtkModelMetadata.GetSideSetElementList | ( | ) |
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.
IntPtr Kitware.VTK.vtkModelMetadata.GetSideSetIds | ( | ) |
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.
IntPtr Kitware.VTK.vtkModelMetadata.GetSideSetListIndex | ( | ) |
Get a list of the index of the starting entry for each side set in the list of side set side IDs.
IntPtr Kitware.VTK.vtkModelMetadata.GetSideSetNumberOfDistributionFactors | ( | ) |
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.
IntPtr Kitware.VTK.vtkModelMetadata.GetSideSetNumDFPerSide | ( | ) |
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.
IntPtr Kitware.VTK.vtkModelMetadata.GetSideSetPropertyValue | ( | ) |
Set or get value for each variable for each side set. List the integer values in order by variable and within variable by side set.
IntPtr Kitware.VTK.vtkModelMetadata.GetSideSetSideList | ( | ) |
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.
IntPtr Kitware.VTK.vtkModelMetadata.GetSideSetSize | ( | ) |
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 Kitware.VTK.vtkModelMetadata.GetSizeBlockAttributeArray | ( | ) |
Get the length of the list of floating point block attributes.
int Kitware.VTK.vtkModelMetadata.GetSumDistFactPerNodeSet | ( | ) |
Get the total number of distribution factors stored for all node sets
int Kitware.VTK.vtkModelMetadata.GetSumDistFactPerSideSet | ( | ) |
Get the total number of distribution factors stored for all side sets
int Kitware.VTK.vtkModelMetadata.GetSumElementsPerBlock | ( | ) |
Get the length of the list of elements in every block.
int Kitware.VTK.vtkModelMetadata.GetSumNodesPerNodeSet | ( | ) |
Get the total number of nodes in all node sets
int Kitware.VTK.vtkModelMetadata.GetSumSidesPerSideSet | ( | ) |
Get the total number of sides in all side sets
int Kitware.VTK.vtkModelMetadata.GetTimeStepIndex | ( | ) |
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.
IntPtr Kitware.VTK.vtkModelMetadata.GetTimeStepValues | ( | ) |
Get the time step values
string Kitware.VTK.vtkModelMetadata.GetTitle | ( | ) |
The title of the dataset.
|
static |
Static function that returns 1 if the vtkUnstructuredGrid has metadata packed into it's field arrays, and 0 otherwise.
|
virtual |
Undocumented Block
Reimplemented from Kitware.VTK.vtkObject.
|
static |
Undocumented Block
Reimplemented from Kitware.VTK.vtkObject.
int Kitware.VTK.vtkModelMetadata.MergeGlobalInformation | ( | vtkModelMetadata | em | ) |
The metadata is divided into global metadata and local metadata. MergeGlobalInformation merges just the global metadata of the supplied object into the global metadata of this object.
int Kitware.VTK.vtkModelMetadata.MergeModelMetadata | ( | vtkModelMetadata | em | ) |
In VTK we take vtkUnstructuredGrids and perform operations on them, including subsetting and merging grids. We need to modify the metadata object when this happens. MergeModelMetadata merges the supplied model (both global and local metadata) into this model. The models must be from the same file set.
MergeModelMetadata assumes that no element in one metadata object appears in the other. (It doesn't test for duplicate elements when merging the two metadata objects.)
|
static |
Undocumented Block
Reimplemented from Kitware.VTK.vtkObject.
new vtkModelMetadata Kitware.VTK.vtkModelMetadata.NewInstance | ( | ) |
Undocumented Block
Reimplemented from Kitware.VTK.vtkObject.
void Kitware.VTK.vtkModelMetadata.Pack | ( | vtkDataSet | ugrid | ) |
Pack this object's metadata into a field array of a dataset.
|
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 |
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.
|
static |
Static function that removes the packed metadata arrays from a dataset.
int Kitware.VTK.vtkModelMetadata.RemoveUGridElementVariable | ( | string | ugridVarName | ) |
In order to write Exodus files from vtkUnstructuredGrid objects that were read from Exodus files, we need to know the mapping from variable names in the UGrid to variable names in the Exodus file. (The Exodus reader combines scalar variables with similar names into vectors in the UGrid.) When building the UGrid to which this ModelMetadata refers, add each element and node variable name with this call, including the name of original variable that yielded it's first component, and the number of components. If a variable is removed from the UGrid, remove it from the ModelMetadata. (If this information is missing or incomplete, the ExodusIIWriter can still do something sensible in creating names for variables.)
int Kitware.VTK.vtkModelMetadata.RemoveUGridNodeVariable | ( | string | ugridVarName | ) |
In order to write Exodus files from vtkUnstructuredGrid objects that were read from Exodus files, we need to know the mapping from variable names in the UGrid to variable names in the Exodus file. (The Exodus reader combines scalar variables with similar names into vectors in the UGrid.) When building the UGrid to which this ModelMetadata refers, add each element and node variable name with this call, including the name of original variable that yielded it's first component, and the number of components. If a variable is removed from the UGrid, remove it from the ModelMetadata. (If this information is missing or incomplete, the ExodusIIWriter can still do something sensible in creating names for variables.)
void Kitware.VTK.vtkModelMetadata.Reset | ( | ) |
Set the object back to it's initial state
|
static |
Undocumented Block
Reimplemented from Kitware.VTK.vtkObject.
|
virtual |
Instead of a truth table of all "1"s, you can set this instance variable to indicate that all variables are defined in all blocks.
void Kitware.VTK.vtkModelMetadata.SetBlockAttributes | ( | IntPtr | arg0 | ) |
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.
void Kitware.VTK.vtkModelMetadata.SetBlockElementIdList | ( | IntPtr | arg0 | ) |
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.
void Kitware.VTK.vtkModelMetadata.SetBlockIds | ( | IntPtr | arg0 | ) |
An arbitrary integer ID for each block. We use your pointer, and free the memory when the object is freed.
void Kitware.VTK.vtkModelMetadata.SetBlockNodesPerElement | ( | IntPtr | arg0 | ) |
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 Kitware.VTK.vtkModelMetadata.SetBlockNumberOfAttributesPerElement | ( | IntPtr | 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 Kitware.VTK.vtkModelMetadata.SetBlockNumberOfElements | ( | IntPtr | 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.
void Kitware.VTK.vtkModelMetadata.SetBlockPropertyValue | ( | IntPtr | arg0 | ) |
Set or get value for each variable for each block. List the integer values in order by variable and within variable by block.
void Kitware.VTK.vtkModelMetadata.SetElementVariableTruthTable | ( | IntPtr | arg0 | ) |
A truth table indicating which element variables are defined for which blocks. The variables are all the original element variables that were in the file. The table is by block ID and within block ID by variable.
void Kitware.VTK.vtkModelMetadata.SetGlobalVariableValue | ( | IntPtr | f | ) |
Set or get the values of the global variables at the current time step.
void Kitware.VTK.vtkModelMetadata.SetNodeSetDistributionFactors | ( | IntPtr | arg0 | ) |
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.
void Kitware.VTK.vtkModelMetadata.SetNodeSetIds | ( | IntPtr | arg0 | ) |
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.
void Kitware.VTK.vtkModelMetadata.SetNodeSetNodeIdList | ( | IntPtr | arg0 | ) |
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 Kitware.VTK.vtkModelMetadata.SetNodeSetNumberOfDistributionFactors | ( | IntPtr | arg0 | ) |
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.
void Kitware.VTK.vtkModelMetadata.SetNodeSetPropertyValue | ( | IntPtr | arg0 | ) |
Set or get value for each variable for each node set. List the integer values in order by variable and within variable by node set.
int Kitware.VTK.vtkModelMetadata.SetNodeSetSize | ( | IntPtr | arg0 | ) |
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.
|
virtual |
The number of blocks in the file. Set this before setting any of the block arrays.
|
virtual |
The number of node sets in the file. Set this value before setting the various node set arrays.
|
virtual |
Set or get the number of side sets. Set this value before setting any of the other side set arrays.
void Kitware.VTK.vtkModelMetadata.SetSideSetDistributionFactors | ( | IntPtr | arg0 | ) |
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.
void Kitware.VTK.vtkModelMetadata.SetSideSetElementList | ( | IntPtr | arg0 | ) |
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.
void Kitware.VTK.vtkModelMetadata.SetSideSetIds | ( | IntPtr | arg0 | ) |
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 Kitware.VTK.vtkModelMetadata.SetSideSetNumberOfDistributionFactors | ( | IntPtr | 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.
void Kitware.VTK.vtkModelMetadata.SetSideSetNumDFPerSide | ( | IntPtr | 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.
void Kitware.VTK.vtkModelMetadata.SetSideSetPropertyValue | ( | IntPtr | arg0 | ) |
Set or get value for each variable for each side set. List the integer values in order by variable and within variable by side set.
void Kitware.VTK.vtkModelMetadata.SetSideSetSideList | ( | IntPtr | arg0 | ) |
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 Kitware.VTK.vtkModelMetadata.SetSideSetSize | ( | IntPtr | 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.
|
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.
void Kitware.VTK.vtkModelMetadata.SetTimeSteps | ( | int | numberOfTimeSteps, |
IntPtr | 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.
|
virtual |
The title of the dataset.
int Kitware.VTK.vtkModelMetadata.Unpack | ( | vtkDataSet | ugrid, |
int | deleteIt | ||
) |
Unpack the metadata stored in a dataset, and initialize this object with it. Return 1 if there's no metadata packed into the grid, 0 if OK. If deleteIt is ON, then delete the grid's packed data after unpacking it into the object.
|
static |
Automatically generated type registration mechanics.
new const string Kitware.VTK.vtkModelMetadata.MRFullTypeName = "Kitware.VTK.vtkModelMetadata" |
Automatically generated type registration mechanics.