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

vtkXMLMaterial - encapsulates a VTK Material description. More...

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

List of all members.

Public Member Functions

 vtkXMLMaterial (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkXMLMaterial ()
 Undocumented Block.
vtkXMLShader GetFragmentShader (int id)
 Get the ith vtkXMLDataElement of type <FragmentShader />.
int GetNumberOfFragmentShaders ()
 Get number of fragment shaders.
int GetNumberOfProperties ()
 Get number of elements of type Property.
int GetNumberOfTextures ()
 Get number of elements of type Texture.
int GetNumberOfVertexShaders ()
 Get number of Vertex shaders.
vtkXMLDataElement GetProperty (int id)
 Get the ith vtkXMLDataElement of type <Property />.
virtual vtkXMLDataElement GetRootElement ()
 Get/Set the XML root element that describes this material.
int GetShaderLanguage ()
 Get the Language used by the shaders in this Material. The Language of a vtkXMLMaterial is based on the Language of it's shaders.
int GetShaderStyle ()
 Get the style the shaders.
vtkXMLDataElement GetTexture (int id)
 Get the ith vtkXMLDataElement of type <Texture />.
vtkXMLShader GetVertexShader (int id)
 Get the ith vtkXMLDataElement of type <VertexShader />.
override int IsA (string type)
 Undocumented Block.
new vtkXMLMaterial NewInstance ()
 Undocumented Block.
void SetRootElement (vtkXMLDataElement arg0)
 Get/Set the XML root element that describes this material.

Static Public Member Functions

static new vtkXMLMaterial New ()
 Undocumented Block.
static vtkXMLMaterial CreateInstance (string name)
 Create a new instance. It searches for the material using the following order: first, check the MaterialLibrary; second, treat the name as an absolute path and try to locate it; third, search the Material repository. Returns null is it fails to locate the material.
static new int IsTypeOf (string type)
 Undocumented Block.
static new vtkXMLMaterial SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "14vtkXMLMaterial"
 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 vtkXMLMaterial_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkXMLMaterial_CreateInstance_01 (string name, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkXMLMaterial_GetFragmentShader_02 (HandleRef pThis, int id, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkXMLMaterial_GetNumberOfFragmentShaders_03 (HandleRef pThis)
static internal int vtkXMLMaterial_GetNumberOfProperties_04 (HandleRef pThis)
static internal int vtkXMLMaterial_GetNumberOfTextures_05 (HandleRef pThis)
static internal int vtkXMLMaterial_GetNumberOfVertexShaders_06 (HandleRef pThis)
static internal IntPtr vtkXMLMaterial_GetProperty_07 (HandleRef pThis, int id, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkXMLMaterial_GetRootElement_08 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkXMLMaterial_GetShaderLanguage_09 (HandleRef pThis)
static internal int vtkXMLMaterial_GetShaderStyle_10 (HandleRef pThis)
static internal IntPtr vtkXMLMaterial_GetTexture_11 (HandleRef pThis, int id, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkXMLMaterial_GetVertexShader_12 (HandleRef pThis, int id, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkXMLMaterial_IsA_13 (HandleRef pThis, string type)
static internal int vtkXMLMaterial_IsTypeOf_14 (string type)
static internal IntPtr vtkXMLMaterial_NewInstance_16 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkXMLMaterial_SafeDownCast_17 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkXMLMaterial_SetRootElement_18 (HandleRef pThis, HandleRef arg0)

Static Private Member Functions

static vtkXMLMaterial ()
 Automatically generated type registration mechanics.

Detailed Description

vtkXMLMaterial - encapsulates a VTK Material description.

Description vtkXMLMaterial encapsulates VTK Material description. It keeps a pointer to vtkXMLDataElement that defines the material and provides access to Shaders/Properties defined in it. Thanks Shader support in VTK includes key contributions by Gary Templet at Sandia National Labs.


Constructor & Destructor Documentation

static Kitware.VTK.vtkXMLMaterial.vtkXMLMaterial ( ) [static, private]

Automatically generated type registration mechanics.

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

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

Undocumented Block.


Member Function Documentation

Create a new instance. It searches for the material using the following order: first, check the MaterialLibrary; second, treat the name as an absolute path and try to locate it; third, search the Material repository. Returns null is it fails to locate the material.

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

Get the ith vtkXMLDataElement of type <FragmentShader />.

Here is the call graph for this function:

Get number of fragment shaders.

Get number of elements of type Property.

Get number of elements of type Texture.

Get number of Vertex shaders.

Get the ith vtkXMLDataElement of type <Property />.

Here is the call graph for this function:

Get/Set the XML root element that describes this material.

Here is the call graph for this function:

Get the Language used by the shaders in this Material. The Language of a vtkXMLMaterial is based on the Language of it's shaders.

Get the style the shaders.

Postcondition:
valid_result: result==1 || result==2

Get the ith vtkXMLDataElement of type <Texture />.

Here is the call graph for this function:

Get the ith vtkXMLDataElement of type <VertexShader />.

Here is the call graph for this function:

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

static new int Kitware.VTK.vtkXMLMaterial.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.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Here is the call graph for this function:

Get/Set the XML root element that describes this material.

static internal IntPtr Kitware.VTK.vtkXMLMaterial.vtkXMLMaterial_CreateInstance_01 ( string  name,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkXMLMaterial.vtkXMLMaterial_GetFragmentShader_02 ( HandleRef  pThis,
int  id,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkXMLMaterial.vtkXMLMaterial_GetNumberOfFragmentShaders_03 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkXMLMaterial.vtkXMLMaterial_GetNumberOfProperties_04 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkXMLMaterial.vtkXMLMaterial_GetNumberOfTextures_05 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkXMLMaterial.vtkXMLMaterial_GetNumberOfVertexShaders_06 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkXMLMaterial.vtkXMLMaterial_GetProperty_07 ( HandleRef  pThis,
int  id,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkXMLMaterial.vtkXMLMaterial_GetRootElement_08 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkXMLMaterial.vtkXMLMaterial_GetShaderLanguage_09 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkXMLMaterial.vtkXMLMaterial_GetShaderStyle_10 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkXMLMaterial.vtkXMLMaterial_GetTexture_11 ( HandleRef  pThis,
int  id,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkXMLMaterial.vtkXMLMaterial_GetVertexShader_12 ( HandleRef  pThis,
int  id,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkXMLMaterial.vtkXMLMaterial_IsA_13 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkXMLMaterial.vtkXMLMaterial_IsTypeOf_14 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkXMLMaterial.vtkXMLMaterial_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkXMLMaterial.vtkXMLMaterial_NewInstance_16 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkXMLMaterial.vtkXMLMaterial_SafeDownCast_17 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkXMLMaterial.vtkXMLMaterial_SetRootElement_18 ( HandleRef  pThis,
HandleRef  arg0 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkXMLMaterial.MRClassNameKey = "14vtkXMLMaterial" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.


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