Open CASCADE Technology  7.5.0
Public Member Functions
OpenGl_WorldViewState Class Reference

Defines state of OCCT world-view transformation. More...

#include <OpenGl_ShaderStates.hxx>

Inheritance diagram for OpenGl_WorldViewState:
Inheritance graph
[legend]

Public Member Functions

 OpenGl_WorldViewState ()
 Creates uninitialized world-view state. More...
 
void Set (const OpenGl_Mat4 &theWorldViewMatrix)
 Sets new world-view matrix. More...
 
const OpenGl_Mat4WorldViewMatrix () const
 Returns current world-view matrix. More...
 
const OpenGl_Mat4WorldViewMatrixInverse () const
 Returns inverse of current world-view matrix. More...
 
- Public Member Functions inherited from OpenGl_StateInterface
 OpenGl_StateInterface ()
 Creates new state. More...
 
Standard_Size Index () const
 Returns current state index. More...
 
void Update ()
 Increment current state. More...
 

Additional Inherited Members

- Protected Attributes inherited from OpenGl_StateInterface
Standard_Size myIndex
 current state index More...
 

Detailed Description

Defines state of OCCT world-view transformation.

Constructor & Destructor Documentation

◆ OpenGl_WorldViewState()

OpenGl_WorldViewState::OpenGl_WorldViewState ( )

Creates uninitialized world-view state.

Member Function Documentation

◆ Set()

void OpenGl_WorldViewState::Set ( const OpenGl_Mat4 theWorldViewMatrix)

Sets new world-view matrix.

◆ WorldViewMatrix()

const OpenGl_Mat4& OpenGl_WorldViewState::WorldViewMatrix ( ) const
inline

Returns current world-view matrix.

◆ WorldViewMatrixInverse()

const OpenGl_Mat4& OpenGl_WorldViewState::WorldViewMatrixInverse ( ) const

Returns inverse of current world-view matrix.


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