Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Static Public Member Functions
OpenGl_GraphicDriver Class Reference

This class defines an OpenGl graphic driver

#include <OpenGl_GraphicDriver.hxx>

Inheritance diagram for OpenGl_GraphicDriver:
Inheritance graph
[legend]

Public Types

typedef OpenGl_Element *(* OpenGl_UserDrawCallback_t )(const CALL_DEF_USERDRAW *)
 UserDraw function prototype.

Public Member Functions

 OpenGl_GraphicDriver (const Standard_CString theShrName)
 Constructor.
Standard_Boolean Begin (const Standard_CString ADisplay)
 call_togl_begin

Standard_Boolean Begin (const Aspect_Display ADisplay)
 call_togl_begin_display

void End ()
 call_togl_end

Standard_Integer InquireLightLimit ()
 call_togl_inquirelight

void InquireMat (const Graphic3d_CView &ACView, TColStd_Array2OfReal &AMatO, TColStd_Array2OfReal &AMatM)
 call_togl_inquiremat

Standard_Integer InquireViewLimit ()
 call_togl_inquireview

Standard_Boolean InquireTextureAvailable ()
 Returns Standard_True if texture is
supported by the graphic driver

void Blink (const Graphic3d_CStructure &ACStructure, const Standard_Boolean Create)
 call_togl_blink

void BoundaryBox (const Graphic3d_CStructure &ACStructure, const Standard_Boolean Create)
 call_togl_boundarybox

void HighlightColor (const Graphic3d_CStructure &ACStructure, const Standard_ShortReal R, const Standard_ShortReal G, const Standard_ShortReal B, const Standard_Boolean Create)
 call_togl_highlightcolor

void NameSetStructure (const Graphic3d_CStructure &ACStructure)
 call_togl_namesetstructure

void ClearGroup (const Graphic3d_CGroup &ACGroup)
 call_togl_cleargroup

void CloseGroup (const Graphic3d_CGroup &ACGroup)
 call_togl_closegroup

void FaceContextGroup (const Graphic3d_CGroup &theCGroup, const Standard_Integer theNoInsert)
 call_togl_facecontextgroup

void Group (Graphic3d_CGroup &theCGroup)
 call_togl_group

void LineContextGroup (const Graphic3d_CGroup &theCGroup, const Standard_Integer theNoInsert)
 call_togl_linecontextgroup

void MarkerContextGroup (const Graphic3d_CGroup &theCGroup, const Standard_Integer theNoInsert)
 call_togl_markercontextgroup

void MarkerContextGroup (const Graphic3d_CGroup &theCGroup, const Standard_Integer theNoInsert, const Standard_Integer theMarkWidth, const Standard_Integer theMarkHeight, const Handle< TColStd_HArray1OfByte > &theTexture)
 call_togl_markercontextgroup

void OpenGroup (const Graphic3d_CGroup &theCGroup)
 call_togl_opengroup

void RemoveGroup (const Graphic3d_CGroup &theCGroup)
 call_togl_removegroup

void TextContextGroup (const Graphic3d_CGroup &theCGroup, const Standard_Integer theNoInsert)
 call_togl_textcontextgroup

void ClearStructure (const Graphic3d_CStructure &theCStructure)
 call_togl_clearstructure

void ContextStructure (const Graphic3d_CStructure &theCStructure)
 call_togl_contextstructure

void Connect (const Graphic3d_CStructure &theFather, const Graphic3d_CStructure &theSon)
 call_togl_connect

void Disconnect (const Graphic3d_CStructure &theFather, const Graphic3d_CStructure &theSon)
 call_togl_disconnect

void DisplayStructure (const Graphic3d_CView &theCView, const Graphic3d_CStructure &theCStructure, const Standard_Integer thePriority)
 call_togl_displaystructure

void EraseStructure (const Graphic3d_CView &theCView, const Graphic3d_CStructure &theCStructure)
 call_togl_erasestructure

void RemoveStructure (const Graphic3d_CStructure &theCStructure)
 call_togl_removestructure

void Structure (Graphic3d_CStructure &theCStructure)
 call_togl_structure

void ActivateView (const Graphic3d_CView &ACView)
 call_togl_activateview

void AntiAliasing (const Graphic3d_CView &ACView, const Standard_Boolean AFlag)
 call_togl_antialiasing

void Background (const Graphic3d_CView &ACView)
 call_togl_background

void GradientBackground (const Graphic3d_CView &ACView, const Quantity_Color &AColor1, const Quantity_Color &AColor2, const Aspect_GradientFillMethod FillStyle)
 call_togl_gradient_background

