Open CASCADE Technology
6.9.1
|
Text representation parameters. More...
#include <OpenGl_AspectText.hxx>
Data Structures | |
struct | Resources |
OpenGl resources. More... | |
Public Member Functions | |
OpenGl_AspectText () | |
virtual | ~OpenGl_AspectText () |
void | SetAspect (const CALL_DEF_CONTEXTTEXT &theAspect) |
Copy parameters. More... | |
const TCollection_AsciiString & | FontName () const |
TCollection_AsciiString & | ChangeFontName () |
bool | IsZoomable () const |
float | Angle () const |
Font_FontAspect | FontAspect () const |
void | SetFontAspect (const Font_FontAspect theValue) |
const TEL_COLOUR & | Color () const |
TEL_COLOUR & | ChangeColor () |
Aspect_TypeOfStyleText | StyleType () const |
Aspect_TypeOfDisplayText | DisplayType () const |
void | SetDisplayType (const Aspect_TypeOfDisplayText theType) |
const TEL_COLOUR & | SubtitleColor () const |
TEL_COLOUR & | ChangeSubtitleColor () |
const Handle< OpenGl_ShaderProgram > & | ShaderProgramRes (const Handle< OpenGl_Context > &theCtx) const |
Init and return OpenGl shader program resource. More... | |
virtual void | Render (const Handle< OpenGl_Workspace > &theWorkspace) const |
virtual void | Release (OpenGl_Context *theContext) |
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... | |
Additional Inherited Members | |
![]() | |
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... | |
![]() | |
virtual | ~OpenGl_Element () |
Text representation parameters.
OpenGl_AspectText::OpenGl_AspectText | ( | ) |
|
virtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
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.
void OpenGl_AspectText::SetAspect | ( | const CALL_DEF_CONTEXTTEXT & | theAspect | ) |
Copy parameters.
|
inline |
|
inline |
theValue | font aspect (regular/bold/italic) |
|
inline |
Init and return OpenGl shader program resource.
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |