Open CASCADE Technology 7.8.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.
 
void Set (const OpenGl_Mat4 &theWorldViewMatrix)
 Sets new world-view matrix.
 
const OpenGl_Mat4WorldViewMatrix () const
 Returns current world-view matrix.
 
const OpenGl_Mat4WorldViewMatrixInverse () const
 Returns inverse of current world-view matrix.
 
- Public Member Functions inherited from OpenGl_StateInterface
 OpenGl_StateInterface ()
 Creates new state.
 
Standard_Size Index () const
 Returns current state index.
 
void Update ()
 Increment current state.
 

Additional Inherited Members

- Protected Attributes inherited from OpenGl_StateInterface
Standard_Size myIndex
 current state index
 

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: