Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

exotkAF_View Class Reference

Class to describe a 3d view. More...

#include <exotkAF_View.hxx>

Collaboration diagram for exotkAF_View:

Collaboration graph
[legend]
List of all members.

Public Methods

void * operator new (size_t, void *anAddress)
 OCC new. More...

void * operator new (size_t size)
 OCC new. More...

void operator delete (void *anAddress)
 OCC delete. More...

Standard_EXPORT exotkAF_View ()
 Constructor. More...

virtual Standard_EXPORT ~exotkAF_View ()
 Destructor. More...

virtual Standard_EXPORT void SetDocument (const Handle_exotkAF_Document &aDocument)
 Set aDocument as associated document. More...

virtual Standard_EXPORT Standard_Boolean IsValid ()
 Return true if the view is valid. More...

virtual Standard_EXPORT void SetNothingMode ()
 Set the current action mode to nothing. More...

virtual Standard_EXPORT void SetDynamicRotationMode ()
 Set the current action mode to Dynamic Rotation. More...

virtual Standard_EXPORT void SetDynamicPanningMode ()
 Set the current action mode to Panning. More...

virtual Standard_EXPORT void SetWindowZoomingMode ()
 Set the current action mode to Window Zooming. More...

virtual Standard_EXPORT void SetDynamicZoomingMode ()
 Set the current action mode to Dynamic Zooming. More...

virtual Standard_EXPORT void SetCurrentActionMode (const enum exotkAF_CurrentActionMode aMode)
 Set aMode as current action mode. More...

virtual Standard_EXPORT exotkAF_CurrentActionMode CurrentActionMode ()
 Return the current Action Mode. More...

virtual Standard_EXPORT void SetCurrentMouseButton (const enum exotkAF_MouseButton aButton)
 Set aButton as current mouse button. More...

virtual Standard_EXPORT exotkAF_MouseButton CurrentMouseButton ()
 Return the current mouse button. More...

virtual Standard_EXPORT void CurrentMousePosition (Standard_Integer &aX, Standard_Integer &aY)
 Return the current mouse position. More...

virtual Standard_EXPORT void SetShiftKey (const Standard_Boolean On=Standard_True)
 Set the status of the Shift key ( pushed or not ). More...

virtual Standard_EXPORT void SetCtrlKey (const Standard_Boolean On=Standard_True)
 Set the status of the Ctrl key ( pushed or not ). More...

virtual Standard_EXPORT void Pick (const exotkAF_MouseButton aButton)
 To call when the user click on a mouse button. More...

virtual Standard_EXPORT void Release ()
 To call when the user release a mouse button. More...

virtual Standard_EXPORT exotkAF_CurrentActionMode Move (const Standard_Integer x, const Standard_Integer y)
 To call when the user mouve the mouse. More...

virtual Standard_EXPORT Standard_Boolean IsPopup ()
 Return true if the view is in popup mode ( usually right mouse button ). More...

virtual Standard_EXPORT Standard_Boolean PopupMenu (Handle_exotkTree_Menu &aMenu)
 Return the computed popup menu. More...

virtual Standard_EXPORT Standard_Boolean IsDragging ()
 Return true if the mouse is in dragging mode. More...

Standard_EXPORT Handle_V3d_View & V3dView ()
 Return the associated 3d view from OpenCASCADE. More...

virtual Standard_EXPORT void Redraw ()
 Redraw the view. More...

virtual Standard_EXPORT void FitAll ()
 Fit all the view ( all the objects are visible ). More...

virtual Standard_EXPORT void Reset ()
 Reset the view to its creation settings. More...

virtual Standard_EXPORT void SetViewType (const enum exotkAF_ViewType aType)
 Set aType as current view type. More...

virtual Standard_EXPORT void Back ()
 set the view orientation as back. More...

virtual Standard_EXPORT void Front ()
 set the view orientation as front. More...

virtual Standard_EXPORT void Top ()
 set the view orientation as top. More...

virtual Standard_EXPORT void Bottom ()
 set the view orientation as bottom. More...

virtual Standard_EXPORT void Left ()
 set the view orientation as left. More...

virtual Standard_EXPORT void Right ()
 set the view orientation as right. More...

virtual Standard_EXPORT void Axo ()
 set the view orientation as axo. More...

virtual Standard_EXPORT void Pan (const Standard_Integer dX, const Standard_Integer dY)
 Pan the view. More...

