Open CASCADE Technology
7.5.0
|
Helper class for keeping reference on world-view-projection state. Helpful for synchronizing state of WVP dependent data structures. More...
#include <Graphic3d_WorldViewProjState.hxx>
Public Member Functions | |
Graphic3d_WorldViewProjState () | |
Default constructor. More... | |
Graphic3d_WorldViewProjState (const Standard_Size theProjectionState, const Standard_Size theWorldViewState, const Standard_Transient *theCamera=NULL) | |
Constructor for custom projector type. More... | |
Standard_Boolean | IsValid () |
Check state validity. More... | |
void | Reset () |
Invalidate world view projection state. More... | |
void | Initialize (const Standard_Size theProjectionState, const Standard_Size theWorldViewState, const Standard_Transient *theCamera=NULL) |
Initialize world view projection state. More... | |
void | Initialize (const Standard_Transient *theCamera=NULL) |
Initialize world view projection state. More... | |
Standard_Size & | ProjectionState () |
Standard_Size & | WorldViewState () |
Standard_Boolean | IsProjectionChanged (const Graphic3d_WorldViewProjState &theState) |
Compare projection with other state. More... | |
Standard_Boolean | IsWorldViewChanged (const Graphic3d_WorldViewProjState &theState) |
Compare world view transformation with other state. More... | |
Standard_Boolean | IsChanged (const Graphic3d_WorldViewProjState &theState) |
Compare with other world view projection state. More... | |
bool | operator!= (const Graphic3d_WorldViewProjState &theOther) const |
Compare with other world view projection state. More... | |
bool | operator== (const Graphic3d_WorldViewProjState &theOther) const |
Compare with other world view projection state. More... | |
void | DumpJson (Standard_OStream &theOStream, Standard_Integer) const |
Dumps the content of me into the stream. More... | |
Helper class for keeping reference on world-view-projection state. Helpful for synchronizing state of WVP dependent data structures.
|
inline |
Default constructor.
|
inline |
Constructor for custom projector type.
theProjectionState | [in] the projection state. |
theWorldViewState | [in] the world view state. |
theCamera | [in] the pointer to the class supplying projection and world view matrices (camera). |
|
inline |
Dumps the content of me into the stream.
|
inline |
Initialize world view projection state.
|
inline |
Initialize world view projection state.
|
inline |
Compare with other world view projection state.
|
inline |
Compare projection with other state.
|
inline |
Check state validity.
|
inline |
Compare world view transformation with other state.
|
inline |
Compare with other world view projection state.
|
inline |
Compare with other world view projection state.
|
inline |
|
inline |
Invalidate world view projection state.
|
inline |