void BackgroundImage (const Standard_CString FileName, const Graphic3d_CView &ACView, const Aspect_FillMethod FillStyle)
void SetBgImageStyle (const Graphic3d_CView &ACView, const Aspect_FillMethod FillStyle)
void SetBgGradientStyle (const Graphic3d_CView &ACView, const Aspect_GradientFillMethod FillStyle)
void ClipLimit (const Graphic3d_CView &ACView, const Standard_Boolean AWait)
 call_togl_cliplimit

void DeactivateView (const Graphic3d_CView &ACView)
 call_togl_deactivateview

void DepthCueing (const Graphic3d_CView &ACView, const Standard_Boolean AFlag)
 call_togl_cliplimit

Standard_Boolean ProjectRaster (const Graphic3d_CView &ACView, const Standard_ShortReal AX, const Standard_ShortReal AY, const Standard_ShortReal AZ, Standard_Integer &AU, Standard_Integer &AV)
 call_togl_unproject_raster

Standard_Boolean UnProjectRaster (const Graphic3d_CView &ACView, const Standard_Integer Axm, const Standard_Integer Aym, const Standard_Integer AXM, const Standard_Integer AYM, const Standard_Integer AU, const Standard_Integer AV, Standard_ShortReal &AX, Standard_ShortReal &AY, Standard_ShortReal &AZ)
 call_togl_unproject_raster

Standard_Boolean UnProjectRasterWithRay (const Graphic3d_CView &ACView, const Standard_Integer Axm, const Standard_Integer Aym, const Standard_Integer AXM, const Standard_Integer AYM, const Standard_Integer AU, const Standard_Integer AV, Standard_ShortReal &AX, Standard_ShortReal &AY, Standard_ShortReal &AZ, Standard_ShortReal &DX, Standard_ShortReal &DY, Standard_ShortReal &DZ)
 call_togl_unproject_raster_with_ray

void RatioWindow (const Graphic3d_CView &ACView)
 call_togl_ratio_window

void Redraw (const Graphic3d_CView &ACView, const Aspect_CLayer2d &ACUnderLayer, const Aspect_CLayer2d &ACOverLayer, const Standard_Integer x=0, const Standard_Integer y=0, const Standard_Integer width=0, const Standard_Integer height=0)
 call_togl_redraw
Warning: when the redraw area has a null size, the full view is redrawn

void RemoveView (const Graphic3d_CView &ACView)
 call_togl_removeview

void SetLight (const Graphic3d_CView &ACView)
 call_togl_setlight

void SetPlane (const Graphic3d_CView &ACView)
 call_togl_setplane

void SetVisualisation (const Graphic3d_CView &ACView)
 call_togl_setvisualisation

void TransformStructure (const Graphic3d_CStructure &ACStructure)
 call_togl_transformstructure

void DegenerateStructure (const Graphic3d_CStructure &ACStructure)
 call_togl_degeneratestructure

void Transparency (const Graphic3d_CView &ACView, const Standard_Boolean AFlag)
 call_togl_transparency

void Update (const Graphic3d_CView &ACView, const Aspect_CLayer2d &ACUnderLayer, const Aspect_CLayer2d &ACOverLayer)
 call_togl_update

Standard_Boolean View (Graphic3d_CView &ACView)
 call_togl_view

void ViewMapping (const Graphic3d_CView &ACView, const Standard_Boolean AWait)
 call_togl_viewmapping

void ViewOrientation (const Graphic3d_CView &ACView, const Standard_Boolean AWait)
 call_togl_vieworientation

void Environment (const Graphic3d_CView &ACView)
void Marker (const Graphic3d_CGroup &ACGroup, const Graphic3d_Vertex &APoint, const Standard_Boolean EvalMinMax=Standard_True)
void MarkerSet (const Graphic3d_CGroup &ACGroup, const Graphic3d_Array1OfVertex &ListVertex, const Standard_Boolean EvalMinMax=Standard_True)
void Polygon (const Graphic3d_CGroup &ACGroup, const Graphic3d_Array1OfVertex &ListVertex, const Graphic3d_TypeOfPolygon AType=Graphic3d_TOP_CONVEX, const Standard_Boolean EvalMinMax=Standard_True)
 call_togl_polygon

void Text (const Graphic3d_CGroup &ACGroup, const Standard_CString AText, const Graphic3d_Vertex &APoint, const Standard_Real AHeight, const Quantity_PlaneAngle AAngle, const Graphic3d_TextPath ATp, const Graphic3d_HorizontalTextAlignment AHta, const Graphic3d_VerticalTextAlignment AVta, const Standard_Boolean EvalMinMax=Standard_True)
 call_togl_text

void Text (const Graphic3d_CGroup &ACGroup, const Standard_CString AText, const Graphic3d_Vertex &APoint, const Standard_Real AHeight, const Standard_Boolean EvalMinMax=Standard_True)
 call_togl_text

void Text (const Graphic3d_CGroup &ACGroup, const TCollection_ExtendedString &AText, const Graphic3d_Vertex &APoint, const Standard_Real AHeight, const Quantity_PlaneAngle AAngle, const Graphic3d_TextPath ATp, const Graphic3d_HorizontalTextAlignment AHta, const Graphic3d_VerticalTextAlignment AVta, const Standard_Boolean EvalMinMax=Standard_True)
 call_togl_text

void Text (const Graphic3d_CGroup &ACGroup, const TCollection_ExtendedString &AText, const Graphic3d_Vertex &APoint, const Standard_Real AHeight, const Standard_Boolean EvalMinMax=Standard_True)
 call_togl_text

void PrimitiveArray (const Graphic3d_CGroup &ACGroup, const Graphic3d_PrimitiveArray &parray, const Standard_Boolean EvalMinMax=Standard_True)
 call_togl_parray

void UserDraw (const Graphic3d_CGroup &ACGroup, const Graphic3d_CUserDraw &AUserDraw)
 call_togl_userdraw

void ZBufferTriedronSetup (const Quantity_NameOfColor XColor=Quantity_NOC_RED, const Quantity_NameOfColor YColor=Quantity_NOC_GREEN, const Quantity_NameOfColor ZColor=Quantity_NOC_BLUE1, const Standard_Real SizeRatio=0.8, const Standard_Real AxisDiametr=0.05, const Standard_Integer NbFacettes=12)
 call_togl_ztriedron_setup

void TriedronDisplay (const Graphic3d_CView &ACView, const Aspect_TypeOfTriedronPosition APosition=Aspect_TOTP_CENTER, const Quantity_NameOfColor AColor=Quantity_NOC_WHITE, const Standard_Real AScale=0.02, const Standard_Boolean AsWireframe=Standard_True)
 call_togl_triedron_display

void TriedronErase (const Graphic3d_CView &ACView)
 call_togl_triedron_erase

void TriedronEcho (const Graphic3d_CView &ACView, const Aspect_TypeOfTriedronEcho AType=Aspect_TOTE_NONE)
 call_togl_triedron_echo

void GraduatedTrihedronDisplay (const Graphic3d_CView &view, const Graphic3d_CGraduatedTrihedron &cubic)
 call_togl_graduatedtrihedron_display

void GraduatedTrihedronErase (const Graphic3d_CView &view)
 call_togl_graduatedtrihedron_erase

void GraduatedTrihedronMinMaxValues (const Standard_ShortReal xmin, const Standard_ShortReal ymin, const Standard_ShortReal zmin, const Standard_ShortReal xmax, const Standard_ShortReal ymax, const Standard_ShortReal zmax)
 call_togl_graduatedtrihedron_minmaxvalues

void BeginAnimation (const Graphic3d_CView &ACView)
 call_togl_begin_animation

void EndAnimation (const Graphic3d_CView &ACView)
 call_togl_end_animation

Standard_Boolean BeginAddMode (const Graphic3d_CView &ACView)
 call_togl_begin_ajout_mode

void EndAddMode ()
 call_togl_end_ajout_mode

Standard_Boolean BeginImmediatMode (const Graphic3d_CView &ACView, const Aspect_CLayer2d &ACUnderLayer, const Aspect_CLayer2d &ACOverLayer, const Standard_Boolean DoubleBuffer, const Standard_Boolean RetainMode)
 call_togl_begin_immediat_mode

void BeginPolyline ()
 call_togl_begin_polyline

void ClearImmediatMode (const Graphic3d_CView &ACView, const Standard_Boolean aFlush=Standard_True)
 call_togl_clear_immediat_mode

void Draw (const Standard_ShortReal X, const Standard_ShortReal Y, const Standard_ShortReal Z)
 call_togl_draw

void DrawStructure (const Graphic3d_CStructure &ACStructure)
 call_togl_draw_structure

void EndImmediatMode (const Standard_Integer Synchronize)
 call_togl_end_immediat_mode

void EndPolyline ()
 call_togl_end_polyline

