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