Open CASCADE Technology
6.8.0
|
Class render trihedron. More...
#include <OpenGl_Trihedron.hxx>
Public Member Functions | |
OpenGl_Trihedron (const Aspect_TypeOfTriedronPosition thePosition, const Quantity_NameOfColor theColor, const Standard_Real theScale, const Standard_Boolean theAsWireframe) | |
virtual void | Render (const Handle< OpenGl_Workspace > &theWorkspace) const |
virtual void | Release (OpenGl_Context *theCtx) |
Release GPU resources. Pointer to the context is used because this method might be called when the context is already being destroyed and usage of a handle would be unsafe. More... | |
![]() | |
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... | |
Static Public Member Functions | |
static void | Setup (const Quantity_NameOfColor theXColor, const Quantity_NameOfColor theYColor, const Quantity_NameOfColor theZColor, const Standard_Real theSizeRatio, const Standard_Real theAxisDiametr, const Standard_Integer theNbFacettes) |
![]() | |
template<typename theResource_t > | |
static void | Destroy (OpenGl_Context *theContext, theResource_t *&theElement) |
Pointer to the context is used because this method might be called when the context is already being destroyed and usage of a handle would be unsafe. More... | |
Protected Member Functions | |
virtual | ~OpenGl_Trihedron () |
void | redraw (const Handle< OpenGl_Workspace > &theWorkspace) const |
void | redrawZBuffer (const Handle< OpenGl_Workspace > &theWorkspace) const |
![]() | |
virtual | ~OpenGl_Element () |
Class render trihedron.
OpenGl_Trihedron::OpenGl_Trihedron | ( | const Aspect_TypeOfTriedronPosition | thePosition, |
const Quantity_NameOfColor | theColor, | ||
const Standard_Real | theScale, | ||
const Standard_Boolean | theAsWireframe | ||
) |
|
protectedvirtual |
|
protected |
|
protected |
|
virtual |
Release GPU resources. Pointer to the context is used because this method might be called when the context is already being destroyed and usage of a handle would be unsafe.
Implements OpenGl_Element.
|
virtual |
Implements OpenGl_Element.
|
static |
|
protected |
|
protected |
|
mutableprotected |
|
mutableprotected |
|
protected |
|
mutableprotected |
|
protected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
|
protected |
|
protected |
|
protected |