void Move (const Standard_ShortReal X, const Standard_ShortReal Y, const Standard_ShortReal Z)
 call_togl_move

void SetLineColor (const Standard_ShortReal R, const Standard_ShortReal G, const Standard_ShortReal B)
 call_togl_set_linecolor

void SetLineType (const Standard_Integer Type)
 call_togl_set_linetype

void SetLineWidth (const Standard_ShortReal Width)
 call_togl_set_linewidth

void SetMinMax (const Standard_ShortReal X1, const Standard_ShortReal Y1, const Standard_ShortReal Z1, const Standard_ShortReal X2, const Standard_ShortReal Y2, const Standard_ShortReal Z2)
 call_togl_set_minmax

void Transform (const TColStd_Array2OfReal &AMatrix, const Graphic3d_TypeOfComposition AType)
 call_togl_transform

void Layer (Aspect_CLayer2d &ACLayer)
 call_togl_layer2d

void RemoveLayer (const Aspect_CLayer2d &ACLayer)
 call_togl_removelayer2d

void BeginLayer (const Aspect_CLayer2d &ACLayer)
 call_togl_begin_layer2d

void BeginPolygon2d ()
 call_togl_begin_polygon2d

void BeginPolyline2d ()
 call_togl_begin_polyline2d

void ClearLayer (const Aspect_CLayer2d &ACLayer)
 call_togl_clear_layer2d

void Draw (const Standard_ShortReal X, const Standard_ShortReal Y)
 call_togl_draw2d

void Edge (const Standard_ShortReal X, const Standard_ShortReal Y)
 call_togl_edge2d

void EndLayer ()
 call_togl_end_layer2d

void EndPolygon2d ()
 call_togl_end_polygon2d

void EndPolyline2d ()
 call_togl_end_polyline2d

void Move (const Standard_ShortReal X, const Standard_ShortReal Y)
 call_togl_move2d

void Rectangle (const Standard_ShortReal X, const Standard_ShortReal Y, const Standard_ShortReal Width, const Standard_ShortReal Height)
 call_togl_rectangle2d

void SetColor (const Standard_ShortReal R, const Standard_ShortReal G, const Standard_ShortReal B)
 call_togl_set_color

void SetTransparency (const Standard_ShortReal ATransparency)
 call_togl_set_transparency

void UnsetTransparency ()
 call_togl_unset_transparency

void SetLineAttributes (const Standard_Integer Type, const Standard_ShortReal Width)
 call_togl_set_line_attributes

void SetTextAttributes (const Standard_CString FontName, const Standard_Integer Type, const Standard_ShortReal R, const Standard_ShortReal G, const Standard_ShortReal B)
 Set text attributes for under-/overlayer.
<Font> argument defines the name of the font to be used,
<Type> argument defines the display type of the text,
<R> <G> values define the color of decal or subtitle background.
To set the color of the text you can use the SetColor method.

void Text (const Standard_CString AText, const Standard_ShortReal X, const Standard_ShortReal Y, const Standard_ShortReal AHeight)
 call_togl_text2d
If AHeight < 0 default text height is used by driver (DefaultTextHeight method)

void TextSize (const Standard_CString AText, const Standard_ShortReal AHeight, Standard_ShortReal &AWidth, Standard_ShortReal &AnAscent, Standard_ShortReal &ADescent) const
 call_togl_textsize2d

void SetBackFacingModel (const Graphic3d_CView &aView)
 call_togl_backfacing

Standard_Boolean Print (const Graphic3d_CView &ACView, const Aspect_CLayer2d &ACUnderLayer, const Aspect_CLayer2d &ACOverLayer, const Aspect_Handle hPrnDC, const Standard_Boolean showBackground, const Standard_CString filename, const Aspect_PrintAlgo printAlgorithm=Aspect_PA_STRETCH, const Standard_Real theScaleFactor=1.0) const
 print the contents of all layers of the view to the printer.
<hPrnDC> : Pass the PrinterDeviceContext (HDC),
<showBackground> : When set to FALSE then print the view without background color
(background is white)
else set to TRUE for printing with current background color.
<filename>: If != NULL, then the view will be printed to a file.
<printAlgorithm>: Select print algorithm: stretch, tile.
<theScaleFactor>: Scaling coefficient, used internally to scale the
printings accordingly to the scale factor selected in the printer
properties dialog.
Returns Standard_True if the data is passed to the printer, otherwise
Standard_False if the print operation failed due to the printer errors,
or lack of system memory. This might be related to insufficient memory
or some internal errors. All this errors are indicated by the message
boxes (on level of OpenGl_GraphicDriver).
Warning: This function can reuse FBO assigned to the view
Please take it into account if you use it for your purposes;

