Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes
OpenGl_Group Class Reference

#include <OpenGl_Group.hxx>

Inheritance diagram for OpenGl_Group:
Inheritance graph
[legend]

Public Member Functions

 OpenGl_Group ()
 
void SetAspectLine (const CALL_DEF_CONTEXTLINE &theAspect, const Standard_Boolean IsGlobal=Standard_True)
 
void SetAspectFace (const CALL_DEF_CONTEXTFILLAREA &theAspect, const Standard_Boolean IsGlobal=Standard_True)
 
void SetAspectMarker (const CALL_DEF_CONTEXTMARKER &theAspect, const Standard_Boolean IsGlobal=Standard_True)
 
void SetAspectText (const CALL_DEF_CONTEXTTEXT &theAspect, const Standard_Boolean IsGlobal=Standard_True)
 
void AddElement (const TelType, OpenGl_Element *)
 
virtual void Render (const Handle< OpenGl_Workspace > &theWorkspace) const
 
virtual void Release (const Handle< OpenGl_Context > &theGlCtx)
 Release GPU resources. More...
 
const OpenGl_ElementNodeFirstNode () const
 Returns first OpenGL element node of the group. More...
 
const OpenGl_AspectFaceAspectFace () const
 Returns OpenGL face aspect. 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 Member Functions

virtual ~OpenGl_Group ()
 
- Protected Member Functions inherited from OpenGl_Element
virtual ~OpenGl_Element ()
 

Protected Attributes

OpenGl_AspectLinemyAspectLine
 
OpenGl_AspectFacemyAspectFace
 
OpenGl_AspectMarkermyAspectMarker
 
OpenGl_AspectTextmyAspectText
 
OpenGl_ElementNodemyFirst
 
OpenGl_ElementNodemyLast
 

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)
 

Constructor & Destructor Documentation

OpenGl_Group::OpenGl_Group ( )
virtual OpenGl_Group::~OpenGl_Group ( )
protectedvirtual

Member Function Documentation

void OpenGl_Group::AddElement ( const TelType  ,
OpenGl_Element  
)
const OpenGl_AspectFace* OpenGl_Group::AspectFace ( ) const
inline

Returns OpenGL face aspect.

const OpenGl_ElementNode* OpenGl_Group::FirstNode ( ) const
inline

Returns first OpenGL element node of the group.

virtual void OpenGl_Group::Release ( const Handle< OpenGl_Context > &  theContext)
virtual

Release GPU resources.

Implements OpenGl_Element.

virtual void OpenGl_Group::Render ( const Handle< OpenGl_Workspace > &  theWorkspace) const
virtual

Implements OpenGl_Element.

void OpenGl_Group::SetAspectFace ( const CALL_DEF_CONTEXTFILLAREA theAspect,
const Standard_Boolean  IsGlobal = Standard_True 
)
void OpenGl_Group::SetAspectLine ( const CALL_DEF_CONTEXTLINE theAspect,
const Standard_Boolean  IsGlobal = Standard_True 
)
void OpenGl_Group::SetAspectMarker ( const CALL_DEF_CONTEXTMARKER theAspect,
const Standard_Boolean  IsGlobal = Standard_True 
)
void OpenGl_Group::SetAspectText ( const CALL_DEF_CONTEXTTEXT theAspect,
const Standard_Boolean  IsGlobal = Standard_True 
)

Field Documentation

OpenGl_AspectFace* OpenGl_Group::myAspectFace
protected
OpenGl_AspectLine* OpenGl_Group::myAspectLine
protected
OpenGl_AspectMarker* OpenGl_Group::myAspectMarker
protected
OpenGl_AspectText* OpenGl_Group::myAspectText
protected
OpenGl_ElementNode* OpenGl_Group::myFirst
protected
OpenGl_ElementNode* OpenGl_Group::myLast
protected

The documentation for this class was generated from the following file: