ActiViz .NET  5.8.0
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Private Member Functions | Static Private Member Functions
Kitware.VTK.vtkRearrangeFields Class Reference

vtkRearrangeFields - Move/copy fields between field data, point data and cell data More...

Inheritance diagram for Kitware.VTK.vtkRearrangeFields:
[legend]
Collaboration diagram for Kitware.VTK.vtkRearrangeFields:
[legend]

List of all members.

Public Types

enum  FieldLocation { CELL_DATA = 2, DATA_OBJECT = 0, POINT_DATA = 1 }
 Create a new vtkRearrangeFields with an empty operation list. More...
enum  FieldType { ATTRIBUTE = 1, NAME = 0 }
 Remove all operations. More...
enum  OperationType { COPY = 0, MOVE = 1 }
 Create a new vtkRearrangeFields with an empty operation list. More...

Public Member Functions

 vtkRearrangeFields (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkRearrangeFields ()
 Create a new vtkRearrangeFields with an empty operation list.
int AddOperation (int operationType, int attributeType, int fromFieldLoc, int toFieldLoc)
 Add an operation which copies an attribute's field (data array) from one field data to another. Returns an operation id which can later be used to remove the operation.
int AddOperation (int operationType, string name, int fromFieldLoc, int toFieldLoc)
 Add an operation which copies a field (data array) from one field data to another. Returns an operation id which can later be used to remove the operation.
int AddOperation (string operationType, string attributeType, string fromFieldLoc, string toFieldLoc)
 Helper method used by other language bindings. Allows the caller to specify arguments as strings instead of enums.Returns an operation id which can later be used to remove the operation.
override int IsA (string type)
 Undocumented Block.
new vtkRearrangeFields NewInstance ()
 Undocumented Block.
void RemoveAllOperations ()
 Remove all operations.
int RemoveOperation (int operationId)
 Remove an operation with the given id.
int RemoveOperation (int operationType, int attributeType, int fromFieldLoc, int toFieldLoc)
 Remove an operation with the given signature. See AddOperation for details.
int RemoveOperation (int operationType, string name, int fromFieldLoc, int toFieldLoc)
 Remove an operation with the given signature. See AddOperation for details.
int RemoveOperation (string operationType, string attributeType, string fromFieldLoc, string toFieldLoc)
 Remove an operation with the given signature. See AddOperation for details.

Static Public Member Functions

static new vtkRearrangeFields New ()
 Create a new vtkRearrangeFields with an empty operation list.
static new int IsTypeOf (string type)
 Undocumented Block.
static new vtkRearrangeFields SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkRearrangeFields"
 Automatically generated type registration mechanics.

Static Public Attributes

static new readonly string MRClassNameKey = "18vtkRearrangeFields"
 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.

Private Member Functions

static internal IntPtr vtkRearrangeFields_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkRearrangeFields_AddOperation_01 (HandleRef pThis, int operationType, int attributeType, int fromFieldLoc, int toFieldLoc)
static internal int vtkRearrangeFields_AddOperation_02 (HandleRef pThis, int operationType, string name, int fromFieldLoc, int toFieldLoc)
static internal int vtkRearrangeFields_AddOperation_03 (HandleRef pThis, string operationType, string attributeType, string fromFieldLoc, string toFieldLoc)
static internal int vtkRearrangeFields_IsA_04 (HandleRef pThis, string type)
static internal int vtkRearrangeFields_IsTypeOf_05 (string type)
static internal IntPtr vtkRearrangeFields_NewInstance_07 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkRearrangeFields_RemoveAllOperations_08 (HandleRef pThis)
static internal int vtkRearrangeFields_RemoveOperation_09 (HandleRef pThis, int operationId)
static internal int vtkRearrangeFields_RemoveOperation_10 (HandleRef pThis, int operationType, int attributeType, int fromFieldLoc, int toFieldLoc)
static internal int vtkRearrangeFields_RemoveOperation_11 (HandleRef pThis, int operationType, string name, int fromFieldLoc, int toFieldLoc)
static internal int vtkRearrangeFields_RemoveOperation_12 (HandleRef pThis, string operationType, string attributeType, string fromFieldLoc, string toFieldLoc)
static internal IntPtr vtkRearrangeFields_SafeDownCast_13 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)

Static Private Member Functions

static vtkRearrangeFields ()
 Automatically generated type registration mechanics.

Detailed Description

vtkRearrangeFields - Move/copy fields between field data, point data and cell data

Description vtkRearrangeFields is used to copy/move fields (vtkDataArrays) between data object's field data, point data and cell data. To specify which fields are copied/moved, the user adds operations. There are two types of operations: 1. the type which copies/moves an attribute's data (i.e. the field will be copied but will not be an attribute in the target), 2. the type which copies/moves fields by name. For example:

/// rf->AddOperation(vtkRearrangeFields::COPY, "foo", 
///                  vtkRearrangeFields::DATA_OBJECT, 
///                  vtkRearrangeFields::POINT_DATA);
/// 

adds an operation which copies a field (data array) called foo from the data object's field data to point data. From Tcl, the same operation can be added as follows:

/// rf AddOperation COPY foo DATA_OBJECT POINT_DATA
/// 

The same can be done using Python and Java bindings by passing strings as arguments.

/// Operation types: COPY, MOVE
/// AttributeTypes: SCALARS, VECTORS, NORMALS, TCOORDS, TENSORS
/// Field data locations: DATA_OBJECT, POINT_DATA, CELL_DATA
/// 