void SetDepthTestEnabled (const Graphic3d_CView &view, const Standard_Boolean isEnabled) const
 call_togl_depthtest

Standard_Boolean IsDepthTestEnabled (const Graphic3d_CView &view) const
 call_togl_isdepthtest

void ReadDepths (const Graphic3d_CView &view, const Standard_Integer x, const Standard_Integer y, const Standard_Integer width, const Standard_Integer height, const Standard_Address buffer) const
 Reads depths of shown pixels of the given rectangle (glReadPixels with GL_DEPTH_COMPONENT)

Graphic3d_PtrFrameBuffer FBOCreate (const Graphic3d_CView &view, const Standard_Integer width, const Standard_Integer height)
 Generate offscreen FBO (needs OpenGL2+ hardware)
If not supported on hardware returns NULL.

void FBORelease (const Graphic3d_CView &view, Graphic3d_PtrFrameBuffer &fboPtr)
 Remove offscreen FBO

Standard_Boolean BufferDump (const Graphic3d_CView &theCView, Image_PixMap &theImage, const Graphic3d_BufferType &theBufferType)
 Dump active rendering buffer into specified memory buffer.

void SetGLLightEnabled (const Graphic3d_CView &view, const Standard_Boolean isEnabled) const
 call_togl_gllight

Standard_Boolean IsGLLightEnabled (const Graphic3d_CView &view) const
 call_togl_isgllight

void RemovePrimitiveArray (const Graphic3d_CGroup &theCGroup, const Graphic3d_PrimitiveArray &thePArray)
 Clear visualization data in graphical driver and stop
displaying the primitives array of the graphical group <theCGroup>.
This method is internal and should be used by Graphic3d_Group only.

Standard_Integer InquirePlaneLimit ()
 call_togl_inquireplane

Standard_Integer CreateTexture (const Graphic3d_TypeOfTexture Type, const Handle< AlienImage_AlienImage > &Image, const Standard_CString FileName, const Handle< TColStd_HArray1OfReal > &TexUpperBounds) const
void DestroyTexture (const Standard_Integer TexId) const
void ModifyTexture (const Standard_Integer TexId, const Graphic3d_CInitTexture &AValue) const
Standard_ShortReal DefaultTextHeight () const
void FBOGetDimensions (const Graphic3d_CView &view, const Graphic3d_PtrFrameBuffer fboPtr, Standard_Integer &width, Standard_Integer &height, Standard_Integer &widthMax, Standard_Integer &heightMax)
 Read offscreen FBO configuration.

void FBOChangeViewport (const Graphic3d_CView &view, Graphic3d_PtrFrameBuffer &fboPtr, const Standard_Integer width, const Standard_Integer height)
 Change offscreen FBO viewport.

Standard_Boolean Export (const Standard_CString theFileName, const Graphic3d_ExportFormat theFormat, const Graphic3d_SortType theSortType, const Standard_Integer theWidth, const Standard_Integer theHeight, const Graphic3d_CView &theView, const Aspect_CLayer2d &theLayerUnder, const Aspect_CLayer2d &theLayerOver, const Standard_Real thePrecision=0.005, const Standard_Address theProgressBarFunc=NULL, const Standard_Address theProgressObject=NULL)
 Export scene into the one of the Vector graphics formats (SVG, PS, PDF...).
In contrast to Bitmaps, Vector graphics is scalable (so you may got quality benefits on printing to laser printer).
Notice however that results may differ a lot and do not contain some elements.

void AddZLayer (const Graphic3d_CView &theCView, const Standard_Integer theLayerId)
 Add a new top-level z layer with ID <theLayerId> for
the view. Z layers allow drawing structures in higher layers
in foreground of structures in lower layers. To add a structure
to desired layer on display it is necessary to set the layer
index for the structure.

void RemoveZLayer (const Graphic3d_CView &theCView, const Standard_Integer theLayerId)
 Remove Z layer from the specified view. All structures
displayed at the moment in layer will be displayed in default layer
( the bottom-level z layer ). To unset layer index from associated
structures use method UnsetZLayer (...).

void UnsetZLayer (const Standard_Integer theLayerId)
 Unset Z layer ID for all structures. The structure
indexes will be set to default layer ( the bottom-level z layer with
ID = 0 ).

void ChangeZLayer (const Graphic3d_CStructure &theCStructure, const Standard_Integer theLayerId)
 Change Z layer of a structure. The new z layer ID will
be used to define the associated layer for structure on display.
It is recommended to take care of redisplaying the structures already
presented in view with previously set layer index. This is usually
done by viewer manager. Z layers allow drawing structures in
higher layers in foreground of structures in lower layers.

void ChangeZLayer (const Graphic3d_CStructure &theCStructure, const Graphic3d_CView &theCView, const Standard_Integer theNewLayerId)
 Change Z layer of a structure already presented in view.
It is recommended to update z layer of already
displayed structures with this method before setting new z layer
index to the structure. This is usually done by viewer manager.

Standard_Integer GetZLayer (const Graphic3d_CStructure &theCStructure) const
 Get Z layer ID of the structure. If the structure doesn't exists in
graphic driver, the method returns -1.

void EnableVBO (const Standard_Boolean theToTurnOn)
 VBO usage can be forbidden by this method even if it is supported by GL driver. Notice that disabling of VBO will cause rendering performance degradation. Warning! This method should be called only before any primitives are displayed in GL scene!
Standard_Boolean MemoryInfo (Standard_Size &theFreeBytes, TCollection_AsciiString &theInfo) const
 Returns information about GPU memory usage. Please read OpenGl_Context::MemoryInfo() for more description.
OpenGl_UserDrawCallback_tUserDrawCallback ()
 Method to setup UserDraw callback.

Static Public Member Functions

static Standard_Boolean ToUseVBO ()
 Returns true if VBO usage does not forbidden.

Member Typedef Documentation


Constructor & Destructor Documentation


Member Function Documentation

Standard_Boolean OpenGl_GraphicDriver::BeginImmediatMode ( const Graphic3d_CView ACView,
const Aspect_CLayer2d ACUnderLayer,
const Aspect_CLayer2d ACOverLayer,
const Standard_Boolean  DoubleBuffer,
const Standard_Boolean  RetainMode 
) [virtual]
Standard_Boolean OpenGl_GraphicDriver::BufferDump ( const Graphic3d_CView theCView,
Image_PixMap theImage,
const Graphic3d_BufferType theBufferType 
) [virtual]
void OpenGl_GraphicDriver::ChangeZLayer ( const Graphic3d_CStructure theCStructure,
const Graphic3d_CView theCView,
const Standard_Integer  theNewLayerId 
) [virtual]
Standard_Boolean OpenGl_GraphicDriver::Export ( const Standard_CString  theFileName,
const Graphic3d_ExportFormat  theFormat,
const Graphic3d_SortType  theSortType,
const Standard_Integer  theWidth,
const Standard_Integer  theHeight,
const Graphic3d_CView theView,
const Aspect_CLayer2d theLayerUnder,
const Aspect_CLayer2d theLayerOver,
const Standard_Real  thePrecision = 0.005,
const Standard_Address  theProgressBarFunc = NULL,
const Standard_Address  theProgressObject = NULL 
) [virtual]
Standard_Boolean OpenGl_GraphicDriver::MemoryInfo ( Standard_Size theFreeBytes,
TCollection_AsciiString theInfo 
) const [virtual]
Standard_Boolean OpenGl_GraphicDriver::Print ( const Graphic3d_CView ACView,
const Aspect_CLayer2d ACUnderLayer,
const Aspect_CLayer2d ACOverLayer,
const Aspect_Handle  hPrnDC,
const Standard_Boolean  showBackground,
const Standard_CString  filename,
const Aspect_PrintAlgo  printAlgorithm = Aspect_PA_STRETCH,
const Standard_Real  theScaleFactor = 1.0 
) const [virtual]
void OpenGl_GraphicDriver::Redraw ( const Graphic3d_CView ACView,
const Aspect_CLayer2d ACUnderLayer,
const Aspect_CLayer2d ACOverLayer,
const Standard_Integer  x = 0,
const Standard_Integer  y = 0,
const Standard_Integer  width = 0,
const Standard_Integer  height = 0 
) [virtual]
void OpenGl_GraphicDriver::TextSize ( const Standard_CString  AText,
const Standard_ShortReal  AHeight,
Standard_ShortReal AWidth,
Standard_ShortReal AnAscent,
Standard_ShortReal ADescent 
) const [virtual]
void OpenGl_GraphicDriver::Update ( const Graphic3d_CView ACView,
const Aspect_CLayer2d ACUnderLayer,
const Aspect_CLayer2d ACOverLayer 
) [virtual]

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