#include <Draw_View.hxx>
|
| | Draw_View (Standard_Integer theId, Draw_Viewer *theViewer, Standard_Integer theX, Standard_Integer theY, Standard_Integer theWidth, Standard_Integer theHeight, Aspect_Drawable theWindow=0) |
| | Constructor.
|
| |
| | Draw_View (Standard_Integer theId, Draw_Viewer *theViewer, const char *theTitle) |
| | Constructor.
|
| |
| | ~Draw_View () |
| | Destructor.
|
| |
| Standard_Integer | GetDx () const |
| | Gets horizontal offset.
|
| |
| void | SetDx (const Standard_Integer theDx) |
| | Sets horizontal offset.
|
| |
| Standard_Integer | GetDy () const |
| | Gets vertical offset.
|
| |
| void | SetDy (const Standard_Integer theDy) |
| | Sets vertical offset.
|
| |
| Standard_Real | GetZoom () const |
| | Gets parameter of zoom.
|
| |
| void | SetZoom (const Standard_Real theZoom) |
| | Sets parameter of zoom.
|
| |
| const gp_Trsf & | GetMatrix () const |
| | Gets matrix of view.
|
| |
| void | SetMatrix (const gp_Trsf &theMatrix) |
| | Sets view matrix.
|
| |
| Standard_Real | GetFocalDistance () const |
| | Gets focal distance.
|
| |
| void | SetFocalDistance (const Standard_Real theDistance) |
| | Sets focal distance.
|
| |
| const char * | Type () |
| | Returns type of view.
|
| |
| Standard_Boolean | Is2D () const |
| | Returns true value if current view in 2D mode.
|
| |
| Standard_Real | IsPerspective () const |
| | Returns true value if current view in perspective mode.
|
| |
| virtual | ~Draw_Window () |
| | Destructor.
|
| |
| void | GetPosition (Standard_Integer &thePosX, Standard_Integer &thePosY) |
| | Get window position.
|
| |
| void | SetPosition (Standard_Integer theNewXpos, Standard_Integer theNewYpos) |
| | Set window position.
|
| |
| Standard_Integer | HeightWin () const |
| | Return window height.
|
| |
| Standard_Integer | WidthWin () const |
| | Return window width.
|
| |
| void | SetDimension (Standard_Integer theNewDx, Standard_Integer theNewDy) |
| | Set window dimensions.
|
| |
| TCollection_AsciiString | GetTitle () const |
| | Return window title.
|
| |
| void | SetTitle (const TCollection_AsciiString &theTitle) |
| | Set window title.
|
| |
| bool | IsMapped () const |
| | Return true if window is displayed on the screen.
|
| |
| void | DisplayWindow () |
| | Display window on the screen.
|
| |
| void | Hide () |
| | Hide window.
|
| |
| void | Destroy () |
| | Destroy window.
|
| |
| void | Clear () |
| | Clear window content.
|
| |
| Standard_Boolean | GetUseBuffer () const |
| | Returns Standard_True if off-screen image buffer is being used.
|
| |
| void | SetUseBuffer (Standard_Boolean theToUse) |
| |
| void | SetColor (Standard_Integer theColor) |
| | Set active color index for further paintings.
|
| |
| void | SetMode (Standard_Integer theMode) |
| | Set active paint mode (3 for COPY; 6 for XOR).
|
| |
| void | DrawString (Standard_Integer theX, Standard_Integer theY, const char *theText) |
| | Draw the string.
|
| |
| void | DrawSegments (const Draw_XSegment *theSegments, Standard_Integer theNumberOfElements) |
| | Draw array of segments.
|
| |
| void | Redraw () |
| | Redraw window content.
|
| |
| Standard_Boolean | Save (const char *theFileName) const |
| | Save snapshot.
|
| |
| void | InitBuffer () |
| | (Re)initializes off-screen image buffer according to current window size.
|
| |
◆ Draw_View() [1/2]
◆ Draw_View() [2/2]
◆ ~Draw_View()
| Draw_View::~Draw_View |
( |
| ) |
|
◆ GetDx()
◆ GetDy()
◆ GetFocalDistance()
◆ GetFrame()
Returns parameters of frame corners.
◆ GetMatrix()
◆ GetZoom()
◆ Init()
Initialize view by the type.
◆ Is2D()
Returns true value if current view in 2D mode.
◆ IsPerspective()
Returns true value if current view in perspective mode.
◆ ResetFrame()
| void Draw_View::ResetFrame |
( |
| ) |
|
Resets frame of current view.
◆ SetDx()
◆ SetDy()
◆ SetFocalDistance()
◆ SetMatrix()
◆ SetZoom()
◆ Transform()
| void Draw_View::Transform |
( |
const gp_Trsf & |
theTransformation | ) |
|
◆ Type()
◆ WExpose()
| virtual void Draw_View::WExpose |
( |
| ) |
|
|
overridevirtual |
◆ myDx
Initialize view by the type.
◆ myDy
Initialize view by the type.
◆ myFocalDistance
Initialize view by the type.
◆ myFrameX0
Initialize view by the type.
◆ myFrameX1
Initialize view by the type.
◆ myFrameY0
Initialize view by the type.
◆ myFrameY1
Initialize view by the type.
◆ myId
Initialize view by the type.
◆ myIs2D
Initialize view by the type.
◆ myIsPers
Initialize view by the type.
◆ myMatrix
Initialize view by the type.
◆ myType
| char Draw_View::myType[5] |
|
protected |
Initialize view by the type.
◆ myViewer
Initialize view by the type.
◆ myZoom
Initialize view by the type.
The documentation for this class was generated from the following file: