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

vtkShaderDeviceAdapter - an adapter to pass generic vertex attributes to the rendering pipeline. More...

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

List of all members.

Public Member Functions

 vtkShaderDeviceAdapter (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
virtual vtkShaderProgram GetShaderProgram ()
 Set the shader program which is being updated by this device adapter. The shader program is not reference counted to avoid reference loops.
override int IsA (string type)
 Undocumented Block.
new vtkShaderDeviceAdapter NewInstance ()
 Undocumented Block.
virtual void PrepareForRender ()
 Descrition: This method is called before rendering. This gives the shader device adapter an opportunity to collect information, such as attribute indices that it will need while rendering.
virtual void SendAttribute (string attrname, int components, int type, IntPtr attribute, uint offset)
 Sends a single attribute to the graphics card. The attrname parameter identifies the name of attribute. The components parameter gives the number of components in the attribute. In general, components must be between 1-4, but a rendering system may impose even more constraints. The type parameter is a VTK type enumeration (VTK_FLOAT, VTK_INT, etc.). Again, a rendering system may not support all types for all attributes. The attribute parameter is the actual data for the attribute. If offset is specified, it is added to attribute pointer after it has been casted to the proper type.
void SetShaderProgram (vtkShaderProgram pgm)
 Set the shader program which is being updated by this device adapter. The shader program is not reference counted to avoid reference loops.

Static Public Member Functions

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

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "22vtkShaderDeviceAdapter"
 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 vtkShaderDeviceAdapter_GetShaderProgram_01 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkShaderDeviceAdapter_IsA_02 (HandleRef pThis, string type)
static internal int vtkShaderDeviceAdapter_IsTypeOf_03 (string type)
static internal IntPtr vtkShaderDeviceAdapter_NewInstance_04 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkShaderDeviceAdapter_PrepareForRender_05 (HandleRef pThis)
static internal IntPtr vtkShaderDeviceAdapter_SafeDownCast_06 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkShaderDeviceAdapter_SendAttribute_07 (HandleRef pThis, string attrname, int components, int type, IntPtr attribute, uint offset)
static internal void vtkShaderDeviceAdapter_SetShaderProgram_08 (HandleRef pThis, HandleRef pgm)

Static Private Member Functions

static vtkShaderDeviceAdapter ()
 Automatically generated type registration mechanics.

Detailed Description

vtkShaderDeviceAdapter - an adapter to pass generic vertex attributes to the rendering pipeline.

This class is an adapter used to pass generic vertex attributes to the rendering pipeline. Since this changes based on the shading language used, this class merely defines the API and subclasses provide implementations for Cg and GSince this changes based on the shading language used, this class merely defines the API and subclasses provide implementations for Cg and GLSL. Thanks Support for generic vertex attributes in VTK was contributed in collaboration with Stephane Ploix at EDF.


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

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

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


Member Function Documentation

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

Reimplemented in Kitware.VTK.vtkGLSLShaderDeviceAdapter.

Set the shader program which is being updated by this device adapter. The shader program is not reference counted to avoid reference loops.

Here is the call graph for this function:

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkGLSLShaderDeviceAdapter.

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkGLSLShaderDeviceAdapter.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkGLSLShaderDeviceAdapter.

Descrition: This method is called before rendering. This gives the shader device adapter an opportunity to collect information, such as attribute indices that it will need while rendering.

Reimplemented in Kitware.VTK.vtkGLSLShaderDeviceAdapter.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkGLSLShaderDeviceAdapter.

Here is the call graph for this function:

virtual void Kitware.VTK.vtkShaderDeviceAdapter.SendAttribute ( string  attrname,
int  components,
int  type,
IntPtr  attribute,
uint  offset 
) [virtual]

Sends a single attribute to the graphics card. The attrname parameter identifies the name of attribute. The components parameter gives the number of components in the attribute. In general, components must be between 1-4, but a rendering system may impose even more constraints. The type parameter is a VTK type enumeration (VTK_FLOAT, VTK_INT, etc.). Again, a rendering system may not support all types for all attributes. The attribute parameter is the actual data for the attribute. If offset is specified, it is added to attribute pointer after it has been casted to the proper type.

Reimplemented in Kitware.VTK.vtkGLSLShaderDeviceAdapter.

Set the shader program which is being updated by this device adapter. The shader program is not reference counted to avoid reference loops.

static internal IntPtr Kitware.VTK.vtkShaderDeviceAdapter.vtkShaderDeviceAdapter_GetShaderProgram_01 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkShaderDeviceAdapter.vtkShaderDeviceAdapter_IsA_02 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkShaderDeviceAdapter.vtkShaderDeviceAdapter_IsTypeOf_03 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkShaderDeviceAdapter.vtkShaderDeviceAdapter_NewInstance_04 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkShaderDeviceAdapter.vtkShaderDeviceAdapter_PrepareForRender_05 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkShaderDeviceAdapter.vtkShaderDeviceAdapter_SafeDownCast_06 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkShaderDeviceAdapter.vtkShaderDeviceAdapter_SendAttribute_07 ( HandleRef  pThis,
string  attrname,
int  components,
int  type,
IntPtr  attribute,
uint  offset 
) [private]
static internal void Kitware.VTK.vtkShaderDeviceAdapter.vtkShaderDeviceAdapter_SetShaderProgram_08 ( HandleRef  pThis,
HandleRef  pgm 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkShaderDeviceAdapter.MRClassNameKey = "22vtkShaderDeviceAdapter" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkGLSLShaderDeviceAdapter.

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkGLSLShaderDeviceAdapter.


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