|
Open CASCADE Technology 6.5.2
|
Creation and edition of a view in a 3D visualiser.
A 3D view is composed of an "orientation" part defined
by the position of the observer, the direction of view,
and a "mapping" part defined by the type of projection
(parallel or perspective) and by the window-viewport
couple which allows passage from the projected coordinate
space into the screen space.
Summary of 3D Viewing
To define a view, you must define:
More...
#include <Visual3d_View.hxx>

Public Member Functions | |
| Visual3d_View (const Handle< Visual3d_ViewManager > &AManager) | |
| Creates a view in the viewer <AManager> with a default orientation and a default mapping. | |
| Visual3d_View (const Handle< Visual3d_ViewManager > &AManager, const Visual3d_ViewOrientation &VO, const Visual3d_ViewMapping &VM, const Visual3d_ContextView &CTX) | |
| Creates a view in the viewer <AManager> with the orientation <VO>, the mapping <VM>, and the context<CTX>. | |
| void | Activate () |
| Activates the view <me>. Map the associated window on the screen and post the view in this window. Category: Methods to modify the class definition Warning: Raises ViewDefinitionError if the associated window isn't defined. | |
| void | Deactivate () |
| Deactivates the view <me>. Unmap the associated window on the screen and unpost the view in this window. Category: Methods to modify the class definition Warning: Raises ViewDefinitionError if the associated window isn't defined. | |
| virtual void | Destroy () |
| Deletes and erases the view <me>. | |
| ~Visual3d_View () | |
| void | Redraw () |
| Updates screen in all cases. | |
| void | Redraw (const Standard_Integer x, const Standard_Integer y, const Standard_Integer width, const Standard_Integer height) |
| Updates screen area in all cases. area is given by his xy min corner and size in pixel coordinates | |
| void | Redraw (const Handle< Visual3d_Layer > &AnUnderLayer, const Handle< Visual3d_Layer > &AnOverLayer) |
| Updates screen in all cases. | |
| void | Redraw (const Handle< Visual3d_Layer > &AnUnderLayer, const Handle< Visual3d_Layer > &AnOverLayer, const Standard_Integer x, const Standard_Integer y, const Standard_Integer width, const Standard_Integer height) |
| Updates screen area in all cases. area is given by his xy min corner and size in pixel coordinates | |
| void | Remove () |
| Deletes and erases the view <me>. Warning: No more graphic operations in <me> after this call. | |
| void | Resized () |
| Updates the view <me> after the modification of the associated window. Category: Methods to modify the class definition Warning: Raises ViewDefinitionError if the associated window isn't defined. | |
| void | SetBackground (const Aspect_Background &ABack) |
| Modifies the default window background. Category: Methods to modify the class definition Warning: Raises ViewDefinitionError if the associated window isn't defined. | |
| void | SetBackgroundImage (const Standard_CString FileName, const Aspect_FillMethod FillStyle, const Standard_Boolean update) |
| Category: Methods to modify the class definition Warning: Raises ViewDefinitionError if the associated window isn't defined. | |
| void | SetBgImageStyle (const Aspect_FillMethod FillStyle, const Standard_Boolean update) |
| Category: Methods to modify the class definition Warning: Raises ViewDefinitionError if the associated window isn't defined. | |
| void | SetGradientBackground (const Aspect_GradientBackground &ABack, const Standard_Boolean update) |
| Modifies the gradient window background. Category: Methods to modify the class definition Warning: Raises ViewDefinitionError if the associated window isn't defined. | |
| void | SetBgGradientStyle (const Aspect_GradientFillMethod FillStyle, const Standard_Boolean update) |
| Category: Methods to modify the class definition Warning: Raises ViewDefinitionError if the associated window isn't defined. | |
| void | SetBackFacingModel (const Visual3d_TypeOfBackfacingModel aModel) |
| Manages display of the back faces | |
| Visual3d_TypeOfBackfacingModel | BackFacingModel () const |
| Returns current state of the back faces display | |
| void | SetContext (const Visual3d_ContextView &CTX) |
| Sets the context <CTX> in the view <me>. | |
| void | SetTransform (const TColStd_Array2OfReal &AMatrix) |
| Sets the transformation matrix that is applied to <MyViewOrientation> field of the view <me>. | |
| void | SetViewMapping (const Visual3d_ViewMapping &VM) |
| Modifies the mapping of the view <me>. | |
| void | SetViewMappingDefault () |
| Saves the current mapping which will be the reference value for the reset of the mapping done by the ViewmappingReset method. | |
| void | SetViewOrientation (const Visual3d_ViewOrientation &VO) |
| Modifies the orientation of <me>. | |
| void | SetViewOrientationDefault () |
| Saves the current orientation which will be the reference value for the reset of the orientation done by the ViewOrientationReset method. | |
| void | SetWindow (const Handle< Aspect_Window > &AWindow) |
| Associates the window <AWindow> to the view <me>. No new association if the window is already defined. Category: Methods to modify the class definition Warning: Raises ViewDefinitionError if it is impossible to associate a view and a window. (association already done or another problem) Modifies the viewmapping of the associated view when it calls the SetRatio method. After this call, each view is mapped in an unique window. | |
| void | SetWindow (const Handle< Aspect_Window > &AWindow, const Aspect_RenderingContext AContext, const Aspect_GraphicCallbackProc &ADisplayCB, const Standard_Address AClientData) |
| Associates the window <AWindow> and context <AContext> to the view <me>. If <AContext> is not NULL the graphic context is used directly to draw something in this view. Otherwise an internal context is created. If <ADisplayCB> is not NULL then a user display CB is call at the end of the OCC graphic traversal and just before the swap of buffers. The <aClientData> is pass to this call back. No new association if the window is already defined. Category: Methods to modify the class definition Warning: Raises ViewDefinitionError if it is impossible to associate a view and a window. (association already done or another problem) Modifies the viewmapping of the associated view when it calls the SetRatio method. After this call, each view is mapped in an unique window. | |
| void | Update () |
| Updates screen in function of modifications of the structures. | |
| void | Update (const Handle< Visual3d_Layer > &AnUnderLayer, const Handle< Visual3d_Layer > &AnOverLayer) |
| Updates screen in function of modifications of the structures. | |
| void | ViewMappingReset () |
| Sets the value of the mapping to be the same as the mapping saved by the SetViewMappingDefaut method. | |
| void | ViewOrientationReset () |
| Sets the value of the orientation to be the same as the orientation saved by the SetViewOrientationDefaut method. | |
| void | SetAnimationModeOn (const Standard_Boolean degenerate=Standard_False) |
| Activates animation mode with an optional degeneration according to the TypeOfDegenerateModel of each graphic structure When the animation mode is activated in the view, all Graphic3d_Structure are stored in a graphic object. Warning: only ONE view may have animation mode turned on at same time. | |
| void | SetAnimationModeOff () |
| Deactivates the animation mode. | |
| Standard_Boolean | AnimationModeIsOn () const |
| Returns the activity of the animation mode. | |
| Standard_Boolean | DegenerateModeIsOn () const |
| Returns the activity of the degenerate mode. | |
| void | SetComputedMode (const Standard_Boolean aMode) |
| Switches computed HLR mode in the view | |
| Standard_Boolean | ComputedMode () const |
| Returns the computed HLR mode state | |
| 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) |
| Customization of the ZBUFFER Triedron. Initializes Colors of X Y and axis Scale ratio defines decreasing of trihedron size when its position is out of a View | |
| void | TriedronDisplay (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) |
| Display of the Triedron. Initialize position, color and length of Triedron axes. The scale is a percent of the window width. If AsWireframe is FALSE triedron is shown in shaded mode AColor is not considered for ZBUFFER mode | |
| void | TriedronErase () |
| Erases the Triedron. | |
| void | TriedronEcho (const Aspect_TypeOfTriedronEcho AType=Aspect_TOTE_NONE) |
| Highlights the echo zone of the Triedron. | |
| Standard_Boolean | GetGraduatedTrihedron (TCollection_ExtendedString &xname, TCollection_ExtendedString &yname, TCollection_ExtendedString &zname, Standard_Boolean &xdrawname, Standard_Boolean &ydrawname, Standard_Boolean &zdrawname, Standard_Boolean &xdrawvalues, Standard_Boolean &ydrawvalues, Standard_Boolean &zdrawvalues, Standard_Boolean &drawgrid, Standard_Boolean &drawaxes, Standard_Integer &nbx, Standard_Integer &nby, Standard_Integer &nbz, Standard_Integer &xoffset, Standard_Integer &yoffset, Standard_Integer &zoffset, Standard_Integer &xaxisoffset, Standard_Integer &yaxisoffset, Standard_Integer &zaxisoffset, Standard_Boolean &xdrawtickmarks, Standard_Boolean &ydrawtickmarks, Standard_Boolean &zdrawtickmarks, Standard_Integer &xtickmarklength, Standard_Integer &ytickmarklength, Standard_Integer &ztickmarklength, Quantity_Color &gridcolor, Quantity_Color &xnamecolor, Quantity_Color &ynamecolor, Quantity_Color &znamecolor, Quantity_Color &xcolor, Quantity_Color &ycolor, Quantity_Color &zcolor, TCollection_AsciiString &fontOfNames, OSD_FontAspect &styleOfNames, Standard_Integer &sizeOfNames, TCollection_AsciiString &fontOfValues, OSD_FontAspect &styleOfValues, Standard_Integer &sizeOfValues) const |
| Returns data of a graduated trihedron if displayed (return value is True) | |
| void | GraduatedTrihedronDisplay (const TCollection_ExtendedString &xname, const TCollection_ExtendedString &yname, const TCollection_ExtendedString &zname, const Standard_Boolean xdrawname, const Standard_Boolean ydrawname, const Standard_Boolean zdrawname, const Standard_Boolean xdrawvalues, const Standard_Boolean ydrawvalues, const Standard_Boolean zdrawvalues, const Standard_Boolean drawgrid, const Standard_Boolean drawaxes, const Standard_Integer nbx, const Standard_Integer nby, const Standard_Integer nbz, const Standard_Integer xoffset, const Standard_Integer yoffset, const Standard_Integer zoffset, const Standard_Integer xaxisoffset, const Standard_Integer yaxisoffset, const Standard_Integer zaxisoffset, const Standard_Boolean xdrawtickmarks, const Standard_Boolean ydrawtickmarks, const Standard_Boolean zdrawtickmarks, const Standard_Integer xtickmarklength, const Standard_Integer ytickmarklength, const Standard_Integer ztickmarklength, const Quantity_Color &gridcolor, const Quantity_Color &xnamecolor, const Quantity_Color &ynamecolor, const Quantity_Color &znamecolor, const Quantity_Color &xcolor, const Quantity_Color &ycolor, const Quantity_Color &zcolor, const TCollection_AsciiString &fontOfNames, const OSD_FontAspect styleOfNames, const Standard_Integer sizeOfNames, const TCollection_AsciiString &fontOfValues, const OSD_FontAspect styleOfValues, const Standard_Integer sizeOfValues) |
| Displays a graduated trihedron. | |
| void | GraduatedTrihedronErase () |
| Erases a graduated trihedron from the view. | |
| Aspect_Background | Background () const |
| Returns the value of the default window background. | |
| Aspect_GradientBackground | GradientBackground () const |
| Returns the value of the window background. | |
| Standard_Boolean | ContainsFacet () const |
| Returns Standard_True if one of the structures displayed in the view <me> contains Polygons, Triangles or Quadrangles. | |
| Standard_Boolean | ContainsFacet (const Graphic3d_MapOfStructure &ASet) const |
| Returns Standard_True if one of the structures in the set <ASet> contains Polygons, Triangles or Quadrangles. | |
| const Visual3d_ContextView & | Context () const |
| Returns the current context of the view <me>. | |
| void | DisplayedStructures (Graphic3d_MapOfStructure &SG) const |
| Returns the set of structures displayed in the view <me>. | |
| Standard_Boolean | IsActive () const |
| Returns the activity flag of the view <me>. | |
| Standard_Boolean | IsDefined () const |
| Returns True if the window associated to the view <me> is defined. | |
| Standard_Boolean | IsDeleted () const |
| Returns Standard_True is the view <me> is deleted. <me> is deleted after the call Remove (me). | |
| void | MinMaxValues (Standard_Real &XMin, Standard_Real &YMin, Standard_Real &ZMin, Standard_Real &XMax, Standard_Real &YMax, Standard_Real &ZMax) const |
| Returns the coordinates of the boundary box of all structures displayed in the view <me>. | |
| void | MinMaxValues (const Graphic3d_MapOfStructure &ASet, Standard_Real &XMin, Standard_Real &YMin, Standard_Real &ZMin, Standard_Real &XMax, Standard_Real &YMax, Standard_Real &ZMax) const |
| Returns the coordinates of the boundary box of all structures in the set <ASet>. | |
| void | MinMaxValues (Standard_Real &XMin, Standard_Real &YMin, Standard_Real &XMax, Standard_Real &YMax) |
| Returns the coordinates of the projection of the boundary box of all structures displayed in the view <me>. | |
| void | MinMaxValues (const Graphic3d_MapOfStructure &ASet, Standard_Real &XMin, Standard_Real &YMin, Standard_Real &XMax, Standard_Real &YMax) |
| Returns the coordinates of the projection of the boundary box of all structures in the set <ASet>. | |
| Standard_Integer | NumberOfDisplayedStructures () const |
| Returns number of displayed structures in the view <me>. | |
| void | Projects (const Standard_Real AX, const Standard_Real AY, const Standard_Real AZ, Standard_Real &APX, Standard_Real &APY, Standard_Real &APZ) |
| Returns the coordinates of the projection of the 3d coordinates <AX>, <AY>, <AZ>. | |
| const TColStd_Array2OfReal & | Transform () const |
| Returns the transformation associated to the view <me> | |
| Visual3d_ViewMapping | ViewMapping () const |
| Returns the current mapping of the view <me>. | |
| Visual3d_ViewMapping | ViewMappingDefault () const |
| Returns the current reset mapping of the view <me>. | |
| Visual3d_ViewOrientation | ViewOrientation () const |
| Returns the current orientation of the view <me>. | |
| Visual3d_ViewOrientation | ViewOrientationDefault () const |
| Returns the current reset orientation of the view <me>. | |
| Handle_Aspect_Window | Window () const |
| Returns the window associated to the view <me>. Warning: Raises ViewDefinitionError if the associated window isn't defined. | |
| Standard_Integer | LightLimit () const |
| Returns the MAX number of light associated to the view <me>. | |
| Standard_Integer | PlaneLimit () const |
| Returns the MAX number of clipping planes associated to the view <me>. | |
| Handle_Visual3d_ViewManager | ViewManager () const |
| Returns the view manager handle which manage this view | |
| void | ReCompute (const Handle< Graphic3d_Structure > &AStructure) |
| Computes the new presentation of the structure <AStructure> displayed in <me> with the type Graphic3d_TOS_COMPUTED. | |
| void | Exploration () const |
| Prints informations about the view <me>. | |
| Standard_Integer | Identification () const |
| Returns the identification number of the view <me>. | |
| const TColStd_Array2OfReal & | MatrixOfMapping () |
| Returns the current matrix of mapping of the view <me>. Warning: Stores the current matrix of mapping. | |
| const TColStd_Array2OfReal & | MatrixOfOrientation () |
| Returns the current matrix of orientation of the view <me>. Warning: Stores the current matrix of orientation. | |
| Standard_Address | CView () const |
| Returns the c structure associated to <me>. | |
| Handle_Aspect_GraphicDriver | GraphicDriver () const |
| Returns the associated GraphicDriver. | |
| void | Plot (const Handle< Graphic3d_Plotter > &APlotter) const |
| Calls the method Plot for each Structure displayed in <me>. | |
| Standard_Boolean | Print (const Handle< Visual3d_Layer > &AnUnderLayer, const Handle< Visual3d_Layer > &AnOverLayer, 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. <printAlgo>: 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 printer error or insufficient memory. Warning: Works only under Windows. | |
| Standard_Boolean | Print (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 the view to 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. <printAlgo>: 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 printer error or insufficient memory. Warning: Works only under Windows. | |
| void | SetTransparency (const Standard_Boolean AFlag) |
| if <AFlag> is Standard_True then the transparency is managed in the view <me>. Default Standard_False | |
| Standard_Boolean | ZBufferIsActivated () const |
| Returns Standard_True if the ZBuffer is activated in the view <me> and Standard_False if not. | |
| void | SetZBufferActivity (const Standard_Integer AnActivity) |
| Activates the ZBuffer if the integer <AnActivity> is equal to 1. Deactivates the ZBuffer if the integer <AnActivity> is equal to 0. If the integer <AnActivity> is equal to -1 then | |
| const Handle_Visual3d_Layer & | UnderLayer () const |
| Returns the underlay of the view <me>. | |
| const Handle_Visual3d_Layer & | OverLayer () const |
| Returns the underlay of the view <me>. | |
| void | EnableDepthTest (const Standard_Boolean enable) const |
| turns on/off opengl depth | |
| Standard_Boolean | IsDepthTestEnabled () const |
| returns current state of the opengl depth testing | |
| void | ReadDepths (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 | |
| Graphic3d_PtrFrameBuffer | FBOCreate (const Standard_Integer width, const Standard_Integer height) |
| Generate offscreen FBO in the graphic library | |
| void | FBORelease (Graphic3d_PtrFrameBuffer &fboPtr) |
| Remove offscreen FBO from the graphic library | |
| void | FBOGetDimensions (const Graphic3d_PtrFrameBuffer fboPtr, Standard_Integer &width, Standard_Integer &height, Standard_Integer &widthMax, Standard_Integer &heightMax) |
| Read offscreen FBO configuration. | |
| void | FBOChangeViewport (Graphic3d_PtrFrameBuffer &fboPtr, const Standard_Integer width, const Standard_Integer height) |
| Change offscreen FBO viewport. | |
| Standard_Boolean | BufferDump (Image_CRawBufferData &buffer) |
| Dump active rendering buffer into specified memory buffer. | |
| void | EnableGLLight (const Standard_Boolean enable) const |
| turns on/off opengl lighting, currently used in triedron displaying | |
| Standard_Boolean | IsGLLightEnabled () const |
| returns the current state of the gl lighting currently used in triedron displaying | |
| void | Export (const Standard_CString FileName, const Graphic3d_ExportFormat Format, const Graphic3d_SortType SortType=Graphic3d_ST_BSP_Tree, const Standard_Real Precision=0.005, const Standard_Address ProgressBarFunc=NULL, const Standard_Address ProgressObject=NULL) const |
| Visual3d_View::Visual3d_View | ( | const Handle< Visual3d_ViewManager > & | AManager | ) |
| Visual3d_View::Visual3d_View | ( | const Handle< Visual3d_ViewManager > & | AManager, |
| const Visual3d_ViewOrientation & | VO, | ||
| const Visual3d_ViewMapping & | VM, | ||
| const Visual3d_ContextView & | CTX | ||
| ) |
| Visual3d_View::~Visual3d_View | ( | ) | [inline] |
| void Visual3d_View::Activate | ( | ) |
| Standard_Boolean Visual3d_View::AnimationModeIsOn | ( | ) | const |
| Visual3d_TypeOfBackfacingModel Visual3d_View::BackFacingModel | ( | ) | const |
| Aspect_Background Visual3d_View::Background | ( | ) | const |
| Standard_Boolean Visual3d_View::BufferDump | ( | Image_CRawBufferData & | buffer | ) |
| Standard_Boolean Visual3d_View::ComputedMode | ( | ) | const |
| Standard_Boolean Visual3d_View::ContainsFacet | ( | ) | const |
| Standard_Boolean Visual3d_View::ContainsFacet | ( | const Graphic3d_MapOfStructure & | ASet | ) | const |
| const Visual3d_ContextView& Visual3d_View::Context | ( | ) | const |
| Standard_Address Visual3d_View::CView | ( | ) | const |
| void Visual3d_View::Deactivate | ( | ) |
| Standard_Boolean Visual3d_View::DegenerateModeIsOn | ( | ) | const |
| virtual void Visual3d_View::Destroy | ( | ) | [virtual] |
Reimplemented from Graphic3d_DataStructureManager.
| void Visual3d_View::DisplayedStructures | ( | Graphic3d_MapOfStructure & | SG | ) | const |
| void Visual3d_View::EnableDepthTest | ( | const Standard_Boolean | enable | ) | const |
| void Visual3d_View::EnableGLLight | ( | const Standard_Boolean | enable | ) | const |
| void Visual3d_View::Exploration | ( | ) | const |
| void Visual3d_View::Export | ( | const Standard_CString | FileName, |
| const Graphic3d_ExportFormat | Format, | ||
| const Graphic3d_SortType | SortType = Graphic3d_ST_BSP_Tree, |
||
| const Standard_Real | Precision = 0.005, |
||
| const Standard_Address | ProgressBarFunc = NULL, |
||
| const Standard_Address | ProgressObject = NULL |
||
| ) | const |
| void Visual3d_View::FBOChangeViewport | ( | Graphic3d_PtrFrameBuffer & | fboPtr, |
| const Standard_Integer | width, | ||
| const Standard_Integer | height | ||
| ) |
| Graphic3d_PtrFrameBuffer Visual3d_View::FBOCreate | ( | const Standard_Integer | width, |
| const Standard_Integer | height | ||
| ) |
| void Visual3d_View::FBOGetDimensions | ( | const Graphic3d_PtrFrameBuffer | fboPtr, |
| Standard_Integer & | width, | ||
| Standard_Integer & | height, | ||
| Standard_Integer & | widthMax, | ||
| Standard_Integer & | heightMax | ||
| ) |
| void Visual3d_View::FBORelease | ( | Graphic3d_PtrFrameBuffer & | fboPtr | ) |
| Aspect_GradientBackground Visual3d_View::GradientBackground | ( | ) | const |
| void Visual3d_View::GraduatedTrihedronDisplay | ( | const TCollection_ExtendedString & | xname, |
| const TCollection_ExtendedString & | yname, | ||
| const TCollection_ExtendedString & | zname, | ||
| const Standard_Boolean | xdrawname, | ||
| const Standard_Boolean | ydrawname, | ||
| const Standard_Boolean | zdrawname, | ||
| const Standard_Boolean | xdrawvalues, | ||
| const Standard_Boolean | ydrawvalues, | ||
| const Standard_Boolean | zdrawvalues, | ||
| const Standard_Boolean | drawgrid, | ||
| const Standard_Boolean | drawaxes, | ||
| const Standard_Integer | nbx, | ||
| const Standard_Integer | nby, | ||
| const Standard_Integer | nbz, | ||
| const Standard_Integer | xoffset, | ||
| const Standard_Integer | yoffset, | ||
| const Standard_Integer | zoffset, | ||
| const Standard_Integer | xaxisoffset, | ||
| const Standard_Integer | yaxisoffset, | ||
| const Standard_Integer | zaxisoffset, | ||
| const Standard_Boolean | xdrawtickmarks, | ||
| const Standard_Boolean | ydrawtickmarks, | ||
| const Standard_Boolean | zdrawtickmarks, | ||
| const Standard_Integer | xtickmarklength, | ||
| const Standard_Integer | ytickmarklength, | ||
| const Standard_Integer | ztickmarklength, | ||
| const Quantity_Color & | gridcolor, | ||
| const Quantity_Color & | xnamecolor, | ||
| const Quantity_Color & | ynamecolor, | ||
| const Quantity_Color & | znamecolor, | ||
| const Quantity_Color & | xcolor, | ||
| const Quantity_Color & | ycolor, | ||
| const Quantity_Color & | zcolor, | ||
| const TCollection_AsciiString & | fontOfNames, | ||
| const OSD_FontAspect | styleOfNames, | ||
| const Standard_Integer | sizeOfNames, | ||
| const TCollection_AsciiString & | fontOfValues, | ||
| const OSD_FontAspect | styleOfValues, | ||
| const Standard_Integer | sizeOfValues | ||
| ) |
| void Visual3d_View::GraduatedTrihedronErase | ( | ) |
| Handle_Aspect_GraphicDriver Visual3d_View::GraphicDriver | ( | ) | const |
| Standard_Integer Visual3d_View::Identification | ( | ) | const |
| Standard_Boolean Visual3d_View::IsActive | ( | ) | const |
| Standard_Boolean Visual3d_View::IsDefined | ( | ) | const |
| Standard_Boolean Visual3d_View::IsDeleted | ( | ) | const |
| Standard_Boolean Visual3d_View::IsDepthTestEnabled | ( | ) | const |
| Standard_Boolean Visual3d_View::IsGLLightEnabled | ( | ) | const |
| Standard_Integer Visual3d_View::LightLimit | ( | ) | const |
| const TColStd_Array2OfReal& Visual3d_View::MatrixOfMapping | ( | ) |
| const TColStd_Array2OfReal& Visual3d_View::MatrixOfOrientation | ( | ) |
| void Visual3d_View::MinMaxValues | ( | Standard_Real & | XMin, |
| Standard_Real & | YMin, | ||
| Standard_Real & | ZMin, | ||
| Standard_Real & | XMax, | ||
| Standard_Real & | YMax, | ||
| Standard_Real & | ZMax | ||
| ) | const |
| void Visual3d_View::MinMaxValues | ( | const Graphic3d_MapOfStructure & | ASet, |
| Standard_Real & | XMin, | ||
| Standard_Real & | YMin, | ||
| Standard_Real & | ZMin, | ||
| Standard_Real & | XMax, | ||
| Standard_Real & | YMax, | ||
| Standard_Real & | ZMax | ||
| ) | const |
| void Visual3d_View::MinMaxValues | ( | Standard_Real & | XMin, |
| Standard_Real & | YMin, | ||
| Standard_Real & | XMax, | ||
| Standard_Real & | YMax | ||
| ) |
| void Visual3d_View::MinMaxValues | ( | const Graphic3d_MapOfStructure & | ASet, |
| Standard_Real & | XMin, | ||
| Standard_Real & | YMin, | ||
| Standard_Real & | XMax, | ||
| Standard_Real & | YMax | ||
| ) |
| Standard_Integer Visual3d_View::NumberOfDisplayedStructures | ( | ) | const |
| const Handle_Visual3d_Layer& Visual3d_View::OverLayer | ( | ) | const |
| Standard_Integer Visual3d_View::PlaneLimit | ( | ) | const |
| void Visual3d_View::Plot | ( | const Handle< Graphic3d_Plotter > & | APlotter | ) | const |
| Standard_Boolean Visual3d_View::Print | ( | const Handle< Visual3d_Layer > & | AnUnderLayer, |
| const Handle< Visual3d_Layer > & | AnOverLayer, | ||
| 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 |
| Standard_Boolean Visual3d_View::Print | ( | 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 |
| void Visual3d_View::Projects | ( | const Standard_Real | AX, |
| const Standard_Real | AY, | ||
| const Standard_Real | AZ, | ||
| Standard_Real & | APX, | ||
| Standard_Real & | APY, | ||
| Standard_Real & | APZ | ||
| ) |
| void Visual3d_View::ReadDepths | ( | const Standard_Integer | x, |
| const Standard_Integer | y, | ||
| const Standard_Integer | width, | ||
| const Standard_Integer | height, | ||
| const Standard_Address | buffer | ||
| ) | const |
| void Visual3d_View::ReCompute | ( | const Handle< Graphic3d_Structure > & | AStructure | ) |
| void Visual3d_View::Redraw | ( | ) |
| void Visual3d_View::Redraw | ( | const Standard_Integer | x, |
| const Standard_Integer | y, | ||
| const Standard_Integer | width, | ||
| const Standard_Integer | height | ||
| ) |
| void Visual3d_View::Redraw | ( | const Handle< Visual3d_Layer > & | AnUnderLayer, |
| const Handle< Visual3d_Layer > & | AnOverLayer | ||
| ) |
| void Visual3d_View::Redraw | ( | const Handle< Visual3d_Layer > & | AnUnderLayer, |
| const Handle< Visual3d_Layer > & | AnOverLayer, | ||
| const Standard_Integer | x, | ||
| const Standard_Integer | y, | ||
| const Standard_Integer | width, | ||
| const Standard_Integer | height | ||
| ) |
| void Visual3d_View::Remove | ( | ) |
| void Visual3d_View::Resized | ( | ) |
| void Visual3d_View::SetAnimationModeOff | ( | ) |
| void Visual3d_View::SetAnimationModeOn | ( | const Standard_Boolean | degenerate = Standard_False | ) |
| void Visual3d_View::SetBackFacingModel | ( | const Visual3d_TypeOfBackfacingModel | aModel | ) |
| void Visual3d_View::SetBackground | ( | const Aspect_Background & | ABack | ) |
| void Visual3d_View::SetBackgroundImage | ( | const Standard_CString | FileName, |
| const Aspect_FillMethod | FillStyle, | ||
| const Standard_Boolean | update | ||
| ) |
| void Visual3d_View::SetBgGradientStyle | ( | const Aspect_GradientFillMethod | FillStyle, |
| const Standard_Boolean | update | ||
| ) |
| void Visual3d_View::SetBgImageStyle | ( | const Aspect_FillMethod | FillStyle, |
| const Standard_Boolean | update | ||
| ) |
| void Visual3d_View::SetComputedMode | ( | const Standard_Boolean | aMode | ) |
| void Visual3d_View::SetContext | ( | const Visual3d_ContextView & | CTX | ) |
| void Visual3d_View::SetGradientBackground | ( | const Aspect_GradientBackground & | ABack, |
| const Standard_Boolean | update | ||
| ) |
| void Visual3d_View::SetTransform | ( | const TColStd_Array2OfReal & | AMatrix | ) |
| void Visual3d_View::SetTransparency | ( | const Standard_Boolean | AFlag | ) |
| void Visual3d_View::SetViewMapping | ( | const Visual3d_ViewMapping & | VM | ) |
| void Visual3d_View::SetViewMappingDefault | ( | ) |
| void Visual3d_View::SetViewOrientation | ( | const Visual3d_ViewOrientation & | VO | ) |
| void Visual3d_View::SetViewOrientationDefault | ( | ) |
| void Visual3d_View::SetWindow | ( | const Handle< Aspect_Window > & | AWindow, |
| const Aspect_RenderingContext | AContext, | ||
| const Aspect_GraphicCallbackProc & | ADisplayCB, | ||
| const Standard_Address | AClientData | ||
| ) |
| void Visual3d_View::SetWindow | ( | const Handle< Aspect_Window > & | AWindow | ) |
| void Visual3d_View::SetZBufferActivity | ( | const Standard_Integer | AnActivity | ) |
| const TColStd_Array2OfReal& Visual3d_View::Transform | ( | ) | const |
| void Visual3d_View::TriedronDisplay | ( | 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 |
||
| ) |
| void Visual3d_View::TriedronEcho | ( | const Aspect_TypeOfTriedronEcho | AType = Aspect_TOTE_NONE | ) |
| void Visual3d_View::TriedronErase | ( | ) |
| const Handle_Visual3d_Layer& Visual3d_View::UnderLayer | ( | ) | const |
| void Visual3d_View::Update | ( | ) |
| void Visual3d_View::Update | ( | const Handle< Visual3d_Layer > & | AnUnderLayer, |
| const Handle< Visual3d_Layer > & | AnOverLayer | ||
| ) |
| Handle_Visual3d_ViewManager Visual3d_View::ViewManager | ( | ) | const |
| Visual3d_ViewMapping Visual3d_View::ViewMapping | ( | ) | const |
| Visual3d_ViewMapping Visual3d_View::ViewMappingDefault | ( | ) | const |
| void Visual3d_View::ViewMappingReset | ( | ) |
| Visual3d_ViewOrientation Visual3d_View::ViewOrientation | ( | ) | const |
| Visual3d_ViewOrientation Visual3d_View::ViewOrientationDefault | ( | ) | const |
| void Visual3d_View::ViewOrientationReset | ( | ) |
| Handle_Aspect_Window Visual3d_View::Window | ( | ) | const |
| Standard_Boolean Visual3d_View::ZBufferIsActivated | ( | ) | const |
| void Visual3d_View::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 |
||
| ) |
1.7.4