Public Member Functions |
| | OpenGl_View (const CALL_DEF_VIEWCONTEXT &AContext) |
| virtual | ~OpenGl_View () |
| void | ReleaseGlResources (const Handle< OpenGl_Context > &theCtx) |
| void | SetTextureEnv (const Handle< OpenGl_Context > &theCtx, const Handle< Graphic3d_TextureEnv > &theTexture) |
| void | SetSurfaceDetail (const Visual3d_TypeOfSurfaceDetail AMode) |
| void | SetBackfacing (const Standard_Integer AMode) |
| void | SetLights (const CALL_DEF_VIEWCONTEXT &AContext) |
| void | SetAntiAliasing (const Standard_Boolean AMode) |
| void | SetClippingPlanes (const CALL_DEF_VIEWCONTEXT &AContext) |
| void | SetVisualisation (const CALL_DEF_VIEWCONTEXT &AContext) |
| void | SetClipLimit (const Graphic3d_CView &theCView) |
| void | SetMapping (const Graphic3d_CView &theCView) |
| void | SetOrientation (const Graphic3d_CView &theCView) |
| void | SetFog (const Graphic3d_CView &theCView, const Standard_Boolean theFlag) |
| void | TriedronDisplay (const Handle< OpenGl_Context > &theCtx, const Aspect_TypeOfTriedronPosition thePosition, const Quantity_NameOfColor theColor, const Standard_Real theScale, const Standard_Boolean theAsWireframe) |
| void | TriedronErase (const Handle< OpenGl_Context > &theCtx) |
| void | GraduatedTrihedronDisplay (const Handle< OpenGl_Context > &theCtx, const Graphic3d_CGraduatedTrihedron &theCubic) |
| void | GraduatedTrihedronErase (const Handle< OpenGl_Context > &theCtx) |
| Standard_Boolean | ProjectObjectToRaster (const Standard_Integer w, const Standard_Integer h, const Standard_ShortReal x, const Standard_ShortReal y, const Standard_ShortReal z, Standard_ShortReal &xr, Standard_ShortReal &yr) |
| Standard_Boolean | ProjectRasterToObject (const Standard_Integer w, const Standard_Integer h, const Standard_Integer xr, const Standard_Integer yr, Standard_ShortReal &x, Standard_ShortReal &y, Standard_ShortReal &z) |
| Standard_Boolean | ProjectRasterToObjectWithRay (const Standard_Integer w, const Standard_Integer h, const Standard_Integer xr, const Standard_Integer yr, Standard_ShortReal &x, Standard_ShortReal &y, Standard_ShortReal &z, Standard_ShortReal &dx, Standard_ShortReal &dy, Standard_ShortReal &dz) |
| void | GetMatrices (TColStd_Array2OfReal &theMatOrient, TColStd_Array2OfReal &theMatMapping, const Standard_Boolean theIsCustom) const |
| Standard_Real | Height () const |
| Standard_Real | Width () const |
| Standard_Integer | Backfacing () const |
| const TEL_TRANSFORM_PERSISTENCE * | BeginTransformPersistence (const TEL_TRANSFORM_PERSISTENCE *ATransPers) |
| void | EndTransformPersistence () |
| void | DisplayStructure (const OpenGl_Structure *theStructure, const Standard_Integer thePriority) |
| | Add structure to display list with specified priority. The structure will be added to associated with it z layer. If the z layer is not presented in the view, the structure will be displayed in default bottom-level z layer.
|
| void | EraseStructure (const OpenGl_Structure *theStructure) |
| | Erase structure from display list.
|
| void | AddZLayer (const Standard_Integer theLayerId) |
| | Insert a new top-level z layer with ID <theLayerId>
|
| void | RemoveZLayer (const Standard_Integer theLayerId) |
| | Remove a z layer with ID <theLayerId>
|
| void | ChangeZLayer (const OpenGl_Structure *theStructure, const Standard_Integer theNewLayerId) |
| | Display structure in z layer with ID <theNewLayerId> If the layer with ID <theNewLayerId> is not presented in the view, the structure will be displayed in default bottom-level layer.
|
| void | CreateBackgroundTexture (const Standard_CString AFileName, const Aspect_FillMethod AFillStyle) |
| void | SetBackgroundTextureStyle (const Aspect_FillMethod FillStyle) |
| void | SetBackgroundGradient (const Quantity_Color &AColor1, const Quantity_Color &AColor2, const Aspect_GradientFillMethod AType) |
| void | SetBackgroundGradientType (const Aspect_GradientFillMethod AType) |
| void | Render (const Handle< OpenGl_PrinterContext > &thePrintContext, const Handle< OpenGl_Workspace > &theWorkspace, const Graphic3d_CView &theCView, const Aspect_CLayer2d &theCUnderLayer, const Aspect_CLayer2d &theCOverLayer) |
DEFINE_STANDARD_RTTI(OpenGl_View)
protected void | RedrawLayer2d (const Handle< OpenGl_PrinterContext > &thePrintContext, const Handle< OpenGl_Workspace > &theWorkspace, const Graphic3d_CView &theCView, const Aspect_CLayer2d &theCLayer) |
Data Fields |
| Handle< OpenGl_Texture > | myTextureEnv |
| Visual3d_TypeOfSurfaceDetail | mySurfaceDetail |
| Standard_Integer | myBackfacing |
| OPENGL_BG_TEXTURE | myBgTexture |
| OPENGL_BG_GRADIENT | myBgGradient |
| Tmatrix3 | myOrientationMatrix |
| Tmatrix3 | myMappingMatrix |
| OPENGL_ZCLIP | myZClip |
| NCollection_List< OPENGL_CLIP_REP > | myClippingPlanes |
| OPENGL_EXTRA_REP | myExtra |
| OPENGL_FOG | myFog |
| OpenGl_Trihedron * | myTrihedron |
| OpenGl_GraduatedTrihedron * | myGraduatedTrihedron |
| int | myVisualization |
| int | myIntShadingMethod |
| OpenGl_ListOfLight | myLights |
| Standard_Boolean | myAntiAliasing |
| OpenGl_LayerList | myZLayers |
| const TEL_TRANSFORM_PERSISTENCE * | myTransPers |
| Standard_Boolean | myIsTransPers |