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. | |
| Graphic3d_WorldViewProjState (const Standard_Size theProjectionState, const Standard_Size theWorldViewState, const Standard_Transient *theCamera=NULL) | |
| Constructor for custom projector type. | |
| Standard_Boolean | IsValid () |
| Check state validity. | |
| void | Reset () |
| Invalidate world view projection state. | |
| void | Initialize (const Standard_Size theProjectionState, const Standard_Size theWorldViewState, const Standard_Transient *theCamera=NULL) |
| Initialize world view projection state. | |
| void | Initialize (const Standard_Transient *theCamera=NULL) |
| Initialize world view projection state. | |
| Standard_Size & | ProjectionState () |
| Standard_Size & | WorldViewState () |
| Standard_Boolean | IsProjectionChanged (const Graphic3d_WorldViewProjState &theState) |
| Compare projection with other state. | |
| Standard_Boolean | IsWorldViewChanged (const Graphic3d_WorldViewProjState &theState) |
| Compare world view transformation with other state. | |
| Standard_Boolean | IsChanged (const Graphic3d_WorldViewProjState &theState) |
| Compare with other world view projection state. | |
| bool | operator!= (const Graphic3d_WorldViewProjState &theOther) const |
| Compare with other world view projection state. | |
| bool | operator== (const Graphic3d_WorldViewProjState &theOther) const |
| Compare with other world view projection state. | |
| void | DumpJson (Standard_OStream &theOStream, Standard_Integer) const |
| Dumps the content of me into the stream. | |
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.
| [in] | theProjectionState | the projection state. |
| [in] | theWorldViewState | the world view state. |
| [in] | theCamera | 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 |