virtual Standard_EXPORT void Rotate (const Standard_Real Ax, const Standard_Real Ay, const Standard_Real Az)
 Rotate the view along the axis (Ax,Ay,Az). More...

virtual Standard_EXPORT void WindowFitAll (const Standard_Integer Xmin, const Standard_Integer Ymin, const Standard_Integer Xmax, const Standard_Integer Ymax)
 Zoom the view. More...

virtual Standard_EXPORT Standard_Boolean Size (Standard_Integer &aWidth, Standard_Integer &aHeight)
 Return the size of the view. More...

virtual Standard_EXPORT void ZoomOut ()
 zoom out the view. More...

virtual Standard_EXPORT void ZoomIn ()
 zoom in the view. More...

virtual Standard_EXPORT Standard_Boolean SetBackgroundColor (const Quantity_Color &aColor)
 Set aColor as background color. More...

virtual Standard_EXPORT Standard_Boolean SetBackgroundColor (const Standard_Real R=0.5, const Standard_Real G=0.5, const Standard_Real B=0.5, const Standard_Real Base=1.0)
 Set the background color. More...

virtual Standard_EXPORT Standard_Boolean BackgroundColor (Standard_Real &R, Standard_Real &G, Standard_Real &B, const Standard_Real &aBase=1.0)
 Return the background color. More...

virtual Standard_EXPORT Standard_Boolean BackgroundColor (Quantity_Color &aColor)
 Return the background color. More...

virtual Standard_EXPORT void Resize ()
 To call when the view size change. More...

virtual Standard_EXPORT void SetHiddenLine (const Standard_Boolean On=Standard_True)
 Set the hidden line removal status. More...

virtual Standard_EXPORT Standard_Boolean HiddenLine ()
 Return the hidden line removal status. More...

virtual Standard_EXPORT void SetAntialiasing (const Standard_Boolean On=Standard_True)
 Set the antialiasing status. More...

virtual Standard_EXPORT Standard_Boolean Antialiasing ()
 Return the antialiasing status. More...

Standard_EXPORT const Handle_Standard_Type & DynamicType () const
 Type management. More...

Standard_EXPORT Standard_Boolean IsKind (const Handle_Standard_Type &) const
 Type management. More...


Public Attributes

Standard_Integer myCurrentXMousePosition
Standard_Integer myCurrentYMousePosition
Standard_Integer mySavedXMousePosition
Standard_Integer mySavedYMousePosition

Protected Methods

virtual Standard_EXPORT Standard_Boolean CreateView (const Handle_V3d_Viewer &aViewer, const Aspect_Handle &anHandle)
 Create the view. More...

virtual Standard_EXPORT void MoveTo (const Standard_Integer x, const Standard_Integer y)
 Manage the move. More...

virtual Standard_EXPORT exotkAF_CurrentActionMode CtrlMove (const Standard_Integer x, const Standard_Integer y)
 Manage the move when Ctrl is pushed. More...

virtual Standard_EXPORT exotkAF_CurrentActionMode ShiftMove (const Standard_Integer x, const Standard_Integer y)
 Manage the move when Shift is pushed. More...


Protected Attributes

Handle_exotkAF_Document myDocument
exotkAF_CurrentActionMode myCurrentActionMode
exotkAF_MouseButton myCurrentMouseButton
Standard_Boolean myCtrlPushed
Standard_Boolean myShiftPushed
Standard_Boolean myIsDragging
Standard_Integer myInitialXMousePosition
Standard_Integer myInitialYMousePosition
Handle_V3d_View myView
Standard_Boolean myAntialiasingIsOn
Standard_Boolean myIsHiddenLine

Friends

class exotkAF_Document
Standard_EXPORT friend Handle_Standard_Type & exotkAF_View_Type_ ()
 Type management. More...


Detailed Description

Class to describe a 3d view.

Author:
Stephane Routelous

Definition at line 65 of file exotkAF_View.hxx.


Constructor & Destructor Documentation

exotkAF_View::exotkAF_View  
 

Constructor.

Definition at line 100 of file exotkAF_View.cxx.

References exotkAF_camNothing, and exotkAF_mbNone.

exotkAF_View::~exotkAF_View   [virtual]
 

Destructor.

Definition at line 125 of file exotkAF_View.cxx.

References myView.


Member Function Documentation

exotkAF_View::Antialiasing   [virtual]
 