Member Enumeration Documentation

Create a new vtkRearrangeFields with an empty operation list.

Enumerator:
CELL_DATA 

enum member

DATA_OBJECT 

enum member

POINT_DATA 

enum member

Remove all operations.

Enumerator:
ATTRIBUTE 

enum member

NAME 

enum member

Create a new vtkRearrangeFields with an empty operation list.

Enumerator:
COPY 

enum member

MOVE 

enum member


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

Kitware.VTK.vtkRearrangeFields.vtkRearrangeFields ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.

Create a new vtkRearrangeFields with an empty operation list.


Member Function Documentation

int Kitware.VTK.vtkRearrangeFields.AddOperation ( int  operationType,
int  attributeType,
int  fromFieldLoc,
int  toFieldLoc 
)

Add an operation which copies an attribute's field (data array) from one field data to another. Returns an operation id which can later be used to remove the operation.

int Kitware.VTK.vtkRearrangeFields.AddOperation ( int  operationType,
string  name,
int  fromFieldLoc,
int  toFieldLoc 
)

Add an operation which copies a field (data array) from one field data to another. Returns an operation id which can later be used to remove the operation.

int Kitware.VTK.vtkRearrangeFields.AddOperation ( string  operationType,
string  attributeType,
string  fromFieldLoc,
string  toFieldLoc 
)

Helper method used by other language bindings. Allows the caller to specify arguments as strings instead of enums.Returns an operation id which can later be used to remove the operation.

override void Kitware.VTK.vtkRearrangeFields.Dispose ( bool  disposing) [protected]

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Reimplemented from Kitware.VTK.vtkDataSetAlgorithm.

override int Kitware.VTK.vtkRearrangeFields.IsA ( string  type) [virtual]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkDataSetAlgorithm.

static new int Kitware.VTK.vtkRearrangeFields.IsTypeOf ( string  type) [static]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkDataSetAlgorithm.

Create a new vtkRearrangeFields with an empty operation list.

Reimplemented from Kitware.VTK.vtkDataSetAlgorithm.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkDataSetAlgorithm.

Remove all operations.

Remove an operation with the given id.

int Kitware.VTK.vtkRearrangeFields.RemoveOperation ( int  operationType,
int  attributeType,
int  fromFieldLoc,
int  toFieldLoc 
)

Remove an operation with the given signature. See AddOperation for details.

int Kitware.VTK.vtkRearrangeFields.RemoveOperation ( int  operationType,
string  name,
int  fromFieldLoc,
int  toFieldLoc 
)

Remove an operation with the given signature. See AddOperation for details.

int Kitware.VTK.vtkRearrangeFields.RemoveOperation ( string  operationType,
string  attributeType,
string  fromFieldLoc,
string  toFieldLoc 
)

Remove an operation with the given signature. See AddOperation for details.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkDataSetAlgorithm.

Here is the call graph for this function:

static internal int Kitware.VTK.vtkRearrangeFields.vtkRearrangeFields_AddOperation_01 ( HandleRef  pThis,
int  operationType,
int  attributeType,
int  fromFieldLoc,
int  toFieldLoc 
) [private]
static internal int Kitware.VTK.vtkRearrangeFields.vtkRearrangeFields_AddOperation_02 ( HandleRef  pThis,
int  operationType,
string  name,
int  fromFieldLoc,
int  toFieldLoc 
) [private]
static internal int Kitware.VTK.vtkRearrangeFields.vtkRearrangeFields_AddOperation_03 ( HandleRef  pThis,
string  operationType,
string  attributeType,
string  fromFieldLoc,
string  toFieldLoc 
) [private]
static internal int Kitware.VTK.vtkRearrangeFields.vtkRearrangeFields_IsA_04 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkRearrangeFields.vtkRearrangeFields_IsTypeOf_05 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkRearrangeFields.vtkRearrangeFields_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkRearrangeFields.vtkRearrangeFields_NewInstance_07 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkRearrangeFields.vtkRearrangeFields_RemoveAllOperations_08 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkRearrangeFields.vtkRearrangeFields_RemoveOperation_09 ( HandleRef  pThis,
int  operationId 
) [private]
static internal int Kitware.VTK.vtkRearrangeFields.vtkRearrangeFields_RemoveOperation_10 ( HandleRef  pThis,
int  operationType,
int  attributeType,
int  fromFieldLoc,
int  toFieldLoc 
) [private]
static internal int Kitware.VTK.vtkRearrangeFields.vtkRearrangeFields_RemoveOperation_11 ( HandleRef  pThis,
int  operationType,
string  name,
int  fromFieldLoc,
int  toFieldLoc 
) [private]
static internal int Kitware.VTK.vtkRearrangeFields.vtkRearrangeFields_RemoveOperation_12 ( HandleRef  pThis,
string  operationType,
string  attributeType,
string  fromFieldLoc,
string  toFieldLoc 
) [private]
static internal IntPtr Kitware.VTK.vtkRearrangeFields.vtkRearrangeFields_SafeDownCast_13 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkRearrangeFields.MRClassNameKey = "18vtkRearrangeFields" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkDataSetAlgorithm.

new const string Kitware.VTK.vtkRearrangeFields.MRFullTypeName = "Kitware.VTK.vtkRearrangeFields"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkDataSetAlgorithm.


The documentation for this class was generated from the following file: