Public Member Functions |
| OpenGl_View (const CALL_DEF_VIEWCONTEXT &AContext) |
virtual | ~OpenGl_View () |
void | SetTextureEnv (const Standard_Integer AId) |
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 CALL_DEF_VIEW &ACView) |
void | SetMapping (const CALL_DEF_VIEW &ACView) |
void | SetOrientation (const CALL_DEF_VIEW &ACView) |
void | SetFog (const CALL_DEF_VIEW &ACView, const Standard_Boolean AFlag) |
void | TriedronDisplay (const Aspect_TypeOfTriedronPosition APosition, const Quantity_NameOfColor AColor, const Standard_Real AScale, const Standard_Boolean AsWireframe) |
void | TriedronErase () |
void | GraduatedTrihedronDisplay (const Graphic3d_CGraduatedTrihedron &ACubic) |
void | GraduatedTrihedronErase () |
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_Workspace > &AWorkspace, const Graphic3d_CView &ACView, const Aspect_CLayer2d &ACUnderLayer, const Aspect_CLayer2d &ACOverLayer) |
Protected Member Functions |
void | RenderStructs (const Handle< OpenGl_Workspace > &AWorkspace) |
void | RedrawLayer2d (const Handle< OpenGl_Workspace > &AWorkspace, const Graphic3d_CView &ACView, const Aspect_CLayer2d &ACLayer) |
Protected Attributes |
Standard_Integer | 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 |
Handle< OpenGl_Trihedron > | myTrihedron |
Handle< OpenGl_GraduatedTrihedron > | myGraduatedTrihedron |
int | myVisualization |
int | myIntShadingMethod |
OpenGl_ListOfLight | myLights |
Standard_Boolean | myAntiAliasing |
OpenGl_LayerList | myZLayers |
int | myAnimationListIndex |
Standard_Boolean | myAnimationListReady |
const TEL_TRANSFORM_PERSISTENCE * | myTransPers |
Standard_Boolean | myIsTransPers |
Standard_Boolean | myResetFLIST |