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

vtkUniformVariables - GLSL uniform variables More...

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

List of all members.

Public Member Functions

 vtkUniformVariables (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkUniformVariables ()
 Undocumented Block.
void DeepCopy (vtkUniformVariables other)
 Copy all the variables from `other'. Any existing variable will be deleted first.
string GetCurrentName ()
 Name of the uniform at the current cursor position.
override int IsA (string type)
 Undocumented Block.
bool IsAtEnd ()
 Is the iteration done?
void Merge (vtkUniformVariables other)
 Copy all the variables from `other'. Any existing variable will be overwritten.
new vtkUniformVariables NewInstance ()
 Undocumented Block.
void Next ()
 Move the cursor to the next uniform.
void RemoveAllUniforms ()
 Remove all uniforms from the list.
void RemoveUniform (string name)
 Remove uniform `name' from the list.
void Send (string name, int uniformIndex)
void SendCurrentUniform (int uniformIndex)
void SetUniformMatrix (string name, int rows, int columns, IntPtr value)
 Set a matrix uniform variable.
void SetUniformf (string name, int numberOfComponents, IntPtr value)
 Set an float uniform variable.
void SetUniformfv (string name, int numberOfComponents, int numberOfElements, IntPtr value)
 Set an array of float uniform variables. The array `value' is of size `numberOfElements'*`numberOfComponents.'.
void SetUniformi (string name, int numberOfComponents, IntPtr value)
 Set an integer uniform variable.
void SetUniformiv (string name, int numberOfComponents, int numberOfElements, IntPtr value)
 Set an array of integer uniform variables. The array `value' is of size `numberOfElements'*`numberOfComponents.'.
void Start ()
 Place the internal cursor on the first uniform.

Static Public Member Functions

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

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "19vtkUniformVariables"
 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 vtkUniformVariables_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkUniformVariables_DeepCopy_01 (HandleRef pThis, HandleRef other)
static internal IntPtr vtkUniformVariables_GetCurrentName_02 (HandleRef pThis)
static internal int vtkUniformVariables_IsA_03 (HandleRef pThis, string type)
static internal byte vtkUniformVariables_IsAtEnd_04 (HandleRef pThis)
static internal int vtkUniformVariables_IsTypeOf_05 (string type)
static internal void vtkUniformVariables_Merge_06 (HandleRef pThis, HandleRef other)
static internal IntPtr vtkUniformVariables_NewInstance_08 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkUniformVariables_Next_09 (HandleRef pThis)
static internal void vtkUniformVariables_RemoveAllUniforms_10 (HandleRef pThis)
static internal void vtkUniformVariables_RemoveUniform_11 (HandleRef pThis, string name)
static internal IntPtr vtkUniformVariables_SafeDownCast_12 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkUniformVariables_Send_13 (HandleRef pThis, string name, int uniformIndex)
static internal void vtkUniformVariables_SendCurrentUniform_14 (HandleRef pThis, int uniformIndex)
static internal void vtkUniformVariables_SetUniformMatrix_15 (HandleRef pThis, string name, int rows, int columns, IntPtr value)
static internal void vtkUniformVariables_SetUniformf_16 (HandleRef pThis, string name, int numberOfComponents, IntPtr value)
static internal void vtkUniformVariables_SetUniformfv_17 (HandleRef pThis, string name, int numberOfComponents, int numberOfElements, IntPtr value)
static internal void vtkUniformVariables_SetUniformi_18 (HandleRef pThis, string name, int numberOfComponents, IntPtr value)
static internal void vtkUniformVariables_SetUniformiv_19 (HandleRef pThis, string name, int numberOfComponents, int numberOfElements, IntPtr value)
static internal void vtkUniformVariables_Start_20 (HandleRef pThis)

Static Private Member Functions

static vtkUniformVariables ()
 Automatically generated type registration mechanics.

Detailed Description

vtkUniformVariables - GLSL uniform variables

Description vtkUniformVariables is a list of uniform variables attached to either a vtkShader2 object or to a vtkShaderProgram2. Uniform variables on a vtkShaderProgram2 override values of uniform variables on a vtkShader2.


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

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

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

Undocumented Block.


Member Function Documentation

Copy all the variables from `other'. Any existing variable will be deleted first.

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

Name of the uniform at the current cursor position.

Precondition:
not_done: !this->IsAtEnd()
override int Kitware.VTK.vtkUniformVariables.IsA ( string  type) [virtual]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Is the iteration done?

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Copy all the variables from `other'. Any existing variable will be overwritten.

Precondition:
other_exists: other!=0
not_self: other!=this

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Move the cursor to the next uniform.

Precondition:
not_done: !this->IsAtEnd()

Remove all uniforms from the list.

Remove uniform `name' from the list.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Here is the call graph for this function:

void Kitware.VTK.vtkUniformVariables.Send ( string  name,
int  uniformIndex 
)
Precondition:
need a valid OpenGL context and a shader program in use.
Precondition:
need a valid OpenGL context and a shader program in use.
not_done: !this->IsAtEnd()
void Kitware.VTK.vtkUniformVariables.SetUniformf ( string  name,
int  numberOfComponents,
IntPtr  value 
)

Set an float uniform variable.

Precondition:
name_exists: name!=0
value_exists: value!=0
valid_numberOfComponents: numberOfComponents>=1 && numberOfComponents<=4
void Kitware.VTK.vtkUniformVariables.SetUniformfv ( string  name,
int  numberOfComponents,
int  numberOfElements,
IntPtr  value 
)

Set an array of float uniform variables. The array `value' is of size `numberOfElements'*`numberOfComponents.'.

Precondition:
name_exists: name!=0
value_exists: value!=0
valid_numberOfComponents: numberOfComponents>=1 && numberOfComponents<=4
valid_numberOfElements: numberOfElements>=1
void Kitware.VTK.vtkUniformVariables.SetUniformi ( string  name,
int  numberOfComponents,
IntPtr  value 
)

Set an integer uniform variable.

Precondition:
name_exists: name!=0
value_exists: value!=0
valid_numberOfComponents: numberOfComponents>=1 && numberOfComponents<=4
void Kitware.VTK.vtkUniformVariables.SetUniformiv ( string  name,
int  numberOfComponents,
int  numberOfElements,
IntPtr  value 
)

Set an array of integer uniform variables. The array `value' is of size `numberOfElements'*`numberOfComponents.'.

Precondition:
name_exists: name!=0
value_exists: value!=0
valid_numberOfComponents: numberOfComponents>=1 && numberOfComponents<=4
valid_numberOfElements: numberOfElements>=1
void Kitware.VTK.vtkUniformVariables.SetUniformMatrix ( string  name,
int  rows,
int  columns,
IntPtr  value 
)

Set a matrix uniform variable.

Precondition:
name_exists: name!=0
value_exists: value!=0
valid_rows: rows>=2 && rows<=4
valid_columns: columns>=2 && columns<=4

Place the internal cursor on the first uniform.

static internal void Kitware.VTK.vtkUniformVariables.vtkUniformVariables_DeepCopy_01 ( HandleRef  pThis,
HandleRef  other 
) [private]
static internal IntPtr Kitware.VTK.vtkUniformVariables.vtkUniformVariables_GetCurrentName_02 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkUniformVariables.vtkUniformVariables_IsA_03 ( HandleRef  pThis,
string  type 
) [private]
static internal byte Kitware.VTK.vtkUniformVariables.vtkUniformVariables_IsAtEnd_04 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkUniformVariables.vtkUniformVariables_IsTypeOf_05 ( string  type) [private]
static internal void Kitware.VTK.vtkUniformVariables.vtkUniformVariables_Merge_06 ( HandleRef  pThis,
HandleRef  other 
) [private]
static internal IntPtr Kitware.VTK.vtkUniformVariables.vtkUniformVariables_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkUniformVariables.vtkUniformVariables_NewInstance_08 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkUniformVariables.vtkUniformVariables_Next_09 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkUniformVariables.vtkUniformVariables_RemoveAllUniforms_10 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkUniformVariables.vtkUniformVariables_RemoveUniform_11 ( HandleRef  pThis,
string  name 
) [private]
static internal IntPtr Kitware.VTK.vtkUniformVariables.vtkUniformVariables_SafeDownCast_12 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkUniformVariables.vtkUniformVariables_Send_13 ( HandleRef  pThis,
string  name,
int  uniformIndex 
) [private]
static internal void Kitware.VTK.vtkUniformVariables.vtkUniformVariables_SendCurrentUniform_14 ( HandleRef  pThis,
int  uniformIndex 
) [private]
static internal void Kitware.VTK.vtkUniformVariables.vtkUniformVariables_SetUniformf_16 ( HandleRef  pThis,
string  name,
int  numberOfComponents,
IntPtr  value 
) [private]
static internal void Kitware.VTK.vtkUniformVariables.vtkUniformVariables_SetUniformfv_17 ( HandleRef  pThis,
string  name,
int  numberOfComponents,
int  numberOfElements,
IntPtr  value 
) [private]
static internal void Kitware.VTK.vtkUniformVariables.vtkUniformVariables_SetUniformi_18 ( HandleRef  pThis,
string  name,
int  numberOfComponents,
IntPtr  value 
) [private]
static internal void Kitware.VTK.vtkUniformVariables.vtkUniformVariables_SetUniformiv_19 ( HandleRef  pThis,
string  name,
int  numberOfComponents,
int  numberOfElements,
IntPtr  value 
) [private]
static internal void Kitware.VTK.vtkUniformVariables.vtkUniformVariables_SetUniformMatrix_15 ( HandleRef  pThis,
string  name,
int  rows,
int  columns,
IntPtr  value 
) [private]
static internal void Kitware.VTK.vtkUniformVariables.vtkUniformVariables_Start_20 ( HandleRef  pThis) [private]

Member Data Documentation

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.


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