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

vtkGenericAttribute - abstract class defined API for attribute data More...

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

List of all members.

Public Member Functions

 vtkGenericAttribute (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
virtual void DeepCopy (vtkGenericAttribute other)
 Recursive duplication of `other' in `this'.
virtual uint GetActualMemorySize ()
 Size in kilobytes taken by the attribute.
virtual int GetCentering ()
 Is the attribute centered either on points, cells or boundaries?
virtual void GetComponent (int i, vtkGenericCellIterator c, IntPtr values)
 Put component `i' of the attribute at all points of cell `c' in `values'.
virtual double GetComponent (int i, vtkGenericPointIterator p)
 Value of the component `i' of the attribute at position `p'.
virtual int GetComponentType ()
 Type of the components of the attribute: int, float, double.
virtual double GetMaxNorm ()
 Return the maximum euclidean norm for the tuples.
virtual string GetName ()
 Name of the attribute. (e.g. "velocity")
virtual int GetNumberOfComponents ()
 Dimension of the attribute. (1 for scalar, 3 for velocity)
virtual IntPtr GetRange (int component)
 Range of the attribute component `component'. If `component'==-1, it returns the range of the magnitude (euclidean norm). It returns double, even if GetType()==VTK_INT. NOT THREAD SAFE.
virtual void GetRange (int component, IntPtr range)
 Range of the attribute component `component'. If `component'==-1, it returns the range of the magnitude (euclidean norm). THREAD SAFE.
virtual int GetSize ()
 Number of tuples.
virtual IntPtr GetTuple (vtkGenericAdaptorCell c)
 Attribute at all points of cell `c'.
virtual void GetTuple (vtkGenericAdaptorCell c, IntPtr tuple)
 Put attribute at all points of cell `c' in `tuple'.
virtual IntPtr GetTuple (vtkGenericCellIterator c)
 Attribute at all points of cell `c'.
virtual void GetTuple (vtkGenericCellIterator c, IntPtr tuple)
 Put attribute at all points of cell `c' in `tuple'.
virtual IntPtr GetTuple (vtkGenericPointIterator p)
 Value of the attribute at position `p'.
virtual void GetTuple (vtkGenericPointIterator p, IntPtr tuple)
 Put the value of the attribute at position `p' into `tuple'.
virtual int GetTypeWrapper ()
 Type of the attribute: scalar, vector, normal, texture coordinate, tensor.
override int IsA (string type)
 Undocumented Block.
new vtkGenericAttribute NewInstance ()
 Undocumented Block.
virtual void ShallowCopy (vtkGenericAttribute other)
 Update `this' using fields of `other'.

Static Public Member Functions

static new int IsTypeOf (string type)
 Undocumented Block.
static new vtkGenericAttribute SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "19vtkGenericAttribute"
 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 void vtkGenericAttribute_DeepCopy_01 (HandleRef pThis, HandleRef other)
static internal uint vtkGenericAttribute_GetActualMemorySize_02 (HandleRef pThis)
static internal int vtkGenericAttribute_GetCentering_03 (HandleRef pThis)
static internal void vtkGenericAttribute_GetComponent_04 (HandleRef pThis, int i, HandleRef c, IntPtr values)
static internal double vtkGenericAttribute_GetComponent_05 (HandleRef pThis, int i, HandleRef p)
static internal int vtkGenericAttribute_GetComponentType_06 (HandleRef pThis)
static internal double vtkGenericAttribute_GetMaxNorm_07 (HandleRef pThis)
static internal IntPtr vtkGenericAttribute_GetName_08 (HandleRef pThis)
static internal int vtkGenericAttribute_GetNumberOfComponents_09 (HandleRef pThis)
static internal IntPtr vtkGenericAttribute_GetRange_10 (HandleRef pThis, int component)
static internal void vtkGenericAttribute_GetRange_11 (HandleRef pThis, int component, IntPtr range)
static internal int vtkGenericAttribute_GetSize_12 (HandleRef pThis)
static internal IntPtr vtkGenericAttribute_GetTuple_13 (HandleRef pThis, HandleRef c)
static internal void vtkGenericAttribute_GetTuple_14 (HandleRef pThis, HandleRef c, IntPtr tuple)
static internal IntPtr vtkGenericAttribute_GetTuple_15 (HandleRef pThis, HandleRef c)
static internal void vtkGenericAttribute_GetTuple_16 (HandleRef pThis, HandleRef c, IntPtr tuple)
static internal IntPtr vtkGenericAttribute_GetTuple_17 (HandleRef pThis, HandleRef p)
static internal void vtkGenericAttribute_GetTuple_18 (HandleRef pThis, HandleRef p, IntPtr tuple)
static internal int vtkGenericAttribute_GetType_19 (HandleRef pThis)
static internal int vtkGenericAttribute_IsA_20 (HandleRef pThis, string type)
static internal int vtkGenericAttribute_IsTypeOf_21 (string type)
static internal IntPtr vtkGenericAttribute_NewInstance_22 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkGenericAttribute_SafeDownCast_23 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkGenericAttribute_ShallowCopy_24 (HandleRef pThis, HandleRef other)

Static Private Member Functions

static vtkGenericAttribute ()
 Automatically generated type registration mechanics.

Detailed Description

vtkGenericAttribute - abstract class defined API for attribute data

Description vtkGenericAttribute is an abstract class that defines an API for attribute data. Attribute data is data associated with the topology or geometry of a dataset (i.e., points, cells, etc.). vtkGenericAttribute is part of the adaptor framework (see GenericFiltering/README.html).

vtkGenericAttribute provides a more general interface to attribute data than its counterpart vtkDataArray (which assumes a linear, contiguous array). It adopts an iterator interface, and allows attributes to be associated with points, edges, faces, or edges.


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

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

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


Member Function Documentation

Recursive duplication of `other' in `this'.

Precondition:
other_exists: other!=0
not_self: other!=this
override void Kitware.VTK.vtkGenericAttribute.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.vtkObject.

Size in kilobytes taken by the attribute.

Is the attribute centered either on points, cells or boundaries?

Postcondition:
valid_result: (result==vtkPointCentered)||(result==vtkCellCentered)
virtual void Kitware.VTK.vtkGenericAttribute.GetComponent ( int  i,
vtkGenericCellIterator  c,
IntPtr  values 
) [virtual]

Put component `i' of the attribute at all points of cell `c' in `values'.

Precondition:
valid_component: (i>=0) && (i<GetNumberOfComponents())
c_exists: c!=0
c_valid: !c->IsAtEnd()
values_exist: values!=0
valid_values: sizeof(values)>=c->GetCell()->GetNumberOfPoints()
virtual double Kitware.VTK.vtkGenericAttribute.GetComponent ( int  i,
vtkGenericPointIterator  p 
) [virtual]

Value of the component `i' of the attribute at position `p'.

Precondition:
valid_component: (i>=0) && (i<GetNumberOfComponents())
p_exists: p!=0
p_valid: !p->IsAtEnd()

Type of the components of the attribute: int, float, double.

Postcondition:
valid_result: (result==VTK_BIT) ||(result==VTK_CHAR) ||(result==VTK_UNSIGNED_CHAR) ||(result==VTK_SHORT) ||(result==VTK_UNSIGNED_SHORT)||(result==VTK_INT) ||(result==VTK_UNSIGNED_INT) ||(result==VTK_LONG) ||(result==VTK_UNSIGNED_LONG) ||(result==VTK_FLOAT) ||(result==VTK_DOUBLE) ||(result==VTK_ID_TYPE)
virtual double Kitware.VTK.vtkGenericAttribute.GetMaxNorm ( ) [virtual]

Return the maximum euclidean norm for the tuples.

Postcondition:
positive_result: result>=0
virtual string Kitware.VTK.vtkGenericAttribute.GetName ( ) [virtual]

Name of the attribute. (e.g. "velocity")

Postcondition:
result_may_not_exist: result!=0 || result==0

Dimension of the attribute. (1 for scalar, 3 for velocity)

Postcondition:
positive_result: result>=0
GetType()==VTK_SCALARS implies result==1
(GetType()==VTK_VECTORS||(GetType()==VTK_NORMALS)||(GetType()==VTK_TCOORDS) implies result==3
GetType()==VTK_TENSORS implies result==6
virtual IntPtr Kitware.VTK.vtkGenericAttribute.GetRange ( int  component) [virtual]

Range of the attribute component `component'. If `component'==-1, it returns the range of the magnitude (euclidean norm). It returns double, even if GetType()==VTK_INT. NOT THREAD SAFE.

Precondition:
valid_component: (component>=-1)&&(component<GetNumberOfComponents())
Postcondition:
result_exists: result!=0
virtual void Kitware.VTK.vtkGenericAttribute.GetRange ( int  component,
IntPtr  range 
) [virtual]

Range of the attribute component `component'. If `component'==-1, it returns the range of the magnitude (euclidean norm). THREAD SAFE.

Precondition:
valid_component: (component>=-1)&&(component<GetNumberOfComponents())
virtual int Kitware.VTK.vtkGenericAttribute.GetSize ( ) [virtual]

Number of tuples.

Postcondition:
valid_result: result>=0

Attribute at all points of cell `c'.

Precondition:
c_exists: c!=0
c_valid: !c->IsAtEnd()
Postcondition:
result_exists: result!=0
valid_result: sizeof(result)==GetNumberOfComponents()*c->GetCell()->GetNumberOfPoints()
virtual void Kitware.VTK.vtkGenericAttribute.GetTuple ( vtkGenericAdaptorCell  c,
IntPtr  tuple 
) [virtual]

Put attribute at all points of cell `c' in `tuple'.

Precondition:
c_exists: c!=0
c_valid: !c->IsAtEnd()
tuple_exists: tuple!=0
valid_tuple: sizeof(tuple)>=GetNumberOfComponents()*c->GetCell()->GetNumberOfPoints()

Attribute at all points of cell `c'.

Precondition:
c_exists: c!=0
c_valid: !c->IsAtEnd()
Postcondition:
result_exists: result!=0
valid_result: sizeof(result)==GetNumberOfComponents()*c->GetCell()->GetNumberOfPoints()
virtual void Kitware.VTK.vtkGenericAttribute.GetTuple ( vtkGenericCellIterator  c,
IntPtr  tuple 
) [virtual]

Put attribute at all points of cell `c' in `tuple'.

Precondition:
c_exists: c!=0
c_valid: !c->IsAtEnd()
tuple_exists: tuple!=0
valid_tuple: sizeof(tuple)>=GetNumberOfComponents()*c->GetCell()->GetNumberOfPoints()

Value of the attribute at position `p'.

Precondition:
p_exists: p!=0
p_valid: !p->IsAtEnd()
Postcondition:
result_exists: result!=0
valid_result_size: sizeof(result)==GetNumberOfComponents()
virtual void Kitware.VTK.vtkGenericAttribute.GetTuple ( vtkGenericPointIterator  p,
IntPtr  tuple 
) [virtual]

Put the value of the attribute at position `p' into `tuple'.

Precondition:
p_exists: p!=0
p_valid: !p->IsAtEnd()
tuple_exists: tuple!=0
valid_tuple_size: sizeof(tuple)>=GetNumberOfComponents()

Type of the attribute: scalar, vector, normal, texture coordinate, tensor.

Postcondition:
valid_result: (result==vtkDataSetAttributes::SCALARS) ||(result==vtkDataSetAttributes::VECTORS) ||(result==vtkDataSetAttributes::NORMALS) ||(result==vtkDataSetAttributes::TCOORDS) ||(result==vtkDataSetAttributes::TENSORS)
override int Kitware.VTK.vtkGenericAttribute.IsA ( string  type) [virtual]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Here is the call graph for this function:

Update `this' using fields of `other'.

Precondition:
other_exists: other!=0
not_self: other!=this
static internal void Kitware.VTK.vtkGenericAttribute.vtkGenericAttribute_DeepCopy_01 ( HandleRef  pThis,
HandleRef  other 
) [private]
static internal uint Kitware.VTK.vtkGenericAttribute.vtkGenericAttribute_GetActualMemorySize_02 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkGenericAttribute.vtkGenericAttribute_GetCentering_03 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkGenericAttribute.vtkGenericAttribute_GetComponent_04 ( HandleRef  pThis,
int  i,
HandleRef  c,
IntPtr  values 
) [private]
static internal double Kitware.VTK.vtkGenericAttribute.vtkGenericAttribute_GetComponent_05 ( HandleRef  pThis,
int  i,
HandleRef  p 
) [private]
static internal int Kitware.VTK.vtkGenericAttribute.vtkGenericAttribute_GetComponentType_06 ( HandleRef  pThis) [private]
static internal double Kitware.VTK.vtkGenericAttribute.vtkGenericAttribute_GetMaxNorm_07 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkGenericAttribute.vtkGenericAttribute_GetName_08 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkGenericAttribute.vtkGenericAttribute_GetNumberOfComponents_09 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkGenericAttribute.vtkGenericAttribute_GetRange_10 ( HandleRef  pThis,
int  component 
) [private]
static internal void Kitware.VTK.vtkGenericAttribute.vtkGenericAttribute_GetRange_11 ( HandleRef  pThis,
int  component,
IntPtr  range 
) [private]
static internal int Kitware.VTK.vtkGenericAttribute.vtkGenericAttribute_GetSize_12 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkGenericAttribute.vtkGenericAttribute_GetTuple_13 ( HandleRef  pThis,
HandleRef  c 
) [private]
static internal void Kitware.VTK.vtkGenericAttribute.vtkGenericAttribute_GetTuple_14 ( HandleRef  pThis,
HandleRef  c,
IntPtr  tuple 
) [private]
static internal IntPtr Kitware.VTK.vtkGenericAttribute.vtkGenericAttribute_GetTuple_15 ( HandleRef  pThis,
HandleRef  c 
) [private]
static internal void Kitware.VTK.vtkGenericAttribute.vtkGenericAttribute_GetTuple_16 ( HandleRef  pThis,
HandleRef  c,
IntPtr  tuple 
) [private]
static internal IntPtr Kitware.VTK.vtkGenericAttribute.vtkGenericAttribute_GetTuple_17 ( HandleRef  pThis,
HandleRef  p 
) [private]
static internal void Kitware.VTK.vtkGenericAttribute.vtkGenericAttribute_GetTuple_18 ( HandleRef  pThis,
HandleRef  p,
IntPtr  tuple 
) [private]
static internal int Kitware.VTK.vtkGenericAttribute.vtkGenericAttribute_GetType_19 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkGenericAttribute.vtkGenericAttribute_IsA_20 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkGenericAttribute.vtkGenericAttribute_IsTypeOf_21 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkGenericAttribute.vtkGenericAttribute_NewInstance_22 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkGenericAttribute.vtkGenericAttribute_SafeDownCast_23 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkGenericAttribute.vtkGenericAttribute_ShallowCopy_24 ( HandleRef  pThis,
HandleRef  other 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkGenericAttribute.MRClassNameKey = "19vtkGenericAttribute" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.


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