ActiViz .NET
5.8.0
|
vtkDataSetAttributes - represent and manipulate attribute data in a dataset More...
Public Types | |
enum | AttributeCopyOperations { ALLCOPY = 3, COPYTUPLE = 0, INTERPOLATE = 1, PASSDATA = 2 } |
– attribute copy properties ---------------------------------------— More... | |
enum | AttributeLimitTypes { EXACT = 1, MAX = 0, NOLIMIT = 2 } |
– attribute types --------------------------------------------------— More... | |
enum | AttributeTypes { EDGEFLAG = 7, GLOBALIDS = 5, NORMALS = 2, NUM_ATTRIBUTES = 8, PEDIGREEIDS = 6, SCALARS = 0, TCOORDS = 3, TENSORS = 4, VECTORS = 1 } |
– attribute types --------------------------------------------------— More... |
Public Member Functions | |
vtkDataSetAttributes (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. | |
vtkDataSetAttributes () | |
Construct object with copying turned on for all data. | |
override void | CopyAllOff (int ctype) |
Turn off copying of all data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true. | |
override void | CopyAllOn (int ctype) |
Turn on copying of all data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true. | |
void | CopyAllocate (vtkDataSetAttributes pd, long sze, long ext) |
Allocates point data for point-by-point (or cell-by-cell) copy operation. If sze=0, then use the input DataSetAttributes to create (i.e., find initial size of) new objects; otherwise use the sze variable. Note that pd HAS to be the vtkDataSetAttributes object which will later be used with CopyData. If this is not the case, consider using the alternative forms of CopyAllocate and CopyData. ext is no longer used. If shallowCopyArrays is true, input arrays are copied to the output instead of new ones being allocated. | |
void | CopyAllocate (vtkDataSetAttributes pd, long sze, long ext, int shallowCopyArrays) |
Allocates point data for point-by-point (or cell-by-cell) copy operation. If sze=0, then use the input DataSetAttributes to create (i.e., find initial size of) new objects; otherwise use the sze variable. Note that pd HAS to be the vtkDataSetAttributes object which will later be used with CopyData. If this is not the case, consider using the alternative forms of CopyAllocate and CopyData. ext is no longer used. If shallowCopyArrays is true, input arrays are copied to the output instead of new ones being allocated. | |
void | CopyData (vtkDataSetAttributes fromPd, long fromId, long toId) |
Copy the attribute data from one id to another. Make sure CopyAllocate() has been invoked before using this method. When copying a field, the following copying rules are followed: 1) Check if a field is an attribute, if yes and if there is a COPYTUPLE copy flag for that attribute (on or off), obey the flag for that attribute, ignore (2) and (3), 2) if there is a copy field for that field (on or off), obey the flag, ignore (3) 3) obey CopyAllOn/Off | |
virtual void | CopyGlobalIdsOff () |
Turn on/off the copying of global id data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true. | |
virtual void | CopyGlobalIdsOn () |
Turn on/off the copying of global id data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true. | |
virtual void | CopyNormalsOff () |
Turn on/off the copying of normals data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true. | |
virtual void | CopyNormalsOn () |
Turn on/off the copying of normals data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true. | |
virtual void | CopyPedigreeIdsOff () |
Turn on/off the copying of pedigree id data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true. | |
virtual void | CopyPedigreeIdsOn () |
Turn on/off the copying of pedigree id data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true. | |
virtual void | CopyScalarsOff () |
Turn on/off the copying of scalar data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true. | |
virtual void | CopyScalarsOn () |
Turn on/off the copying of scalar data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true. | |
void | CopyStructuredData (vtkDataSetAttributes inDsa, IntPtr inExt, IntPtr outExt) |
This method is used to copy data arrays in images. You should call "CopyAllocate" before calling this method. | |
virtual void | CopyTCoordsOff () |
Turn on/off the copying of texture coordinates data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true. | |
virtual void | CopyTCoordsOn () |
Turn on/off the copying of texture coordinates data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true. | |
virtual void | CopyTensorsOff () |
Turn on/off the copying of tensor data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true. | |
virtual void | CopyTensorsOn () |
Turn on/off the copying of tensor data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true. | |
void | CopyTuple (vtkAbstractArray fromData, vtkAbstractArray toData, long fromId, long toId) |
Copy a tuple of data from one data array to another. This method assumes that the fromData and toData objects are of the same type, and have the same number of components. This is true if you invoke CopyAllocate() or InterpolateAllocate(). | |
virtual void | CopyVectorsOff () |
Turn on/off the copying of vector data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true. | |
virtual void | CopyVectorsOn () |
Turn on/off the copying of vector data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true. | |
override void | DeepCopy (vtkFieldData pd) |
Deep copy of data (i.e., create new data arrays and copy from input data). Ignores the copy flags but preserves them in the output. | |
vtkAbstractArray | GetAbstractAttribute (int attributeType) |
Return an attribute given the attribute type (see vtkDataSetAttributes::AttributeTypes). This is the same as GetAttribute(), except that the returned array is a vtkAbstractArray instead of vtkDataArray. Some attributes (such as PEDIGREEIDS) may not be vtkDataArray subclass. | |
vtkDataArray | GetAttribute (int attributeType) |
Return an attribute given the attribute type (see vtkDataSetAttributes::AttributeTypes). Some attributes (such as PEDIGREEIDS) may not be vtkDataArray subclass, so in that case use GetAbstractAttribute(). | |
void | GetAttributeIndices (IntPtr indexArray) |
Get the field data array indices corresponding to scalars, vectors, tensors, etc. | |
int | GetCopyGlobalIds (int ctype) |
Turn on/off the copying of global id data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true. | |
int | GetCopyNormals (int ctype) |
Turn on/off the copying of normals data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true. | |
int | GetCopyPedigreeIds (int ctype) |
Turn on/off the copying of pedigree id data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true. | |
int | GetCopyScalars (int ctype) |
Turn on/off the copying of scalar data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true. | |
int | GetCopyTCoords (int ctype) |
Turn on/off the copying of texture coordinates data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true. | |
int | GetCopyTensors (int ctype) |
Turn on/off the copying of tensor data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true. | |
int | GetCopyVectors (int ctype) |
Turn on/off the copying of vector data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true. | |
vtkDataArray | GetGlobalIds () |
Set/Get the global id data. | |
vtkDataArray | GetGlobalIds (string name) |
This will first look for an array with the correct name. If one exists, it is returned. Otherwise, the name argument is ignored, and the active attribute is returned. | |
vtkDataArray | GetNormals () |
Set/get the normal data. | |
vtkDataArray | GetNormals (string name) |
This will first look for an array with the correct name. If one exists, it is returned. Otherwise, the name argument is ignored, and the active attribute is returned. | |
vtkAbstractArray | GetPedigreeIds () |
Set/Get the pedigree id data. | |
vtkAbstractArray | GetPedigreeIds (string name) |
This will first look for an array with the correct name. If one exists, it is returned. Otherwise, the name argument is ignored, and the active attribute is returned. | |
vtkDataArray | GetScalars () |
Set/Get the scalar data. | |
vtkDataArray | GetScalars (string name) |
This will first look for an array with the correct name. If one exists, it is returned. Otherwise, the name argument is ignored, and the active attribute is returned. | |
vtkDataArray | GetTCoords () |
Set/Get the texture coordinate data. | |
vtkDataArray | GetTCoords (string name) |
This will first look for an array with the correct name. If one exists, it is returned. Otherwise, the name argument is ignored, and the active attribute is returned. | |
vtkDataArray | GetTensors () |
Set/Get the tensor data. | |
vtkDataArray | GetTensors (string name) |
This will first look for an array with the correct name. If one exists, it is returned. Otherwise, the name argument is ignored, and the active attribute is returned. | |
vtkDataArray | GetVectors () |
Set/Get the vector data. | |
vtkDataArray | GetVectors (string name) |
This will first look for an array with the correct name. If one exists, it is returned. Otherwise, the name argument is ignored, and the active attribute is returned. | |
override void | Initialize () |
Initialize all of the object's data to NULL Also, clear the copy flags. | |
void | InterpolateAllocate (vtkDataSetAttributes pd, long sze, long ext) |
Initialize point interpolation method. Note that pd HAS to be the vtkDataSetAttributes object which will later be used with InterpolatePoint or InterpolateEdge. ext is no longer used. If shallowCopyArrays is true, input arrays are copied to the output instead of new ones being allocated. | |
void | InterpolateAllocate (vtkDataSetAttributes pd, long sze, long ext, int shallowCopyArrays) |
Initialize point interpolation method. Note that pd HAS to be the vtkDataSetAttributes object which will later be used with InterpolatePoint or InterpolateEdge. ext is no longer used. If shallowCopyArrays is true, input arrays are copied to the output instead of new ones being allocated. | |
void | InterpolateEdge (vtkDataSetAttributes fromPd, long toId, long p1, long p2, double t) |
Interpolate data from the two points p1,p2 (forming an edge) and an interpolation factor, t, along the edge. The weight ranges from (0,1), with t=0 located at p1. Make sure that the method InterpolateAllocate() has been invoked before using this method. If the INTERPOLATION copy flag is set to 0 for an array, interpolation is prevented. If the flag is set to 1, weighted interpolation occurs. If the flag is set to 2, nearest neighbor interpolation is used. | |
void | InterpolatePoint (vtkDataSetAttributes fromPd, long toId, vtkIdList ids, IntPtr weights) |
Interpolate data set attributes from other data set attributes given cell or point ids and associated interpolation weights. If the INTERPOLATION copy flag is set to 0 for an array, interpolation is prevented. If the flag is set to 1, weighted interpolation occurs. If the flag is set to 2, nearest neighbor interpolation is used. | |
void | InterpolateTime (vtkDataSetAttributes from1, vtkDataSetAttributes from2, long id, double t) |
Interpolate data from the same id (point or cell) at different points in time (parameter t). Two input data set attributes objects are input. The parameter t lies between (0<=t<=1). IMPORTANT: it is assumed that the number of attributes and number of components is the same for both from1 and from2, and the type of data for from1 and from2 are the same. Make sure that the method InterpolateAllocate() has been invoked before using this method. If the INTERPOLATION copy flag is set to 0 for an array, interpolation is prevented. If the flag is set to 1, weighted interpolation occurs. If the flag is set to 2, nearest neighbor interpolation is used. | |
override int | IsA (string type) |
Construct object with copying turned on for all data. | |
int | IsArrayAnAttribute (int idx) |
Determine whether a data array of index idx is considered a data set attribute (i.e., scalar, vector, tensor, etc). Return less-than zero if it is, otherwise an index 0<=idx<NUM_ATTRIBUTES to indicate which attribute. | |
new vtkDataSetAttributes | NewInstance () |
Construct object with copying turned on for all data. | |
override void | PassData (vtkFieldData fd) |
Pass entire arrays of input data through to output. Obey the "copy" flags. When passing a field, the following copying rules are followed: 1) Check if a field is an attribute, if yes and if there is a PASSDATA copy flag for that attribute (on or off), obey the flag for that attribute, ignore (2) and (3), 2) if there is a copy field for that field (on or off), obey the flag, ignore (3) 3) obey CopyAllOn/Off | |
override void | RemoveArray (string name) |
Remove an array (with the given name) from the list of arrays. | |
virtual void | RemoveArray (int index) |
Remove an array (with the given name) from the list of arrays. | |
int | SetActiveAttribute (string name, int attributeType) |
Make the array with the given name the active attribute. Attribute types are: vtkDataSetAttributes::SCALARS = 0 vtkDataSetAttributes::VECTORS = 1 vtkDataSetAttributes::NORMALS = 2 vtkDataSetAttributes::TCOORDS = 3 vtkDataSetAttributes::TENSORS = 4 vtkDataSetAttributes::GLOBALIDS = 5 vtkDataSetAttributes::PEDIGREEIDS = 6 vtkDataSetAttributes::EDGEFLAG = 7 Returns the index of the array if succesful, -1 if the array is not in the list of arrays. | |
int | SetActiveAttribute (int index, int attributeType) |
Make the array with the given index the active attribute. | |
int | SetActiveGlobalIds (string name) |
Set/Get the global id data. | |
int | SetActiveNormals (string name) |
Set/get the normal data. | |
int | SetActivePedigreeIds (string name) |
Set/Get the pedigree id data. | |
int | SetActiveScalars (string name) |
Set/Get the scalar data. | |
int | SetActiveTCoords (string name) |
Set/Get the texture coordinate data. | |
int | SetActiveTensors (string name) |
Set/Get the tensor data. | |
int | SetActiveVectors (string name) |
Set/Get the vector data. | |
void | SetCopyAttribute (int index, int value, int ctype) |
Specify whether to copy the data attribute referred to by index. ctype selects from the AttributeCopyOperations. If ctype is set to ALLCOPY, then COPYTUPLE, INTERPOLATE, and PASSDATA are set to value. If value is 0, copying is disallowed. otherwise it is allowed. | |
void | SetCopyGlobalIds (int i, int ctype) |
Turn on/off the copying of global id data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true. | |
void | SetCopyNormals (int i, int ctype) |
Turn on/off the copying of normals data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true. | |
void | SetCopyPedigreeIds (int i, int ctype) |
Turn on/off the copying of pedigree id data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true. | |
void | SetCopyScalars (int i, int ctype) |
Turn on/off the copying of scalar data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true. | |
void | SetCopyTCoords (int i, int ctype) |
Turn on/off the copying of texture coordinates data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true. | |
void | SetCopyTensors (int i, int ctype) |
Turn on/off the copying of tensor data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true. | |
void | SetCopyVectors (int i, int ctype) |
Turn on/off the copying of vector data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true. | |
int | SetGlobalIds (vtkDataArray da) |
Set/Get the global id data. | |
int | SetNormals (vtkDataArray da) |
Set/get the normal data. | |
int | SetPedigreeIds (vtkAbstractArray da) |
Set/Get the pedigree id data. | |
int | SetScalars (vtkDataArray da) |
Set/Get the scalar data. | |
int | SetTCoords (vtkDataArray da) |
Set/Get the texture coordinate data. | |
int | SetTensors (vtkDataArray da) |
Set/Get the tensor data. | |
int | SetVectors (vtkDataArray da) |
Set/Get the vector data. | |
override void | ShallowCopy (vtkFieldData pd) |
Shallow copy of data (i.e., use reference counting). Ignores the copy flags but preserves them in the output. | |
virtual void | Update () |
Attributes have a chance to bring themselves up to date; right now this is ignored. | |
![]() | |
vtkFieldData (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. | |
vtkFieldData () | |
Undocumented Block | |
int | AddArray (vtkAbstractArray array) |
Add an array to the array list. If an array with the same name already exists - then the added array will replace it. | |
int | Allocate (long sz, long ext) |
Allocate data for each array. Note that ext is no longer used. | |
void | AllocateArrays (int num) |
AllocateOfArrays actually sets the number of vtkAbstractArray pointers in the vtkFieldData object, not the number of used pointers (arrays). Adding more arrays will cause the object to dynamically adjust the number of pointers if it needs to extend. Although AllocateArrays can be used if the number of arrays which will be added is known, it can be omitted with a small computation cost. | |
void | CopyFieldOff (string name) |
Turn on/off the copying of the field specified by name. During the copying/passing, the following rules are followed for each array: | |
void | CopyFieldOn (string name) |
Turn on/off the copying of the field specified by name. During the copying/passing, the following rules are followed for each array: | |
void | CopyStructure (vtkFieldData arg0) |
Copy data array structure from a given field. The same arrays will exist with the same types, but will contain nothing in the copy. | |
vtkAbstractArray | GetAbstractArray (int i) |
Returns the ith array in the field. Unlike GetArray(), this method returns a vtkAbstractArray. A NULL is returned only if the index i is out of range. | |
vtkAbstractArray | GetAbstractArray (string arrayName, ref int index) |
Return the array with the name given. Returns NULL is array not found. Unlike GetArray(), this method returns a vtkAbstractArray. Also returns index of array if found, -1 otherwise. | |
vtkAbstractArray | GetAbstractArray (string arrayName) |
Return the array with the name given. Returns NULL is array not found. Unlike GetArray(), this method returns a vtkAbstractArray. | |
virtual uint | GetActualMemorySize () |
Return the memory in kilobytes consumed by this field data. Used to support streaming and reading/writing data. The value returned is guaranteed to be greater than or equal to the memory required to actually represent the data represented by this object. | |
vtkDataArray | GetArray (int i) |
Return the ith array in the field. A NULL is returned if the index i is out of range. A NULL is returned if the array at the given index is not a vtkDataArray. | |
vtkDataArray | GetArray (string arrayName, ref int index) |
Return the array with the name given. Returns NULL is array not found. A NULL is also returned if the array with the given name is not a vtkDataArray. Also returns index of array if found, -1 otherwise. | |
vtkDataArray | GetArray (string arrayName) |
Return the array with the name given. Returns NULL is array not found. A NULL is also returned if the array with the given name is not a vtkDataArray. | |
int | GetArrayContainingComponent (int i, ref int arrayComp) |
Return the array containing the ith component of the field. The return value is an integer number n 0<=n<this->NumberOfArrays. Also, an integer value is returned indicating the component in the array is returned. Method returns -1 if specified component is not in the field. | |
string | GetArrayName (int i) |
Get the name of ith array. Note that this is equivalent to: GetAbstractArray(i)->GetName() if ith array pointer is not NULL | |
void | GetField (vtkIdList ptId, vtkFieldData f) |
Get a field from a list of ids. Supplied field f should have same types and number of data arrays as this one (i.e., like CopyStructure() creates). This method should not be used if the instance is from a subclass of vtkFieldData (vtkPointData or vtkCellData). This is because in those cases, the attribute data is stored with the other fields and will cause the method to behave in an unexpected way. | |
override uint | GetMTime () |
Check object's components for modified times. | |
int | GetNumberOfArrays () |
Get the number of arrays of data available. This does not include NULL array pointers therefore after fd->AllocateArray(n); nArrays = GetNumberOfArrays() nArrays is not necessarily equal to n. | |
int | GetNumberOfComponents () |
Get the number of components in the field. This is determined by adding up the components in each non-NULL array. This method should not be used if the instance is from a subclass of vtkFieldData (vtkPointData or vtkCellData). This is because in those cases, the attribute data is stored with the other fields and will cause the method to behave in an unexpected way. | |
long | GetNumberOfTuples () |
Get the number of tuples in the field. Note: some fields have arrays with different numbers of tuples; this method returns the number of tuples in the first array. Mixed-length arrays may have to be treated specially. This method should not be used if the instance is from a subclass of vtkFieldData (vtkPointData or vtkCellData). This is because in those cases, the attribute data is stored with the other fields and will cause the method to behave in an unexpected way. | |
int | HasArray (string name) |
Return 1 if an array with the given name could be found. 0 otherwise. | |
long | InsertNextTuple (long j, vtkFieldData source) |
Insert the jth tuple in source field data at the end of the tuple matrix. Range checking is performed and memory is allocated as necessary. | |
void | InsertTuple (long i, long j, vtkFieldData source) |
Insert the jth tuple in source field data at the ith location. Range checking is performed and memory allocates as necessary. | |
void | Reset () |
Resets each data array in the field (Reset() does not release memory but it makes the arrays look like they are empty.) | |
void | SetNumberOfTuples (long number) |
Set the number of tuples for each data array in the field. This method should not be used if the instance is from a subclass of vtkFieldData (vtkPointData or vtkCellData). This is because in those cases, the attribute data is stored with the other fields and will cause the method to behave in an unexpected way. | |
void | SetTuple (long i, long j, vtkFieldData source) |
Set the jth tuple in source field data at the ith location. Set operations mean that no range checking is performed, so they're faster. | |
void | Squeeze () |
Squeezes each data array in the field (Squeeze() reclaims unused memory.) | |
![]() | |
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. | |
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 vtkDataSetAttributes | New () |
Construct object with copying turned on for all data. | |
static string | GetAttributeTypeAsString (int attributeType) |
Given an integer attribute type, this static method returns a string type for the attribute (i.e. type = 0: returns "Scalars"). | |
static string | GetLongAttributeTypeAsString (int attributeType) |
Given an integer attribute type, this static method returns a string type for the attribute (i.e. type = 0: returns "Scalars"). | |
static new int | IsTypeOf (string type) |
Construct object with copying turned on for all data. | |
static new vtkDataSetAttributes | SafeDownCast (vtkObjectBase o) |
Construct object with copying turned on for all data. |
Public Attributes | |
new const string | MRFullTypeName = "Kitware.VTK.vtkDataSetAttributes" |
Automatically generated type registration mechanics. | |
![]() | |
new const string | MRFullTypeName = "Kitware.VTK.vtkFieldData" |
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 = "20vtkDataSetAttributes" |
Automatically generated type registration mechanics. | |
![]() | |
static new readonly string | MRClassNameKey = "12vtkFieldData" |
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 | vtkDataSetAttributes () |
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. |
vtkDataSetAttributes - represent and manipulate attribute data in a dataset
Description vtkDataSetAttributes is a class that is used to represent and manipulate attribute data (e.g., scalars, vectors, normals, texture coordinates, tensors, global ids, pedigree ids, and field data).
This adds to vtkFieldData the ability to pick one of the arrays from the field as the currently active array for each attribute type. In other words, you pick one array to be called "THE" Scalars, and then filters down the pipeline will treat that array specially. For example vtkContourFilter will contour "THE" Scalar array unless a different array is asked for.
Additionally vtkDataSetAttributes provides methods that filters call to pass data through, copy data into, and interpolate from Fields. PassData passes entire arrays from the source to the destination. Copy passes through some subset of the tuples from the source to the destination. Interpolate interpolates from the chosen tuple(s) in the source data, using the provided weights, to produce new tuples in the destination. Each attribute type has pass, copy and interpolate "copy" flags that can be set in the destination to choose which attribute arrays will be transfered from the source to the destination.
Finally this class provides a mechanism to determine which attributes a group of sources have in common, and to copy tuples from a source into the destination, for only those attributes that are held by all.
|
staticprivate |
Automatically generated type registration mechanics.
Kitware.VTK.vtkDataSetAttributes.vtkDataSetAttributes | ( | IntPtr | rawCppThis, |
bool | callDisposalMethod, | ||
bool | strong | ||
) |
Automatically generated constructor - called from generated code. DO NOT call directly.
Kitware.VTK.vtkDataSetAttributes.vtkDataSetAttributes | ( | ) |
Construct object with copying turned on for all data.
void Kitware.VTK.vtkDataSetAttributes.CopyAllocate | ( | vtkDataSetAttributes | pd, |
long | sze, | ||
long | ext | ||
) |
Allocates point data for point-by-point (or cell-by-cell) copy operation. If sze=0, then use the input DataSetAttributes to create (i.e., find initial size of) new objects; otherwise use the sze variable. Note that pd HAS to be the vtkDataSetAttributes object which will later be used with CopyData. If this is not the case, consider using the alternative forms of CopyAllocate and CopyData. ext is no longer used. If shallowCopyArrays is true, input arrays are copied to the output instead of new ones being allocated.
void Kitware.VTK.vtkDataSetAttributes.CopyAllocate | ( | vtkDataSetAttributes | pd, |
long | sze, | ||
long | ext, | ||
int | shallowCopyArrays | ||
) |
Allocates point data for point-by-point (or cell-by-cell) copy operation. If sze=0, then use the input DataSetAttributes to create (i.e., find initial size of) new objects; otherwise use the sze variable. Note that pd HAS to be the vtkDataSetAttributes object which will later be used with CopyData. If this is not the case, consider using the alternative forms of CopyAllocate and CopyData. ext is no longer used. If shallowCopyArrays is true, input arrays are copied to the output instead of new ones being allocated.
|
virtual |
Turn off copying of all data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true.
During copying, interpolation and passdata, the following rules are followed for each array:
Reimplemented from Kitware.VTK.vtkFieldData.
|
virtual |
Turn on copying of all data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true.
During copying, interpolation and passdata, the following rules are followed for each array:
Reimplemented from Kitware.VTK.vtkFieldData.
void Kitware.VTK.vtkDataSetAttributes.CopyData | ( | vtkDataSetAttributes | fromPd, |
long | fromId, | ||
long | toId | ||
) |
Copy the attribute data from one id to another. Make sure CopyAllocate() has been invoked before using this method. When copying a field, the following copying rules are followed: 1) Check if a field is an attribute, if yes and if there is a COPYTUPLE copy flag for that attribute (on or off), obey the flag for that attribute, ignore (2) and (3), 2) if there is a copy field for that field (on or off), obey the flag, ignore (3) 3) obey CopyAllOn/Off
|
virtual |
Turn on/off the copying of global id data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true.
During copying, interpolation and passdata, the following rules are followed for each array:
|
virtual |
Turn on/off the copying of global id data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true.
During copying, interpolation and passdata, the following rules are followed for each array:
|
virtual |
Turn on/off the copying of normals data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true.
During copying, interpolation and passdata, the following rules are followed for each array:
|
virtual |
Turn on/off the copying of normals data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true.
During copying, interpolation and passdata, the following rules are followed for each array:
|
virtual |
Turn on/off the copying of pedigree id data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true.
During copying, interpolation and passdata, the following rules are followed for each array:
|
virtual |
Turn on/off the copying of pedigree id data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true.
During copying, interpolation and passdata, the following rules are followed for each array:
|
virtual |
Turn on/off the copying of scalar data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true.
During copying, interpolation and passdata, the following rules are followed for each array:
|
virtual |
Turn on/off the copying of scalar data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true.
During copying, interpolation and passdata, the following rules are followed for each array:
void Kitware.VTK.vtkDataSetAttributes.CopyStructuredData | ( | vtkDataSetAttributes | inDsa, |
IntPtr | inExt, | ||
IntPtr | outExt | ||
) |
This method is used to copy data arrays in images. You should call "CopyAllocate" before calling this method.
|
virtual |
Turn on/off the copying of texture coordinates data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true.
During copying, interpolation and passdata, the following rules are followed for each array:
|
virtual |
Turn on/off the copying of texture coordinates data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true.
During copying, interpolation and passdata, the following rules are followed for each array:
|
virtual |
Turn on/off the copying of tensor data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true.
During copying, interpolation and passdata, the following rules are followed for each array:
|
virtual |
Turn on/off the copying of tensor data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true.
During copying, interpolation and passdata, the following rules are followed for each array:
void Kitware.VTK.vtkDataSetAttributes.CopyTuple | ( | vtkAbstractArray | fromData, |
vtkAbstractArray | toData, | ||
long | fromId, | ||
long | toId | ||
) |
Copy a tuple of data from one data array to another. This method assumes that the fromData and toData objects are of the same type, and have the same number of components. This is true if you invoke CopyAllocate() or InterpolateAllocate().
|
virtual |
Turn on/off the copying of vector data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true.
During copying, interpolation and passdata, the following rules are followed for each array:
|
virtual |
Turn on/off the copying of vector data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true.
During copying, interpolation and passdata, the following rules are followed for each array:
|
virtual |
Deep copy of data (i.e., create new data arrays and copy from input data). Ignores the copy flags but preserves them in the output.
Reimplemented from Kitware.VTK.vtkFieldData.
|
protected |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.
Reimplemented from Kitware.VTK.vtkFieldData.
Reimplemented in Kitware.VTK.vtkCellData, and Kitware.VTK.vtkPointData.
vtkAbstractArray Kitware.VTK.vtkDataSetAttributes.GetAbstractAttribute | ( | int | attributeType | ) |
Return an attribute given the attribute type (see vtkDataSetAttributes::AttributeTypes). This is the same as GetAttribute(), except that the returned array is a vtkAbstractArray instead of vtkDataArray. Some attributes (such as PEDIGREEIDS) may not be vtkDataArray subclass.
vtkDataArray Kitware.VTK.vtkDataSetAttributes.GetAttribute | ( | int | attributeType | ) |
Return an attribute given the attribute type (see vtkDataSetAttributes::AttributeTypes). Some attributes (such as PEDIGREEIDS) may not be vtkDataArray subclass, so in that case use GetAbstractAttribute().
void Kitware.VTK.vtkDataSetAttributes.GetAttributeIndices | ( | IntPtr | indexArray | ) |
Get the field data array indices corresponding to scalars, vectors, tensors, etc.
|
static |
Given an integer attribute type, this static method returns a string type for the attribute (i.e. type = 0: returns "Scalars").
int Kitware.VTK.vtkDataSetAttributes.GetCopyGlobalIds | ( | int | ctype | ) |
Turn on/off the copying of global id data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true.
During copying, interpolation and passdata, the following rules are followed for each array:
int Kitware.VTK.vtkDataSetAttributes.GetCopyNormals | ( | int | ctype | ) |
Turn on/off the copying of normals data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true.
During copying, interpolation and passdata, the following rules are followed for each array:
int Kitware.VTK.vtkDataSetAttributes.GetCopyPedigreeIds | ( | int | ctype | ) |
Turn on/off the copying of pedigree id data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true.
During copying, interpolation and passdata, the following rules are followed for each array:
int Kitware.VTK.vtkDataSetAttributes.GetCopyScalars | ( | int | ctype | ) |
Turn on/off the copying of scalar data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true.
During copying, interpolation and passdata, the following rules are followed for each array:
int Kitware.VTK.vtkDataSetAttributes.GetCopyTCoords | ( | int | ctype | ) |
Turn on/off the copying of texture coordinates data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true.
During copying, interpolation and passdata, the following rules are followed for each array:
int Kitware.VTK.vtkDataSetAttributes.GetCopyTensors | ( | int | ctype | ) |
Turn on/off the copying of tensor data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true.
During copying, interpolation and passdata, the following rules are followed for each array:
int Kitware.VTK.vtkDataSetAttributes.GetCopyVectors | ( | int | ctype | ) |
Turn on/off the copying of vector data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true.
During copying, interpolation and passdata, the following rules are followed for each array:
vtkDataArray Kitware.VTK.vtkDataSetAttributes.GetGlobalIds | ( | ) |
Set/Get the global id data.
vtkDataArray Kitware.VTK.vtkDataSetAttributes.GetGlobalIds | ( | string | name | ) |
This will first look for an array with the correct name. If one exists, it is returned. Otherwise, the name argument is ignored, and the active attribute is returned.
|
static |
Given an integer attribute type, this static method returns a string type for the attribute (i.e. type = 0: returns "Scalars").
vtkDataArray Kitware.VTK.vtkDataSetAttributes.GetNormals | ( | ) |
Set/get the normal data.
vtkDataArray Kitware.VTK.vtkDataSetAttributes.GetNormals | ( | string | name | ) |
This will first look for an array with the correct name. If one exists, it is returned. Otherwise, the name argument is ignored, and the active attribute is returned.
vtkAbstractArray Kitware.VTK.vtkDataSetAttributes.GetPedigreeIds | ( | ) |
Set/Get the pedigree id data.
vtkAbstractArray Kitware.VTK.vtkDataSetAttributes.GetPedigreeIds | ( | string | name | ) |
This will first look for an array with the correct name. If one exists, it is returned. Otherwise, the name argument is ignored, and the active attribute is returned.
vtkDataArray Kitware.VTK.vtkDataSetAttributes.GetScalars | ( | ) |
Set/Get the scalar data.
vtkDataArray Kitware.VTK.vtkDataSetAttributes.GetScalars | ( | string | name | ) |
This will first look for an array with the correct name. If one exists, it is returned. Otherwise, the name argument is ignored, and the active attribute is returned.
vtkDataArray Kitware.VTK.vtkDataSetAttributes.GetTCoords | ( | ) |
Set/Get the texture coordinate data.
vtkDataArray Kitware.VTK.vtkDataSetAttributes.GetTCoords | ( | string | name | ) |
This will first look for an array with the correct name. If one exists, it is returned. Otherwise, the name argument is ignored, and the active attribute is returned.
vtkDataArray Kitware.VTK.vtkDataSetAttributes.GetTensors | ( | ) |
Set/Get the tensor data.
vtkDataArray Kitware.VTK.vtkDataSetAttributes.GetTensors | ( | string | name | ) |
This will first look for an array with the correct name. If one exists, it is returned. Otherwise, the name argument is ignored, and the active attribute is returned.
vtkDataArray Kitware.VTK.vtkDataSetAttributes.GetVectors | ( | ) |
Set/Get the vector data.
vtkDataArray Kitware.VTK.vtkDataSetAttributes.GetVectors | ( | string | name | ) |
This will first look for an array with the correct name. If one exists, it is returned. Otherwise, the name argument is ignored, and the active attribute is returned.
|
virtual |
Initialize all of the object's data to NULL Also, clear the copy flags.
Reimplemented from Kitware.VTK.vtkFieldData.
void Kitware.VTK.vtkDataSetAttributes.InterpolateAllocate | ( | vtkDataSetAttributes | pd, |
long | sze, | ||
long | ext | ||
) |
Initialize point interpolation method. Note that pd HAS to be the vtkDataSetAttributes object which will later be used with InterpolatePoint or InterpolateEdge. ext is no longer used. If shallowCopyArrays is true, input arrays are copied to the output instead of new ones being allocated.
void Kitware.VTK.vtkDataSetAttributes.InterpolateAllocate | ( | vtkDataSetAttributes | pd, |
long | sze, | ||
long | ext, | ||
int | shallowCopyArrays | ||
) |
Initialize point interpolation method. Note that pd HAS to be the vtkDataSetAttributes object which will later be used with InterpolatePoint or InterpolateEdge. ext is no longer used. If shallowCopyArrays is true, input arrays are copied to the output instead of new ones being allocated.
void Kitware.VTK.vtkDataSetAttributes.InterpolateEdge | ( | vtkDataSetAttributes | fromPd, |
long | toId, | ||
long | p1, | ||
long | p2, | ||
double | t | ||
) |
Interpolate data from the two points p1,p2 (forming an edge) and an interpolation factor, t, along the edge. The weight ranges from (0,1), with t=0 located at p1. Make sure that the method InterpolateAllocate() has been invoked before using this method. If the INTERPOLATION copy flag is set to 0 for an array, interpolation is prevented. If the flag is set to 1, weighted interpolation occurs. If the flag is set to 2, nearest neighbor interpolation is used.
void Kitware.VTK.vtkDataSetAttributes.InterpolatePoint | ( | vtkDataSetAttributes | fromPd, |
long | toId, | ||
vtkIdList | ids, | ||
IntPtr | weights | ||
) |
Interpolate data set attributes from other data set attributes given cell or point ids and associated interpolation weights. If the INTERPOLATION copy flag is set to 0 for an array, interpolation is prevented. If the flag is set to 1, weighted interpolation occurs. If the flag is set to 2, nearest neighbor interpolation is used.
void Kitware.VTK.vtkDataSetAttributes.InterpolateTime | ( | vtkDataSetAttributes | from1, |
vtkDataSetAttributes | from2, | ||
long | id, | ||
double | t | ||
) |
Interpolate data from the same id (point or cell) at different points in time (parameter t). Two input data set attributes objects are input. The parameter t lies between (0<=t<=1). IMPORTANT: it is assumed that the number of attributes and number of components is the same for both from1 and from2, and the type of data for from1 and from2 are the same. Make sure that the method InterpolateAllocate() has been invoked before using this method. If the INTERPOLATION copy flag is set to 0 for an array, interpolation is prevented. If the flag is set to 1, weighted interpolation occurs. If the flag is set to 2, nearest neighbor interpolation is used.
|
virtual |
Construct object with copying turned on for all data.
Reimplemented from Kitware.VTK.vtkFieldData.
Reimplemented in Kitware.VTK.vtkCellData, and Kitware.VTK.vtkPointData.
int Kitware.VTK.vtkDataSetAttributes.IsArrayAnAttribute | ( | int | idx | ) |
Determine whether a data array of index idx is considered a data set attribute (i.e., scalar, vector, tensor, etc). Return less-than zero if it is, otherwise an index 0<=idx<NUM_ATTRIBUTES to indicate which attribute.
|
static |
Construct object with copying turned on for all data.
Reimplemented from Kitware.VTK.vtkFieldData.
Reimplemented in Kitware.VTK.vtkCellData, and Kitware.VTK.vtkPointData.
|
static |
Construct object with copying turned on for all data.
Reimplemented from Kitware.VTK.vtkFieldData.
Reimplemented in Kitware.VTK.vtkCellData, and Kitware.VTK.vtkPointData.
new vtkDataSetAttributes Kitware.VTK.vtkDataSetAttributes.NewInstance | ( | ) |
Construct object with copying turned on for all data.
Reimplemented from Kitware.VTK.vtkFieldData.
Reimplemented in Kitware.VTK.vtkCellData, and Kitware.VTK.vtkPointData.
|
virtual |
Pass entire arrays of input data through to output. Obey the "copy" flags. When passing a field, the following copying rules are followed: 1) Check if a field is an attribute, if yes and if there is a PASSDATA copy flag for that attribute (on or off), obey the flag for that attribute, ignore (2) and (3), 2) if there is a copy field for that field (on or off), obey the flag, ignore (3) 3) obey CopyAllOn/Off
Reimplemented from Kitware.VTK.vtkFieldData.
|
virtual |
Remove an array (with the given name) from the list of arrays.
Reimplemented from Kitware.VTK.vtkFieldData.
|
virtual |
Remove an array (with the given name) from the list of arrays.
|
static |
Construct object with copying turned on for all data.
Reimplemented from Kitware.VTK.vtkFieldData.
Reimplemented in Kitware.VTK.vtkPointData, and Kitware.VTK.vtkCellData.
int Kitware.VTK.vtkDataSetAttributes.SetActiveAttribute | ( | string | name, |
int | attributeType | ||
) |
Make the array with the given name the active attribute. Attribute types are: vtkDataSetAttributes::SCALARS = 0 vtkDataSetAttributes::VECTORS = 1 vtkDataSetAttributes::NORMALS = 2 vtkDataSetAttributes::TCOORDS = 3 vtkDataSetAttributes::TENSORS = 4 vtkDataSetAttributes::GLOBALIDS = 5 vtkDataSetAttributes::PEDIGREEIDS = 6 vtkDataSetAttributes::EDGEFLAG = 7 Returns the index of the array if succesful, -1 if the array is not in the list of arrays.
int Kitware.VTK.vtkDataSetAttributes.SetActiveAttribute | ( | int | index, |
int | attributeType | ||
) |
Make the array with the given index the active attribute.
int Kitware.VTK.vtkDataSetAttributes.SetActiveGlobalIds | ( | string | name | ) |
Set/Get the global id data.
int Kitware.VTK.vtkDataSetAttributes.SetActiveNormals | ( | string | name | ) |
Set/get the normal data.
int Kitware.VTK.vtkDataSetAttributes.SetActivePedigreeIds | ( | string | name | ) |
Set/Get the pedigree id data.
int Kitware.VTK.vtkDataSetAttributes.SetActiveScalars | ( | string | name | ) |
Set/Get the scalar data.
int Kitware.VTK.vtkDataSetAttributes.SetActiveTCoords | ( | string | name | ) |
Set/Get the texture coordinate data.
int Kitware.VTK.vtkDataSetAttributes.SetActiveTensors | ( | string | name | ) |
Set/Get the tensor data.
int Kitware.VTK.vtkDataSetAttributes.SetActiveVectors | ( | string | name | ) |
Set/Get the vector data.
void Kitware.VTK.vtkDataSetAttributes.SetCopyAttribute | ( | int | index, |
int | value, | ||
int | ctype | ||
) |
Specify whether to copy the data attribute referred to by index. ctype selects from the AttributeCopyOperations. If ctype is set to ALLCOPY, then COPYTUPLE, INTERPOLATE, and PASSDATA are set to value. If value is 0, copying is disallowed. otherwise it is allowed.
void Kitware.VTK.vtkDataSetAttributes.SetCopyGlobalIds | ( | int | i, |
int | ctype | ||
) |
Turn on/off the copying of global id data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true.
During copying, interpolation and passdata, the following rules are followed for each array:
void Kitware.VTK.vtkDataSetAttributes.SetCopyNormals | ( | int | i, |
int | ctype | ||
) |
Turn on/off the copying of normals data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true.
During copying, interpolation and passdata, the following rules are followed for each array:
void Kitware.VTK.vtkDataSetAttributes.SetCopyPedigreeIds | ( | int | i, |
int | ctype | ||
) |
Turn on/off the copying of pedigree id data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true.
During copying, interpolation and passdata, the following rules are followed for each array:
void Kitware.VTK.vtkDataSetAttributes.SetCopyScalars | ( | int | i, |
int | ctype | ||
) |
Turn on/off the copying of scalar data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true.
During copying, interpolation and passdata, the following rules are followed for each array:
void Kitware.VTK.vtkDataSetAttributes.SetCopyTCoords | ( | int | i, |
int | ctype | ||
) |
Turn on/off the copying of texture coordinates data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true.
During copying, interpolation and passdata, the following rules are followed for each array:
void Kitware.VTK.vtkDataSetAttributes.SetCopyTensors | ( | int | i, |
int | ctype | ||
) |
Turn on/off the copying of tensor data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true.
During copying, interpolation and passdata, the following rules are followed for each array:
void Kitware.VTK.vtkDataSetAttributes.SetCopyVectors | ( | int | i, |
int | ctype | ||
) |
Turn on/off the copying of vector data. ctype is one of the AttributeCopyOperations, and controls copy, interpolate and passdata behavior. For set, ctype=ALLCOPY means set all three flags to the same value. For get, ctype=ALLCOPY returns true only if all three flags are true.
During copying, interpolation and passdata, the following rules are followed for each array:
int Kitware.VTK.vtkDataSetAttributes.SetGlobalIds | ( | vtkDataArray | da | ) |
Set/Get the global id data.
int Kitware.VTK.vtkDataSetAttributes.SetNormals | ( | vtkDataArray | da | ) |
Set/get the normal data.
int Kitware.VTK.vtkDataSetAttributes.SetPedigreeIds | ( | vtkAbstractArray | da | ) |
Set/Get the pedigree id data.
int Kitware.VTK.vtkDataSetAttributes.SetScalars | ( | vtkDataArray | da | ) |
Set/Get the scalar data.
int Kitware.VTK.vtkDataSetAttributes.SetTCoords | ( | vtkDataArray | da | ) |
Set/Get the texture coordinate data.
int Kitware.VTK.vtkDataSetAttributes.SetTensors | ( | vtkDataArray | da | ) |
Set/Get the tensor data.
int Kitware.VTK.vtkDataSetAttributes.SetVectors | ( | vtkDataArray | da | ) |
Set/Get the vector data.
|
virtual |
Shallow copy of data (i.e., use reference counting). Ignores the copy flags but preserves them in the output.
Reimplemented from Kitware.VTK.vtkFieldData.
|
virtual |
Attributes have a chance to bring themselves up to date; right now this is ignored.
|
static |
Automatically generated type registration mechanics.
new const string Kitware.VTK.vtkDataSetAttributes.MRFullTypeName = "Kitware.VTK.vtkDataSetAttributes" |
Automatically generated type registration mechanics.