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.vtkAssignAttribute Class Reference

vtkAssignAttribute - Labels a field as an attribute More...

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

List of all members.

Public Types

enum  AttributeLocation {
  CELL_DATA = 1, EDGE_DATA = 3, NUM_ATTRIBUTE_LOCS = 4, POINT_DATA = 0,
  VERTEX_DATA = 2
}
 Helper method used by other language bindings. Allows the caller to specify arguments as strings instead of enums. More...

Public Member Functions

 vtkAssignAttribute (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkAssignAttribute ()
 Create a new vtkAssignAttribute.
void Assign (int inputAttributeType, int attributeType, int attributeLoc)
 Label an attribute as another attribute.
void Assign (string fieldName, int attributeType, int attributeLoc)
 Label an array as an attribute.
void Assign (string name, string attributeType, string attributeLoc)
 Helper method used by other language bindings. Allows the caller to specify arguments as strings instead of enums.
override int IsA (string type)
 Undocumented Block.
new vtkAssignAttribute NewInstance ()
 Undocumented Block.

Static Public Member Functions

static new vtkAssignAttribute New ()
 Create a new vtkAssignAttribute.
static new int IsTypeOf (string type)
 Undocumented Block.
static new vtkAssignAttribute SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "18vtkAssignAttribute"
 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 vtkAssignAttribute_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkAssignAttribute_Assign_01 (HandleRef pThis, int inputAttributeType, int attributeType, int attributeLoc)
static internal void vtkAssignAttribute_Assign_02 (HandleRef pThis, string fieldName, int attributeType, int attributeLoc)
static internal void vtkAssignAttribute_Assign_03 (HandleRef pThis, string name, string attributeType, string attributeLoc)
static internal int vtkAssignAttribute_IsA_04 (HandleRef pThis, string type)
static internal int vtkAssignAttribute_IsTypeOf_05 (string type)
static internal IntPtr vtkAssignAttribute_NewInstance_07 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkAssignAttribute_SafeDownCast_08 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)

Static Private Member Functions

static vtkAssignAttribute ()
 Automatically generated type registration mechanics.

Detailed Description

vtkAssignAttribute - Labels a field as an attribute

Description vtkAssignAttribute is use to label a field (vtkDataArray) as an attribute. A field name or an attribute to labeled can be specified. For example:

/// aa->Assign("foo", vtkDataSetAttributes::SCALARS, 
///            vtkAssignAttribute::POINT_DATA);
/// 

tells vtkAssignAttribute to make the array in the point data called "foo" the active scalars. On the other hand,

/// aa->Assign(vtkDataSetAttributes::VECTORS, vtkDataSetAttributes::SCALARS, 
///            vtkAssignAttribute::POINT_DATA);
/// 

tells vtkAssignAttribute to make the active vectors also the active scalars. The same can be done more easily from Tcl by using the Assign() method which takes strings:

/// aa Assign "foo" SCALARS POINT_DATA 
/// or
/// aa Assign SCALARS VECTORS POINT_DATA
///
/// AttributeTypes: SCALARS, VECTORS, NORMALS, TCOORDS, TENSORS
/// Attribute locations: POINT_DATA, CELL_DATA
/// 

Member Enumeration Documentation

Helper method used by other language bindings. Allows the caller to specify arguments as strings instead of enums.

Enumerator:
CELL_DATA 

enum member

EDGE_DATA 

enum member

NUM_ATTRIBUTE_LOCS 

enum member

POINT_DATA 

enum member

VERTEX_DATA 

enum member


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

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

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

Create a new vtkAssignAttribute.


Member Function Documentation

void Kitware.VTK.vtkAssignAttribute.Assign ( int  inputAttributeType,
int  attributeType,
int  attributeLoc 
)

Label an attribute as another attribute.

void Kitware.VTK.vtkAssignAttribute.Assign ( string  fieldName,
int  attributeType,
int  attributeLoc 
)

Label an array as an attribute.

void Kitware.VTK.vtkAssignAttribute.Assign ( string  name,
string  attributeType,
string  attributeLoc 
)

Helper method used by other language bindings. Allows the caller to specify arguments as strings instead of enums.

override void Kitware.VTK.vtkAssignAttribute.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.vtkPassInputTypeAlgorithm.

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkPassInputTypeAlgorithm.

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkPassInputTypeAlgorithm.

Create a new vtkAssignAttribute.

Reimplemented from Kitware.VTK.vtkPassInputTypeAlgorithm.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkPassInputTypeAlgorithm.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkPassInputTypeAlgorithm.

Here is the call graph for this function:

static internal void Kitware.VTK.vtkAssignAttribute.vtkAssignAttribute_Assign_01 ( HandleRef  pThis,
int  inputAttributeType,
int  attributeType,
int  attributeLoc 
) [private]
static internal void Kitware.VTK.vtkAssignAttribute.vtkAssignAttribute_Assign_02 ( HandleRef  pThis,
string  fieldName,
int  attributeType,
int  attributeLoc 
) [private]
static internal void Kitware.VTK.vtkAssignAttribute.vtkAssignAttribute_Assign_03 ( HandleRef  pThis,
string  name,
string  attributeType,
string  attributeLoc 
) [private]
static internal int Kitware.VTK.vtkAssignAttribute.vtkAssignAttribute_IsA_04 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkAssignAttribute.vtkAssignAttribute_IsTypeOf_05 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkAssignAttribute.vtkAssignAttribute_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkAssignAttribute.vtkAssignAttribute_NewInstance_07 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkAssignAttribute.vtkAssignAttribute_SafeDownCast_08 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]

Member Data Documentation

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkPassInputTypeAlgorithm.

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkPassInputTypeAlgorithm.


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