|
Open CASCADE Technology
6.7.1
|
Being rendered, the elements modifies current model-view matrix such that the axes of the specified reference system (in model space) become oriented in the following way: More...
#include <OpenGl_Flipper.hxx>

Public Member Functions | |
| OpenGl_Flipper (const gp_Ax2 &theReferenceSystem) | |
| Construct rendering element to flip model-view matrix along the reference system to ensure up-Y, right-X orientation. More... | |
| void | SetOptions (const Standard_Boolean theIsEnabled) |
| Set options for the element. More... | |
| virtual void | Render (const Handle< OpenGl_Workspace > &theWorkspace) const |
| virtual void | Release (const Handle< OpenGl_Context > &theCtx) |
| Release GPU resources. More... | |
Public Member Functions inherited from OpenGl_Element | |
| OpenGl_Element () | |
| Standard_Boolean | RenderFiltered (const Handle< OpenGl_Workspace > &theWorkspace, const Handle< OpenGl_RenderFilter > &theFilter) const |
| Render element if it passes the filtering procedure. This method should be used for elements which can be used in scope of rendering algorithms. E.g. elements of groups during recursive rendering. If render filter is null, pure rendering is performed. More... | |
Protected Attributes | |
| OpenGl_Vec4 | myReferenceOrigin |
| OpenGl_Vec4 | myReferenceX |
| OpenGl_Vec4 | myReferenceY |
| OpenGl_Vec4 | myReferenceZ |
| Standard_Boolean | myIsEnabled |
Additional Inherited Members | |
Static Public Member Functions inherited from OpenGl_Element | |
| template<typename theResource_t > | |
| static void | Destroy (const Handle< OpenGl_Context > &theContext, theResource_t *&theElement) |
Protected Member Functions inherited from OpenGl_Element | |
| virtual | ~OpenGl_Element () |
Being rendered, the elements modifies current model-view matrix such that the axes of the specified reference system (in model space) become oriented in the following way:
| OpenGl_Flipper::OpenGl_Flipper | ( | const gp_Ax2 & | theReferenceSystem | ) |
Construct rendering element to flip model-view matrix along the reference system to ensure up-Y, right-X orientation.
| theReferenceSystem | [in] the reference coordinate system. |
|
virtual |
Release GPU resources.
Implements OpenGl_Element.
|
virtual |
Implements OpenGl_Element.
|
inline |
Set options for the element.
| theIsEnabled | [in] flag indicates whether the flipper matrix modification should be set up or restored back. |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.5