Return the antialiasing status.

Returns:
Standard_Boolean

Definition at line 1089 of file exotkAF_View.cxx.

References myAntialiasingIsOn.

exotkAF_View::Axo   [virtual]
 

set the view orientation as axo.

Definition at line 796 of file exotkAF_View.cxx.

References myView.

Referenced by SetViewType().

exotkAF_View::Back   [virtual]
 

set the view orientation as back.

Definition at line 700 of file exotkAF_View.cxx.

References myView.

Referenced by SetViewType().

exotkAF_View::BackgroundColor Quantity_Color &    aColor [virtual]
 

Return the background color.

Returns:
Standard_Boolean
Parameters:
aColor  Quantity_Color&

Definition at line 961 of file exotkAF_View.cxx.

References BackgroundColor().

exotkAF_View::BackgroundColor Standard_Real &    R,
Standard_Real &    G,
Standard_Real &    B,
const Standard_Real &    aBase = 1.0
[virtual]
 

Return the background color.

Returns:
Standard_Boolean
Return values:
R  Standard_Real&
G  Standard_Real&
B  Standard_Real&
Parameters:
aBase  const Standard_Real& = 1.0

Definition at line 937 of file exotkAF_View.cxx.

References myView.

Referenced by BackgroundColor().

exotkAF_View::Bottom   [virtual]
 

set the view orientation as bottom.

Definition at line 748 of file exotkAF_View.cxx.

References myView.

Referenced by SetViewType().

exotkAF_View::CreateView const Handle_V3d_Viewer &    aViewer,
const Aspect_Handle &    anHandle
[protected, virtual]
 

Create the view.

Returns:
Standard_Boolean
Parameters:
aViewer  const Handle_V3d_Viewer&
anHandle  const Aspect_Handle&

Definition at line 624 of file exotkAF_View.cxx.

References FitAll(), exotkAIS_GraphicDevice::Instance(), and myView.

exotkAF_View::CtrlMove const Standard_Integer    x,
const Standard_Integer    y
[protected, virtual]
 

Manage the move when Ctrl is pushed.

Returns:
exotkAF_CurrentActionMode
Parameters:
x  const Standard_Integer
y  const Standard_Integer

Definition at line 524 of file exotkAF_View.cxx.

References exotkAF_camDynamicPanning, exotkAF_camDynamicRotation, exotkAF_camDynamicZooming, exotkAF_camMoving, exotkAF_camNothing, exotkAF_mbLeft, exotkAF_mbMiddle, exotkAF_mbNone, exotkAF_mbRight, MoveTo(), myCurrentActionMode, mySavedXMousePosition, mySavedYMousePosition, and myView.

Referenced by Move().

exotkAF_View::CurrentActionMode   [virtual]
 

Return the current Action Mode.

Returns:
exotkAF_CurrentActionMode

Definition at line 184 of file exotkAF_View.cxx.

References myCurrentActionMode.

exotkAF_View::CurrentMouseButton   [virtual]
 

Return the current mouse button.

Returns:
exotkAF_MouseButton

Definition at line 1114 of file exotkAF_View.cxx.

References exotkAF_MouseButton, and myCurrentMouseButton.

exotkAF_View::CurrentMousePosition Standard_Integer &    aX,
Standard_Integer &    aY
[virtual]
 

Return the current mouse position.

Return values:
aX  Standard_Integer&
aY  Standard_Integer&

Definition at line 1128 of file exotkAF_View.cxx.

References myCurrentXMousePosition, and myCurrentYMousePosition.

Handle_Standard_Type & exotkAF_View::DynamicType   const
 

Type management.

Returns:
const Handle_Standard_Type&

exotkAF_View::FitAll   [virtual]
 

Fit all the view ( all the objects are visible ).

Definition at line 827 of file exotkAF_View.cxx.

References myView.

Referenced by CreateView().

exotkAF_View::Front   [virtual]
 

set the view orientation as front.

Definition at line 716 of file exotkAF_View.cxx.

References myView.

Referenced by SetViewType().

exotkAF_View::HiddenLine   [virtual]
 

Return the hidden line removal status.

Returns:
Standard_Boolean

Definition at line 1056 of file exotkAF_View.cxx.

References myIsHiddenLine.

exotkAF_View::IsDragging   [virtual]
 

Return true if the mouse is in dragging mode.

Returns:
Standard_Boolean

