Open CASCADE Technology 6.6.0
|
This class defines an OpenGl graphic driver
#include <OpenGl_GraphicDriver.hxx>
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 Handle< Aspect_DisplayConnection > &theDisplayConnection) |
Starts graphic driver with given connection | |
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 | |
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 | 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 | 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 | 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) |
void | MarkerSet (const Graphic3d_CGroup &ACGroup, const Graphic3d_Array1OfVertex &ListVertex) |
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 | |
Standard_Boolean | SetImmediateModeDrawToFront (const Graphic3d_CView &theCView, const Standard_Boolean theDrawToFrontBuffer) |
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 | ClearImmediatMode (const Graphic3d_CView &ACView, const Standard_Boolean aFlush=Standard_True) |
call_togl_clear_immediat_mode | |
void | DrawStructure (const Graphic3d_CStructure &ACStructure) |
call_togl_draw_structure | |
void | EndImmediatMode (const Standard_Integer Synchronize) |
call_togl_end_immediat_mode | |
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 | |
Standard_Integer | InquirePlaneLimit () |
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_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_t & | UserDrawCallback () |
Method to setup UserDraw callback. | |
Static Public Member Functions | |
static Standard_Boolean | ToUseVBO () |
Returns true if VBO usage does not forbidden. |
typedef OpenGl_Element*(* OpenGl_GraphicDriver::OpenGl_UserDrawCallback_t)(const CALL_DEF_USERDRAW *) |
OpenGl_GraphicDriver::OpenGl_GraphicDriver | ( | const Standard_CString | theShrName | ) |
void OpenGl_GraphicDriver::ActivateView | ( | const Graphic3d_CView & | ACView | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::AddZLayer | ( | const Graphic3d_CView & | theCView, |
const Standard_Integer | theLayerId | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::AntiAliasing | ( | const Graphic3d_CView & | ACView, |
const Standard_Boolean | AFlag | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::Background | ( | const Graphic3d_CView & | ACView | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::BackgroundImage | ( | const Standard_CString | FileName, |
const Graphic3d_CView & | ACView, | ||
const Aspect_FillMethod | FillStyle | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
Standard_Boolean OpenGl_GraphicDriver::Begin | ( | const Handle< Aspect_DisplayConnection > & | theDisplayConnection | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
Standard_Boolean OpenGl_GraphicDriver::BeginAddMode | ( | const Graphic3d_CView & | ACView | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
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] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::BeginLayer | ( | const Aspect_CLayer2d & | ACLayer | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::BeginPolygon2d | ( | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::BeginPolyline2d | ( | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::Blink | ( | const Graphic3d_CStructure & | ACStructure, |
const Standard_Boolean | Create | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::BoundaryBox | ( | const Graphic3d_CStructure & | ACStructure, |
const Standard_Boolean | Create | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
Standard_Boolean OpenGl_GraphicDriver::BufferDump | ( | const Graphic3d_CView & | theCView, |
Image_PixMap & | theImage, | ||
const Graphic3d_BufferType & | theBufferType | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::ChangeZLayer | ( | const Graphic3d_CStructure & | theCStructure, |
const Standard_Integer | theLayerId | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::ChangeZLayer | ( | const Graphic3d_CStructure & | theCStructure, |
const Graphic3d_CView & | theCView, | ||
const Standard_Integer | theNewLayerId | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::ClearGroup | ( | const Graphic3d_CGroup & | ACGroup | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::ClearImmediatMode | ( | const Graphic3d_CView & | ACView, |
const Standard_Boolean | aFlush = Standard_True |
||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::ClearLayer | ( | const Aspect_CLayer2d & | ACLayer | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::ClearStructure | ( | const Graphic3d_CStructure & | ACStructure | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::ClipLimit | ( | const Graphic3d_CView & | ACView, |
const Standard_Boolean | AWait | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::Connect | ( | const Graphic3d_CStructure & | AFather, |
const Graphic3d_CStructure & | ASon | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::ContextStructure | ( | const Graphic3d_CStructure & | ACStructure | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::DeactivateView | ( | const Graphic3d_CView & | ACView | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
Standard_ShortReal OpenGl_GraphicDriver::DefaultTextHeight | ( | ) | const [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::DepthCueing | ( | const Graphic3d_CView & | ACView, |
const Standard_Boolean | AFlag | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::Disconnect | ( | const Graphic3d_CStructure & | AFather, |
const Graphic3d_CStructure & | ASon | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::DisplayStructure | ( | const Graphic3d_CView & | ACView, |
const Graphic3d_CStructure & | ACStructure, | ||
const Standard_Integer | APriority | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::Draw | ( | const Standard_ShortReal | X, |
const Standard_ShortReal | Y | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::DrawStructure | ( | const Graphic3d_CStructure & | ACStructure | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::Edge | ( | const Standard_ShortReal | X, |
const Standard_ShortReal | Y | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::EnableVBO | ( | const Standard_Boolean | theToTurnOn | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::End | ( | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::EndAddMode | ( | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::EndImmediatMode | ( | const Standard_Integer | Synchronize | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::EndLayer | ( | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::EndPolygon2d | ( | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::EndPolyline2d | ( | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::Environment | ( | const Graphic3d_CView & | ACView | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::EraseStructure | ( | const Graphic3d_CView & | ACView, |
const Graphic3d_CStructure & | ACStructure | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
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] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::FaceContextGroup | ( | const Graphic3d_CGroup & | ACGroup, |
const Standard_Integer | NoInsert | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::FBOChangeViewport | ( | const Graphic3d_CView & | view, |
Graphic3d_PtrFrameBuffer & | fboPtr, | ||
const Standard_Integer | width, | ||
const Standard_Integer | height | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
Graphic3d_PtrFrameBuffer OpenGl_GraphicDriver::FBOCreate | ( | const Graphic3d_CView & | view, |
const Standard_Integer | width, | ||
const Standard_Integer | height | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::FBOGetDimensions | ( | const Graphic3d_CView & | view, |
const Graphic3d_PtrFrameBuffer | fboPtr, | ||
Standard_Integer & | width, | ||
Standard_Integer & | height, | ||
Standard_Integer & | widthMax, | ||
Standard_Integer & | heightMax | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::FBORelease | ( | const Graphic3d_CView & | view, |
Graphic3d_PtrFrameBuffer & | fboPtr | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
Standard_Integer OpenGl_GraphicDriver::GetZLayer | ( | const Graphic3d_CStructure & | theCStructure | ) | const [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::GradientBackground | ( | const Graphic3d_CView & | ACView, |
const Quantity_Color & | AColor1, | ||
const Quantity_Color & | AColor2, | ||
const Aspect_GradientFillMethod | FillStyle | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::GraduatedTrihedronDisplay | ( | const Graphic3d_CView & | view, |
const Graphic3d_CGraduatedTrihedron & | cubic | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::GraduatedTrihedronErase | ( | const Graphic3d_CView & | view | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::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 | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::Group | ( | Graphic3d_CGroup & | ACGroup | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::HighlightColor | ( | const Graphic3d_CStructure & | ACStructure, |
const Standard_ShortReal | R, | ||
const Standard_ShortReal | G, | ||
const Standard_ShortReal | B, | ||
const Standard_Boolean | Create | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
Standard_Integer OpenGl_GraphicDriver::InquireLightLimit | ( | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::InquireMat | ( | const Graphic3d_CView & | ACView, |
TColStd_Array2OfReal & | AMatO, | ||
TColStd_Array2OfReal & | AMatM | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
Standard_Integer OpenGl_GraphicDriver::InquirePlaneLimit | ( | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
Standard_Integer OpenGl_GraphicDriver::InquireViewLimit | ( | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
Standard_Boolean OpenGl_GraphicDriver::IsDepthTestEnabled | ( | const Graphic3d_CView & | view | ) | const [virtual] |
Implements Graphic3d_GraphicDriver.
Standard_Boolean OpenGl_GraphicDriver::IsGLLightEnabled | ( | const Graphic3d_CView & | view | ) | const [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::Layer | ( | Aspect_CLayer2d & | ACLayer | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::LineContextGroup | ( | const Graphic3d_CGroup & | ACGroup, |
const Standard_Integer | NoInsert | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::Marker | ( | const Graphic3d_CGroup & | ACGroup, |
const Graphic3d_Vertex & | APoint | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::MarkerContextGroup | ( | const Graphic3d_CGroup & | ACGroup, |
const Standard_Integer | NoInsert | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::MarkerContextGroup | ( | const Graphic3d_CGroup & | ACGroup, |
const Standard_Integer | NoInsert, | ||
const Standard_Integer | AMarkWidth, | ||
const Standard_Integer | AMarkHeight, | ||
const Handle< TColStd_HArray1OfByte > & | ATexture | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::MarkerSet | ( | const Graphic3d_CGroup & | ACGroup, |
const Graphic3d_Array1OfVertex & | ListVertex | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
Standard_Boolean OpenGl_GraphicDriver::MemoryInfo | ( | Standard_Size & | theFreeBytes, |
TCollection_AsciiString & | theInfo | ||
) | const [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::Move | ( | const Standard_ShortReal | X, |
const Standard_ShortReal | Y | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::NameSetStructure | ( | const Graphic3d_CStructure & | ACStructure | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::PrimitiveArray | ( | const Graphic3d_CGroup & | ACGroup, |
const Graphic3d_PrimitiveArray & | parray, | ||
const Standard_Boolean | EvalMinMax = Standard_True |
||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
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] |
Implements Graphic3d_GraphicDriver.
Standard_Boolean OpenGl_GraphicDriver::ProjectRaster | ( | const Graphic3d_CView & | ACView, |
const Standard_ShortReal | AX, | ||
const Standard_ShortReal | AY, | ||
const Standard_ShortReal | AZ, | ||
Standard_Integer & | AU, | ||
Standard_Integer & | AV | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::RatioWindow | ( | const Graphic3d_CView & | ACView | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::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 [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::Rectangle | ( | const Standard_ShortReal | X, |
const Standard_ShortReal | Y, | ||
const Standard_ShortReal | Width, | ||
const Standard_ShortReal | Height | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
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] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::RemoveGroup | ( | const Graphic3d_CGroup & | ACGroup | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::RemoveLayer | ( | const Aspect_CLayer2d & | ACLayer | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::RemoveStructure | ( | const Graphic3d_CStructure & | ACStructure | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::RemoveView | ( | const Graphic3d_CView & | ACView | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::RemoveZLayer | ( | const Graphic3d_CView & | theCView, |
const Standard_Integer | theLayerId | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::SetBackFacingModel | ( | const Graphic3d_CView & | aView | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::SetBgGradientStyle | ( | const Graphic3d_CView & | ACView, |
const Aspect_GradientFillMethod | FillStyle | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::SetBgImageStyle | ( | const Graphic3d_CView & | ACView, |
const Aspect_FillMethod | FillStyle | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::SetColor | ( | const Standard_ShortReal | R, |
const Standard_ShortReal | G, | ||
const Standard_ShortReal | B | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::SetDepthTestEnabled | ( | const Graphic3d_CView & | view, |
const Standard_Boolean | isEnabled | ||
) | const [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::SetGLLightEnabled | ( | const Graphic3d_CView & | view, |
const Standard_Boolean | isEnabled | ||
) | const [virtual] |
Implements Graphic3d_GraphicDriver.
Standard_Boolean OpenGl_GraphicDriver::SetImmediateModeDrawToFront | ( | const Graphic3d_CView & | theCView, |
const Standard_Boolean | theDrawToFrontBuffer | ||
) | [virtual] |
theDrawToFrontBuffer | Advanced option to modify rendering mode: 1. TRUE. Drawing immediate mode structures directly to the front buffer over the scene image. Fast, so preferred for interactive work (used by default). However these extra drawings will be missed in image dump since it is performed from back buffer. Notice that since no pre-buffering used the V-Sync will be ignored and rendering could be seen in run-time (in case of slow hardware) and/or tearing may appear. So this is strongly recommended to draw only simple (fast) structures. 2. FALSE. Drawing immediate mode structures to the back buffer. The complete scene is redrawn first, so this mode is slower if scene contains complex data and/or V-Sync is turned on. But it works in any case and is especially useful for view dump because the dump image is read from the back buffer. |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::SetLight | ( | const Graphic3d_CView & | ACView | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::SetLineAttributes | ( | const Standard_Integer | Type, |
const Standard_ShortReal | Width | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::SetPlane | ( | const Graphic3d_CView & | ACView | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::SetTextAttributes | ( | const Standard_CString | FontName, |
const Standard_Integer | Type, | ||
const Standard_ShortReal | R, | ||
const Standard_ShortReal | G, | ||
const Standard_ShortReal | B | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::SetTransparency | ( | const Standard_ShortReal | ATransparency | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::SetVisualisation | ( | const Graphic3d_CView & | ACView | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::Structure | ( | Graphic3d_CStructure & | ACStructure | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::Text | ( | const Graphic3d_CGroup & | ACGroup, |
const TCollection_ExtendedString & | AText, | ||
const Graphic3d_Vertex & | APoint, | ||
const Standard_Real | AHeight, | ||
const Standard_Boolean | EvalMinMax = Standard_True |
||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::Text | ( | const Graphic3d_CGroup & | ACGroup, |
const Standard_CString | AText, | ||
const Graphic3d_Vertex & | APoint, | ||
const Standard_Real | AHeight, | ||
const Standard_Boolean | EvalMinMax = Standard_True |
||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::Text | ( | const Standard_CString | AText, |
const Standard_ShortReal | X, | ||
const Standard_ShortReal | Y, | ||
const Standard_ShortReal | AHeight | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::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 |
||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::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 |
||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::TextContextGroup | ( | const Graphic3d_CGroup & | ACGroup, |
const Standard_Integer | NoInsert | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::TextSize | ( | const Standard_CString | AText, |
const Standard_ShortReal | AHeight, | ||
Standard_ShortReal & | AWidth, | ||
Standard_ShortReal & | AnAscent, | ||
Standard_ShortReal & | ADescent | ||
) | const [virtual] |
Implements Graphic3d_GraphicDriver.
static Standard_Boolean OpenGl_GraphicDriver::ToUseVBO | ( | ) | [static] |
void OpenGl_GraphicDriver::TransformStructure | ( | const Graphic3d_CStructure & | ACStructure | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::Transparency | ( | const Graphic3d_CView & | ACView, |
const Standard_Boolean | AFlag | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::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 |
||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::TriedronEcho | ( | const Graphic3d_CView & | ACView, |
const Aspect_TypeOfTriedronEcho | AType = Aspect_TOTE_NONE |
||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::TriedronErase | ( | const Graphic3d_CView & | ACView | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
Standard_Boolean OpenGl_GraphicDriver::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 | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
Standard_Boolean OpenGl_GraphicDriver::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 | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::UnsetTransparency | ( | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::UnsetZLayer | ( | const Standard_Integer | theLayerId | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::Update | ( | const Graphic3d_CView & | ACView, |
const Aspect_CLayer2d & | ACUnderLayer, | ||
const Aspect_CLayer2d & | ACOverLayer | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::UserDraw | ( | const Graphic3d_CGroup & | ACGroup, |
const Graphic3d_CUserDraw & | AUserDraw | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
OpenGl_UserDrawCallback_t& OpenGl_GraphicDriver::UserDrawCallback | ( | ) |
Standard_Boolean OpenGl_GraphicDriver::View | ( | Graphic3d_CView & | ACView | ) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::ViewMapping | ( | const Graphic3d_CView & | ACView, |
const Standard_Boolean | AWait | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::ViewOrientation | ( | const Graphic3d_CView & | ACView, |
const Standard_Boolean | AWait | ||
) | [virtual] |
Implements Graphic3d_GraphicDriver.
void OpenGl_GraphicDriver::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 |
||
) | [virtual] |
Implements Graphic3d_GraphicDriver.