Definition at line 307 of file exotkAF_View.cxx.

References myIsDragging.

exotkAF_View::IsKind const Handle_Standard_Type &    const
 

Type management.

Returns:
Standard_Boolean
Parameters:
const  Handle_Standard_Type&

exotkAF_View::IsPopup   [virtual]
 

Return true if the view is in popup mode ( usually right mouse button ).

Returns:
Standard_Boolean

Definition at line 295 of file exotkAF_View.cxx.

References exotkAF_mbRight, myCtrlPushed, myCurrentMouseButton, and myShiftPushed.

Referenced by PopupMenu().

exotkAF_View::IsValid   [virtual]
 

Return true if the view is valid.

Returns:
Standard_Boolean

Definition at line 1102 of file exotkAF_View.cxx.

References myView.

exotkAF_View::Left   [virtual]
 

set the view orientation as left.

Definition at line 764 of file exotkAF_View.cxx.

References myView.

Referenced by SetViewType().

exotkAF_View::Move const Standard_Integer    x,
const Standard_Integer    y
[virtual]
 

To call when the user mouve the mouse.

Returns:
exotkAF_CurrentActionMode
Parameters:
x  const Standard_Integer
y  const Standard_Integer

Definition at line 419 of file exotkAF_View.cxx.

References CtrlMove(), exotkAF_camDynamicPanning, exotkAF_camDynamicRotation, exotkAF_camDynamicZooming, exotkAF_camMoving, exotkAF_camNothing, exotkAF_camWindowZooming, exotkAF_mbLeft, exotkAF_mbMiddle, exotkAF_mbNone, exotkAF_mbRight, MoveTo(), myCurrentActionMode, myCurrentXMousePosition, myCurrentYMousePosition, myDocument, myInitialXMousePosition, myInitialYMousePosition, myIsDragging, mySavedXMousePosition, mySavedYMousePosition, myView, and ShiftMove().

exotkAF_View::MoveTo const Standard_Integer    x,
const Standard_Integer    y
[protected, virtual]
 

Manage the move.

Parameters:
x  const Standard_Integer
y  const Standard_Integer

Definition at line 591 of file exotkAF_View.cxx.

References myDocument, and myView.

Referenced by CtrlMove(), Move(), and ShiftMove().

void exotkAF_View::operator delete void *    anAddress [inline]
 

OCC delete.

Returns:
inline void
Parameters:
void  *anAddress

Definition at line 99 of file exotkAF_View.hxx.

References exotkAF_CurrentActionMode, exotkAF_MouseButton, and exotkAF_ViewType.

void * exotkAF_View::operator new size_t    size [inline]
 

OCC new.

Returns:
inline void*
Parameters:
size_t  size

Definition at line 88 of file exotkAF_View.hxx.

void * exotkAF_View::operator new size_t   ,
void *    anAddress
[inline]
 

OCC new.

Returns:
inline void*
Parameters:
size_t 
void  * anAddress

Definition at line 77 of file exotkAF_View.hxx.

exotkAF_View::Pan const Standard_Integer    dX,
const Standard_Integer    dY
[virtual]
 

Pan the view.

Parameters:
dX  const Standard_Integer
dY  const Standard_Integer

Definition at line 865 of file exotkAF_View.cxx.

References myView.

exotkAF_View::Pick const exotkAF_MouseButton    aButton [virtual]
 

To call when the user click on a mouse button.

Parameters:
aButton  const exotkAF_MouseButton

Definition at line 320 of file exotkAF_View.cxx.

References exotkAF_camDynamicRotation, exotkAF_camNothing, exotkAF_mbLeft, exotkAF_mbRight, exotkAF_MouseButton, myCurrentActionMode, myCurrentMouseButton, myCurrentXMousePosition, myCurrentYMousePosition, myDocument, myInitialXMousePosition, myInitialYMousePosition, mySavedXMousePosition, mySavedYMousePosition, and myView.

exotkAF_View::PopupMenu Handle_exotkTree_Menu   aMenu [virtual]
 

Return the computed popup menu.

Returns:
Standard_Boolean
Return values:
aMenu  Handle_exotkTree_Menu&

Definition at line 1187 of file exotkAF_View.cxx.

References IsPopup(), and myDocument.

exotkAF_View::Redraw   [virtual]
 

Redraw the view.

Definition at line 812 of file exotkAF_View.cxx.

References myView.

Referenced by Release(), and SetBackgroundColor().

exotkAF_View::Release   [virtual]
 

To call when the user release a mouse button.

Definition at line 374 of file exotkAF_View.cxx.

References exotkAF_camWindowZooming, exotkAF_mbNone, myCurrentActionMode, myCurrentMouseButton, myCurrentXMousePosition, myCurrentYMousePosition, myIsDragging, myIsHiddenLine, mySavedXMousePosition, mySavedYMousePosition, myView, Redraw(), SetHiddenLine(), and SetNothingMode().

exotkAF_View::Reset   [virtual]
 

Reset the view to its creation settings.

Definition at line 847 of file exotkAF_View.cxx.

References myView.

exotkAF_View::Resize   [virtual]
 

To call when the view size change.

Definition at line 1023 of file exotkAF_View.cxx.

References myView.

exotkAF_View::Right   [virtual]
 

set the view orientation as right.

Definition at line 780 of file exotkAF_View.cxx.

References myView.

Referenced by SetViewType().

exotkAF_View::Rotate const Standard_Real    Ax,
const Standard_Real    Ay,
const Standard_Real    Az
[virtual]
 

Rotate the view along the axis (Ax,Ay,Az).

Parameters:
Ax  const Standard_Real
Ay  const Standard_Real
Az  const Standard_Real

Definition at line 881 of file exotkAF_View.cxx.

References myView.

exotkAF_View::SetAntialiasing const Standard_Boolean    On = Standard_True [virtual]
 

Set the antialiasing status.

Parameters:
On  const Standard_Boolean = Standard_True

Definition at line 1069 of file exotkAF_View.cxx.

References myAntialiasingIsOn, and myView.

exotkAF_View::SetBackgroundColor const Standard_Real    R = 0.5,
const Standard_Real    G = 0.5,
const Standard_Real    B = 0.5,
const Standard_Real    Base = 1.0
[virtual]
 

Set the background color.

Returns:
Standard_Boolean
Parameters:
R  const Standard_Real = 0.5
G  const Standard_Real = 0.5
B  const Standard_Real = 0.5
Base  const Standard_Real = 1.0

Definition at line 998 of file exotkAF_View.cxx.

References myView, and Redraw().

exotkAF_View::SetBackgroundColor const Quantity_Color &    aColor [virtual]
 

Set aColor as background color.

Returns:
Standard_Boolean
Parameters:
aColor  const Quantity_Color&

Definition at line 982 of file exotkAF_View.cxx.

exotkAF_View::SetCtrlKey const Standard_Boolean    On = Standard_True [virtual]
 

Set the status of the Ctrl key ( pushed or not ).

Parameters:
On  const Standard_Boolean = Standard_True

Definition at line 283 of file exotkAF_View.cxx.

References myCtrlPushed.

exotkAF_View::SetCurrentActionMode const enum exotkAF_CurrentActionMode    aMode [virtual]
 

Set aMode as current action mode.

Parameters:
aMode  const enum exotkAF_CurrentActionMode

Definition at line 152 of file exotkAF_View.cxx.

References exotkAF_camDynamicPanning, exotkAF_camDynamicRotation, exotkAF_camDynamicZooming, exotkAF_camMoving, exotkAF_camNothing, exotkAF_camWindowZooming, SetDynamicPanningMode(), SetDynamicRotationMode(), SetDynamicZoomingMode(), SetNothingMode(), and SetWindowZoomingMode().

exotkAF_View::SetCurrentMouseButton const enum exotkAF_MouseButton    aButton [virtual]
 

Set aButton as current mouse button.

Parameters:
aButton  const enum exotkAF_MouseButton

Definition at line 196 of file exotkAF_View.cxx.

References exotkAF_MouseButton, and myCurrentMouseButton.

exotkAF_View::SetDocument const Handle_exotkAF_Document   aDocument [virtual]
 

Set aDocument as associated document.

Parameters:
aDocument  const Handle_exotkAF_Document&

Definition at line 139 of file exotkAF_View.cxx.

References myDocument.

exotkAF_View::SetDynamicPanningMode   [virtual]
 

Set the current action mode to Panning.

Definition at line 233 of file exotkAF_View.cxx.

References exotkAF_camDynamicPanning, and myCurrentActionMode.

Referenced by SetCurrentActionMode().

exotkAF_View::SetDynamicRotationMode   [virtual]
 

Set the current action mode to Dynamic Rotation.

Definition at line 221 of file exotkAF_View.cxx.

References exotkAF_camDynamicRotation, and myCurrentActionMode.

Referenced by SetCurrentActionMode().

exotkAF_View::SetDynamicZoomingMode   [virtual]
 

Set the current action mode to Dynamic Zooming.

Definition at line 257 of file exotkAF_View.cxx.

References exotkAF_camDynamicZooming, and myCurrentActionMode.

Referenced by SetCurrentActionMode().

exotkAF_View::SetHiddenLine const Standard_Boolean    On = Standard_True [virtual]
 

Set the hidden line removal status.

Parameters:
On  const Standard_Boolean = Standard_True

Definition at line 1037 of file exotkAF_View.cxx.

References myIsHiddenLine, and myView.

Referenced by Release().

exotkAF_View::SetNothingMode   [virtual]
 

Set the current action mode to nothing.

Definition at line 209 of file exotkAF_View.cxx.

References exotkAF_camNothing, and myCurrentActionMode.

Referenced by Release(), and SetCurrentActionMode().

exotkAF_View::SetShiftKey const Standard_Boolean    On = Standard_True [virtual]
 

Set the status of the Shift key ( pushed or not ).

Parameters:
On  const Standard_Boolean = Standard_True

Definition at line 270 of file exotkAF_View.cxx.

References myShiftPushed.

exotkAF_View::SetViewType const enum exotkAF_ViewType    aType [virtual]
 

Set aType as current view type.

Parameters:
aType  const enum exotkAF_ViewType

Definition at line 663 of file exotkAF_View.cxx.

References Axo(), Back(), Bottom(), exotkAF_vtAxo, exotkAF_vtBack, exotkAF_vtBottom, exotkAF_vtFront, exotkAF_vtLeft, exotkAF_vtRight, exotkAF_vtTop, Front(), Left(), Right(), and Top().

exotkAF_View::SetWindowZoomingMode   [virtual]
 

Set the current action mode to Window Zooming.

Definition at line 245 of file exotkAF_View.cxx.

References exotkAF_camWindowZooming, and myCurrentActionMode.

Referenced by SetCurrentActionMode().

exotkAF_View::ShiftMove const Standard_Integer    x,
const Standard_Integer    y
[protected, virtual]
 

Manage the move when Shift is pushed.

Returns:
exotkAF_CurrentActionMode
Parameters:
x  const Standard_Integer
y  const Standard_Integer

Definition at line 573 of file exotkAF_View.cxx.

References exotkAF_camMoving, exotkAF_camNothing, MoveTo(), and myView.

Referenced by Move().

exotkAF_View::Size Standard_Integer &    aWidth,
Standard_Integer &    aHeight
[virtual]
 

Return the size of the view.

Returns:
Standard_Boolean : true if succeeded
Return values:
aWidth  Standard_Integer&
aHeight  Standard_Integer&

Definition at line 913 of file exotkAF_View.cxx.

References myView.

Referenced by ZoomIn(), and ZoomOut().

exotkAF_View::Top   [virtual]
 

set the view orientation as top.

Definition at line 732 of file exotkAF_View.cxx.

References myView.

Referenced by SetViewType().

exotkAF_View::V3dView  
 

Return the associated 3d view from OpenCASCADE.

Returns:
Handle_V3d_View&

Definition at line 609 of file exotkAF_View.cxx.

References myView.

exotkAF_View::WindowFitAll const Standard_Integer    Xmin,
const Standard_Integer    Ymin,
const Standard_Integer    Xmax,
const Standard_Integer    Ymax
[virtual]
 

Zoom the view.

Parameters:
Xmin  const Standard_Integer
Ymin  const Standard_Integer
Xmax  const Standard_Integer
Ymax  const Standard_Integer

Definition at line 898 of file exotkAF_View.cxx.

References myView.

Referenced by ZoomIn(), and ZoomOut().

exotkAF_View::ZoomIn   [virtual]
 

zoom in the view.

Definition at line 1141 of file exotkAF_View.cxx.

References Size(), and WindowFitAll().

exotkAF_View::ZoomOut   [virtual]
 

zoom out the view.

Definition at line 1164 of file exotkAF_View.cxx.

References Size(), and WindowFitAll().


Friends And Related Function Documentation

friend class exotkAF_Document [friend]
 

Definition at line 67 of file exotkAF_View.hxx.

Handle_Standard_Type & exotkAF_View::exotkAF_View_Type_   [friend]
 

Type management.

Returns:
friend Handle_Standard_Type&


Member Data Documentation

Standard_Boolean exotkAF_View::myAntialiasingIsOn [protected]
 

true if the Antialiasing is activated

Definition at line 552 of file exotkAF_View.hxx.

Referenced by Antialiasing(), and SetAntialiasing().

Standard_Boolean exotkAF_View::myCtrlPushed [protected]
 

true if Ctrl key is pushed

Definition at line 522 of file exotkAF_View.hxx.

Referenced by IsPopup(), and SetCtrlKey().

exotkAF_CurrentActionMode exotkAF_View::myCurrentActionMode [protected]
 

the current action mode

Definition at line 516 of file exotkAF_View.hxx.

Referenced by CtrlMove(), CurrentActionMode(), Move(), Pick(), Release(), SetDynamicPanningMode(), SetDynamicRotationMode(), SetDynamicZoomingMode(), SetNothingMode(), and SetWindowZoomingMode().

exotkAF_MouseButton exotkAF_View::myCurrentMouseButton [protected]
 

the saved current mouse button

Definition at line 519 of file exotkAF_View.hxx.

Referenced by CurrentMouseButton(), IsPopup(), Pick(), Release(), and SetCurrentMouseButton().

Standard_Integer exotkAF_View::myCurrentXMousePosition
 

the current X mouse position

Definition at line 531 of file exotkAF_View.hxx.

Referenced by CurrentMousePosition(), Move(), Pick(), and Release().

Standard_Integer exotkAF_View::myCurrentYMousePosition
 

the current Y mouse position

Definition at line 534 of file exotkAF_View.hxx.

Referenced by CurrentMousePosition(), Move(), Pick(), and Release().

Handle_exotkAF_Document exotkAF_View::myDocument [protected]
 

the associated document

Definition at line 513 of file exotkAF_View.hxx.

Referenced by Move(), MoveTo(), Pick(), PopupMenu(), and SetDocument().

Standard_Integer exotkAF_View::myInitialXMousePosition [protected]
 

the initial X mouse position when picking

Definition at line 544 of file exotkAF_View.hxx.

Referenced by Move(), and Pick().

Standard_Integer exotkAF_View::myInitialYMousePosition [protected]
 

the initial Y mouse position when picking

Definition at line 547 of file exotkAF_View.hxx.

Referenced by Move(), and Pick().

Standard_Boolean exotkAF_View::myIsDragging [protected]
 

true if the user drags currently the mouse

Definition at line 528 of file exotkAF_View.hxx.

Referenced by IsDragging(), Move(), and Release().

Standard_Boolean exotkAF_View::myIsHiddenLine [protected]
 

true if theView mode is HiddenLine

Definition at line 554 of file exotkAF_View.hxx.

Referenced by HiddenLine(), Release(), and SetHiddenLine().

Standard_Integer exotkAF_View::mySavedXMousePosition
 

the saved(temporary) X mouse position

Definition at line 537 of file exotkAF_View.hxx.

Referenced by CtrlMove(), Move(), Pick(), and Release().

Standard_Integer exotkAF_View::mySavedYMousePosition
 

the saved(temporary) Y mouse position

Definition at line 540 of file exotkAF_View.hxx.

Referenced by CtrlMove(), Move(), Pick(), and Release().

Standard_Boolean exotkAF_View::myShiftPushed [protected]
 

true if Shift key is pushed

Definition at line 525 of file exotkAF_View.hxx.

Referenced by IsPopup(), and SetShiftKey().

Handle_V3d_View exotkAF_View::myView [protected]
 

the 3d view

Definition at line 550 of file exotkAF_View.hxx.

Referenced by Axo(), Back(), BackgroundColor(), Bottom(), CreateView(), CtrlMove(), FitAll(), Front(), IsValid(), Left(), Move(), MoveTo(), Pan(), Pick(), Redraw(), Release(), Reset(), Resize(), Right(), Rotate(), SetAntialiasing(), SetBackgroundColor(), SetHiddenLine(), ShiftMove(), Size(), Top(), V3dView(), WindowFitAll(), and ~exotkAF_View().


The documentation for this class was generated from the following files:
Generated on Wed Jan 23 12:18:26 2002 for exotk by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001