Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
OCCViewer_ViewFrame Class Reference

#include <OCCViewer_ViewFrame.h>

Inheritance diagram for OCCViewer_ViewFrame:
Inheritance graph

Public Types

enum  {
  MAIN_VIEW, BOTTOM_RIGHT =MAIN_VIEW, BOTTOM_LEFT, TOP_LEFT,
  TOP_RIGHT
}
 
- Public Types inherited from OCCViewer_ViewWindow
enum  {
  DumpId, FitAllId, FitRectId, FitSelectionId,
  ZoomId, PanId, GlobalPanId, ChangeRotationPointId,
  RotationId, FrontId, BackId, TopId,
  BottomId, LeftId, RightId, ClockWiseId,
  AntiClockWiseId, ResetId, CloneId, ClippingId,
  MemId, RestoreId, TrihedronShowId, AxialScaleId,
  GraduatedAxesId, AmbientId, SwitchInteractionStyleId, SwitchZoomingStyleId,
  SwitchPreselectionId, SwitchSelectionId, MaximizedId, SynchronizeId,
  ReturnTo3dViewId, OrthographicId, PerspectiveId, StereoId,
  RayTracingId, EnvTextureId, LightSourceId, UserId
}
 
enum  OperationType {
  NOTHING, PANVIEW, ZOOMVIEW, ROTATE,
  PANGLOBAL, WINDOWFIT, FITALLVIEW, FITSELECTION,
  RESETVIEW, FRONTVIEW, BACKVIEW, TOPVIEW,
  BOTTOMVIEW, LEFTVIEW, RIGHTVIEW, CLOCKWISEVIEW,
  ANTICLOCKWISEVIEW, PROJECTION
}
 
enum  RotationPointType { BBCENTER, SELECTED }
 
enum  SketchingType { NoSketching, Rect, Polygon }
 
enum  Mode2dType { No2dMode, XYPlane, XZPlane, YZPlane }
 
enum  ProjectionType { Orthographic, Perspective, Stereo }
 
enum  StereoType {
  QuadBuffer, Anaglyph, RowInterlaced, ColumnInterlaced,
  ChessBoard, SideBySide, OverUnder, SoftPageFlip,
  NumberOfModes
}
 
enum  AnaglyphFilter { RedCyan, YellowBlue, GreenMagenta }
 
enum  FocusIODType { Absolute, Relative }
 

Public Slots

virtual void onFrontView ()
 
virtual void onViewFitAll ()
 
virtual void onBackView ()
 
virtual void onTopView ()
 
virtual void onBottomView ()
 
virtual void onLeftView ()
 
virtual void onRightView ()
 
virtual void onClockWiseView ()
 
virtual void onAntiClockWiseView ()
 
virtual void onResetView ()
 
virtual void onFitAll ()
 
virtual void activateZoom ()
 
virtual void activateWindowFit ()
 
virtual void activateRotation ()
 
virtual void activatePanning ()
 
virtual void activateGlobalPanning ()
 
virtual void onSetRotationPoint (bool on)
 
virtual void onAxialScale ()
 
virtual void onAmbientToogle ()
 
virtual void onMemorizeView ()
 
virtual void onRestoreView ()
 
virtual void onSwitchInteractionStyle (bool on)
 
virtual void activateSetRotationGravity ()
 
virtual void activateSetRotationSelected (double theX, double theY, double theZ)
 
virtual void activateStartPointSelection (TopAbs_ShapeEnum)
 
virtual void updateGravityCoords ()
 
void onMaximizedView (OCCViewer_ViewWindow *, bool)
 
void returnTo3dView ()
 
virtual void onDumpView ()
 
- Public Slots inherited from OCCViewer_ViewWindow
virtual void onFrontView ()
 Perform "front view" transformation. More...
 
virtual void onViewFitAll ()
 Perform 'fit all' operation. More...
 
virtual void onBackView ()
 Perform "back view" transformation. More...
 
virtual void onClipping (bool on)
 called if clipping operation is activated / deactivated. More...
 
virtual void onTopView ()
 Perform "top view" transformation. More...
 
virtual void onBottomView ()
 Perform "bottom view" transformation. More...
 
virtual void onLeftView ()
 Perform "left view" transformation. More...
 
virtual void onRightView ()
 Perform "right view" transformation. More...
 
virtual void onClockWiseView ()
 Rotate view 90 degrees clockwise. More...
 
virtual void onAntiClockWiseView ()
 Rotate view 90 degrees conterclockwise. More...
 
virtual void onProjectionType (QAction *theAction)
 Set the given projection mode. More...
 
virtual void onStereoType (bool activate)
 
virtual void onProjectionType ()
 Restore the view. More...
 
virtual void onResetView ()
 Perform "reset view" transformation. More...
 
virtual void onFitAll ()
 Perform "fit all" transformation. More...
 
virtual void onFitSelection ()
 Perform "fit selection" transformation. More...
 
virtual void activateZoom ()
 Start zooming operation. More...
 
virtual void activateWindowFit ()
 Starts fit operation. More...
 
virtual void activateRotation ()
 Start rotation operation. More...
 
virtual void activatePanning ()
 Start panning operation. More...
 
virtual void activateGlobalPanning ()
 Start global panning operation. More...
 
virtual void onSetRotationPoint (bool on)
 Called if 'change rotation point' operation is activated. More...
 
virtual void onCloneView ()
 Create one more window with same content. More...
 
virtual void onAxialScale ()
 
virtual void onGraduatedAxes ()
 
virtual void onAmbientToogle ()
 
virtual void onMemorizeView ()
 Store view parameters. More...
 
virtual void onRestoreView ()
 Restore view parameters. More...
 
virtual void onTrihedronShow (bool)
 Called when action "show/hide trihedron" is activated. More...
 
virtual void setRestoreFlag ()
 Set restore flag. More...
 
virtual void onSwitchInteractionStyle (bool on)
 Switches "keyboard free" interaction style on/off. More...
 
virtual void onSwitchZoomingStyle (bool on)
 Toogles advanced zooming style (relatively to the cursor position) on/off. More...
 
virtual void onSwitchPreselection (bool on)
 Toggles preselection (highlighting) on/off. More...
 
virtual void onSwitchSelection (bool on)
 Toggles selection on/off. More...
 
virtual void onRayTracing ()
 
virtual void onEnvTexture ()
 
virtual void onLightSource ()
 
virtual void activateSetRotationGravity ()
 Set the gravity center as a rotation point. More...
 
virtual void activateSetRotationSelected (double theX, double theY, double theZ)
 Set the point selected by the user as a rotation point. More...
 
virtual void activateStartPointSelection (TopAbs_ShapeEnum)
 Start the shape selection process. More...
 
virtual void updateGravityCoords ()
 Update gravity center in the "Set Rotation Point" dialog box. More...
 
virtual void showEvent (QShowEvent *)
 Handle show event. More...
 
virtual void hideEvent (QHideEvent *)
 Handle hide event. More...
 
virtual void onMaximizedView ()
 
virtual void returnTo3dView ()
 
- Public Slots inherited from SUIT_ViewWindow
virtual void onDumpView ()
 

Public Member Functions

 OCCViewer_ViewFrame (SUIT_Desktop *theDesktop, OCCViewer_Viewer *theModel)
 
virtual ~OCCViewer_ViewFrame ()
 
bool event (QEvent *e)
 
OCCViewer_ViewWindowgetView (const int) const
 
OCCViewer_ViewWindowgetActiveView () const
 
virtual OCCViewer_ViewPort3dgetViewPort ()
 
OCCViewer_ViewPort3dgetViewPort (int theView)
 
virtual void performRestoring (const viewAspect &theAspect)
 
virtual void initLayout ()
 Internal initialization. More...
 
virtual void updateEnabledDrawMode ()
 Update state of enable draw mode state. More...
 
virtual void setCuttingPlane (bool on, const double x=0, const double y=0, const double z=0, const double dx=0, const double dy=0, const double dz=1)
 Set parameters of the cutting plane. More...
 
virtual void setCuttingPlane (bool on, const gp_Pln thePln)
 
virtual bool isCuttingPlane ()
 Check if any cutting plane is enabled. More...
 
virtual QString getVisualParameters ()
 Get visual parameters of this view window. More...
 
virtual void setVisualParameters (const QString &parameters)
 Restore visual parameters of the view window. More...
 
virtual void initSketchers ()
 
virtual OCCViewer_ViewSketchergetSketcher (const int i)
 
virtual void activateSketching (int i)
 
virtual int interactionStyle () const
 Get current interaction style. More...
 
virtual void setInteractionStyle (const int i)
 Set current interaction style. More...
 
virtual int projectionType () const
 
virtual void setProjectionType (int)
 
virtual int stereoType () const
 
virtual void setStereoType (const int)
 
virtual int anaglyphFilter () const
 
virtual void setAnaglyphFilter (const int)
 
virtual void setStereographicFocus (const int, const double)
 
virtual int stereographicFocusType () const
 
virtual double stereographicFocusValue () const
 
virtual void setInterocularDistance (const int, const double)
 
virtual int interocularDistanceType () const
 
virtual double interocularDistanceValue () const
 
virtual bool isReverseStereo () const
 
virtual void setReverseStereo (const bool)
 
virtual bool isVSync () const
 
virtual void setVSync (const bool)
 
virtual bool isQuadBufferSupport () const
 
virtual void setQuadBufferSupport (const bool)
 
virtual int zoomingStyle () const
 Get current zooming style. More...
 
virtual void setZoomingStyle (const int)
 Set current zooming style. More...
 
virtual bool isSelectionEnabled () const
 Indicates whether selection is enabled. More...
 
virtual void enableSelection (bool)
 Enables/disables selection. More...
 
virtual bool isPreselectionEnabled () const
 Indicates whether preselection is enabled. More...
 
virtual void enablePreselection (bool)
 Enables/disables preselection. More...
 
virtual bool enableDrawMode (bool)
 Enable / disable draw rect (rubber band) mode. More...
 
virtual void setViewManager (SUIT_ViewManager *)
 
virtual bool eventFilter (QObject *watched, QEvent *e)
 Customize event handling. More...
 
virtual QColor backgroundColor () const
 
virtual void setBackgroundColor (const QColor &)
 
virtual Qtx::BackgroundData background () const
 
virtual void setBackground (const Qtx::BackgroundData &)
 
virtual void showStaticTrihedron (bool)
 
virtual void setDropDownButtons (bool)
 Set buttons mode to drop-down (on = true) or ligned (on = false) More...
 
virtual SUIT_CameraProperties cameraProperties ()
 
- Public Member Functions inherited from OCCViewer_ViewWindow
 OCCViewer_ViewWindow (SUIT_Desktop *theDesktop, OCCViewer_Viewer *theModel)
 Constructor. More...
 
virtual ~OCCViewer_ViewWindow ()
 Destructor. More...
 
virtual void performRestoring (const viewAspect &, bool=false)
 Restore view parameters. More...
 
void setTransformEnabled (const OperationType, const bool)
 
bool transformEnabled (const OperationType) const
 
void set2dMode (Mode2dType)
 
Mode2dType get2dMode () const
 
void setMaximized (bool, bool=true)
 
bool isMaximized () const
 
void setReturnedTo3dView (bool=true)
 
void setSketcherStyle (bool enable)
 
bool isSketcherStyle () const
 
virtual const viewAspectListgetViewAspects ()
 
virtual void appendViewAspect (const viewAspect &)
 
virtual void updateViewAspects (const viewAspectList &)
 
virtual void clearViewAspects ()
 
- Public Member Functions inherited from SUIT_ViewWindow
 SUIT_ViewWindow (SUIT_Desktop *)
 
virtual ~SUIT_ViewWindow ()
 
SUIT_ViewManagergetViewManager () const
 
bool event (QEvent *)
 
bool dumpViewToFormat (const QString &fileName, const QString &format)
 
bool onAccelAction (int)
 
bool closable () const
 
bool setClosable (const bool)
 
void setDestructiveClose (const bool)
 
int getId () const
 
QtxActionToolMgrtoolMgr () const
 
bool dropDownButtons () const
 Get current buttons mode. More...
 

Protected Member Functions

virtual QImage dumpView ()
 Dump view window contents to the pixmap. More...
 
virtual bool dumpViewToFormat (const QImage &, const QString &, const QString &)
 
- Protected Member Functions inherited from OCCViewer_ViewWindow
virtual QString filter () const
 
bool isOpenGlStereoSupport () const
 
bool transformRequested () const
 
bool setTransformRequested (OperationType)
 Start delayed viewer operation. More...
 
bool transformInProcess () const
 
void setTransformInProcess (bool)
 
void vpMousePressEvent (QMouseEvent *theEvent)
 Handle mouse press event. More...
 
void vpMouseReleaseEvent (QMouseEvent *theEvent)
 Handle mouse release event. More...
 
void vpMouseMoveEvent (QMouseEvent *theEvent)
 Handle mouse move event. More...
 
void resetState ()
 Reset the viewport to its initial state ( no transformations in process etc. ) More...
 
void drawRect ()
 Draw rubber band rectangle. More...
 
void endDrawRect ()
 Clear rubber band rectangle on the end on the dragging operation. More...
 
void createActions ()
 Create actions. More...
 
void createToolBar ()
 Create toolbar. More...
 
virtual OperationType getButtonState (QMouseEvent *theEvent, int theInteractionStyle)
 Detect viewer operation according the the mouse button pressed and key modifiers used. More...
 
viewAspect getViewParams () const
 Get the visual parameters of the view window. More...
 
bool computeGravityCenter (double &theX, double &theY, double &theZ)
 Compute the gravity center. More...
 
virtual void onSketchingStarted ()
 
virtual void onSketchingFinished ()
 
virtual OCCViewer_ViewSketchercreateSketcher (int)
 
void saveCursor ()
 
- Protected Member Functions inherited from SUIT_ViewWindow
void closeEvent (QCloseEvent *)
 
virtual void contextMenuEvent (QContextMenuEvent *)
 
virtual bool action (const int)
 
virtual QActionsynchronizeAction ()
 

Private Slots

void onContextMenuRequested (QContextMenuEvent *)
 
void onMousePressed (SUIT_ViewWindow *, QMouseEvent *)
 

Private Member Functions

void connectViewSignals (OCCViewer_ViewWindow *theView)
 
void updateWindowTitle (OCCViewer_ViewWindow *theView)
 
void createSubViews ()
 
void splitSubViews ()
 
void setSubViewParams (OCCViewer_ViewWindow *theView)
 

Private Attributes

QList< OCCViewer_ViewWindow * > myViews
 
QGridLayout * myLayout
 
OCCViewer_ViewWindowmyMaximizedView
 
OCCViewer_ViewWindowmyActiveView
 
int mySplitMode
 
QList< int > myViewsMode
 
OCCViewer_ViewWindowmyPopupRequestedView
 

Additional Inherited Members

- Signals inherited from OCCViewer_ViewWindow
void vpTransformationStarted (OCCViewer_ViewWindow::OperationType type)
 
void vpTransformationFinished (OCCViewer_ViewWindow::OperationType type)
 
void viewCloned (SUIT_ViewWindow *)
 
void Show (QShowEvent *)
 
void Hide (QHideEvent *)
 
void maximized (OCCViewer_ViewWindow *, bool)
 
void returnedTo3d ()
 
- Protected Slots inherited from OCCViewer_ViewWindow
void synchronize (SUIT_ViewWindow *)
 
- Static Protected Member Functions inherited from SUIT_ViewWindow
static void synchronizeView (SUIT_ViewWindow *viewWindow, int id)
 
- Protected Attributes inherited from OCCViewer_ViewWindow
OCCViewer_ViewSketchermypSketcher
 
QList< OCCViewer_ViewSketcher * > mySketchers
 
int myCurSketch
 
OperationType myOperation
 
OCCViewer_ViewermyModel
 
OCCViewer_ViewPort3dmyViewPort
 
OCCViewer_CubeAxesDlgmyCubeAxesDlg
 
RotationPointType myCurrPointType
 
RotationPointType myPrevPointType
 
gp_Pnt mySelectedPoint
 
bool myRotationPointSelection
 
int myRestoreFlag
 
int myStartX
 
int myStartY
 
int myCurrX
 
int myCurrY
 
bool myEventStarted
 
bool myCursorIsHand
 
bool myDrawRect
 
bool myEnableDrawMode
 
bool myDrawRectEnabled
 
bool myPaintersRedrawing
 
bool IsSketcherStyle
 
bool myIsKeyFree
 
QCursor myCursor
 
double myCurScale
 

Member Enumeration Documentation

anonymous enum
Enumerator
MAIN_VIEW 
BOTTOM_RIGHT 
BOTTOM_LEFT 
TOP_LEFT 
TOP_RIGHT 

Constructor & Destructor Documentation

OCCViewer_ViewFrame::OCCViewer_ViewFrame ( SUIT_Desktop theDesktop,
OCCViewer_Viewer theModel 
)
OCCViewer_ViewFrame::~OCCViewer_ViewFrame ( )
virtual

Member Function Documentation

virtual void OCCViewer_ViewFrame::activateGlobalPanning ( )
inlinevirtualslot
virtual void OCCViewer_ViewFrame::activatePanning ( )
inlinevirtualslot
virtual void OCCViewer_ViewFrame::activateRotation ( )
inlinevirtualslot
virtual void OCCViewer_ViewFrame::activateSetRotationGravity ( )
inlinevirtualslot
virtual void OCCViewer_ViewFrame::activateSetRotationSelected ( double  theX,
double  theY,
double  theZ 
)
inlinevirtualslot
virtual void OCCViewer_ViewFrame::activateSketching ( int  type)
inlinevirtual

Handles requests for sketching in the active view. [ virtual public ]

Reimplemented from OCCViewer_ViewWindow.

References OCCViewer_ViewWindow::activateSketching(), and OCCViewer_ViewWindow::getView().

virtual void OCCViewer_ViewFrame::activateStartPointSelection ( TopAbs_ShapeEnum  )
inlinevirtualslot
virtual void OCCViewer_ViewFrame::activateWindowFit ( )
inlinevirtualslot
virtual void OCCViewer_ViewFrame::activateZoom ( )
inlinevirtualslot
int OCCViewer_ViewFrame::anaglyphFilter ( ) const
virtual
Qtx::BackgroundData OCCViewer_ViewFrame::background ( ) const
virtual
QColor OCCViewer_ViewFrame::backgroundColor ( ) const
virtual
SUIT_CameraProperties OCCViewer_ViewFrame::cameraProperties ( )
virtual

Get camera properties for the OCC view window.

Returns
shared pointer on camera properties.

Reimplemented from OCCViewer_ViewWindow.

QImage OCCViewer_ViewFrame::dumpView ( )
protectedvirtual
Returns
pixmap containing all scene rendered in the window

Reimplemented from OCCViewer_ViewWindow.

References OCCViewer_ViewWindow::dumpView(), and myViews.

bool OCCViewer_ViewFrame::dumpViewToFormat ( const QImage &  img,
const QString &  fileName,
const QString &  format 
)
protectedvirtual

Saves image to file according to the format

Parameters
image- image
fileName- name of file
format- string contains name of format (for example, "BMP"(default) or "JPEG", "JPG")

Reimplemented from OCCViewer_ViewWindow.

References OCCViewer_ViewWindow::dumpViewToFormat(), and myViews.

bool OCCViewer_ViewFrame::enableDrawMode ( bool  on)
virtual
void OCCViewer_ViewFrame::enablePreselection ( bool  theIsToEnable)
virtual
Parameters
theIsToEnableif true - preselection will be enabled

Reimplemented from OCCViewer_ViewWindow.

References OCCViewer_ViewWindow::enablePreselection(), and myViews.

void OCCViewer_ViewFrame::enableSelection ( bool  theIsToEnable)
virtual
Parameters
theIsToEnableif true - selection will be enabled

Reimplemented from OCCViewer_ViewWindow.

References OCCViewer_ViewWindow::enableSelection(), and myViews.

bool OCCViewer_ViewFrame::event ( QEvent e)
virtual bool OCCViewer_ViewFrame::eventFilter ( QObject watched,
QEvent e 
)
inlinevirtual
Parameters
watchedevent receiver object
eevent
Returns
true if the event processing should be stopped

Reimplemented from OCCViewer_ViewWindow.

OCCViewer_ViewWindow * OCCViewer_ViewFrame::getActiveView ( ) const

References myActiveView.

virtual OCCViewer_ViewSketcher* OCCViewer_ViewFrame::getSketcher ( const int  i)
inlinevirtual
OCCViewer_ViewWindow * OCCViewer_ViewFrame::getView ( const int  i) const
virtual

Reimplemented from OCCViewer_ViewWindow.

References myViews.

virtual OCCViewer_ViewPort3d* OCCViewer_ViewFrame::getViewPort ( )
inlinevirtual
OCCViewer_ViewPort3d * OCCViewer_ViewFrame::getViewPort ( int  theView)
QString OCCViewer_ViewFrame::getVisualParameters ( )
virtual
Returns
visual parameters of view window

Reimplemented from OCCViewer_ViewWindow.

References BOTTOM_RIGHT, getView(), OCCViewer_ViewWindow::getVisualParameters(), mySplitMode, myViews, myViewsMode, and TOP_RIGHT.

virtual void OCCViewer_ViewFrame::initLayout ( )
inlinevirtual

Reimplemented from OCCViewer_ViewWindow.

virtual void OCCViewer_ViewFrame::initSketchers ( )
inlinevirtual
virtual int OCCViewer_ViewFrame::interactionStyle ( ) const
inlinevirtual
Returns
interaction style

Reimplemented from OCCViewer_ViewWindow.

References OCCViewer_ViewWindow::getView(), and OCCViewer_ViewWindow::interactionStyle().

int OCCViewer_ViewFrame::interocularDistanceType ( ) const
virtual
double OCCViewer_ViewFrame::interocularDistanceValue ( ) const
virtual
virtual bool OCCViewer_ViewFrame::isCuttingPlane ( )
inlinevirtual
Returns
true if at least one cutting plane is enabled

Reimplemented from OCCViewer_ViewWindow.

References OCCViewer_ViewWindow::getView(), and OCCViewer_ViewWindow::isCuttingPlane().

virtual bool OCCViewer_ViewFrame::isPreselectionEnabled ( ) const
inlinevirtual
Returns
true if preselection is enabled

Reimplemented from OCCViewer_ViewWindow.

References OCCViewer_ViewWindow::getView(), and OCCViewer_ViewWindow::isPreselectionEnabled().

bool OCCViewer_ViewFrame::isQuadBufferSupport ( ) const
virtual
bool OCCViewer_ViewFrame::isReverseStereo ( ) const
virtual
virtual bool OCCViewer_ViewFrame::isSelectionEnabled ( ) const
inlinevirtual
Returns
true if selection is enabled

Reimplemented from OCCViewer_ViewWindow.

References OCCViewer_ViewWindow::getView(), and OCCViewer_ViewWindow::isSelectionEnabled().

bool OCCViewer_ViewFrame::isVSync ( ) const
virtual
virtual void OCCViewer_ViewFrame::onAmbientToogle ( )
inlinevirtualslot
virtual void OCCViewer_ViewFrame::onAntiClockWiseView ( )
inlinevirtualslot
virtual void OCCViewer_ViewFrame::onAxialScale ( )
inlinevirtualslot
virtual void OCCViewer_ViewFrame::onBackView ( )
inlinevirtualslot
virtual void OCCViewer_ViewFrame::onBottomView ( )
inlinevirtualslot
virtual void OCCViewer_ViewFrame::onClockWiseView ( )
inlinevirtualslot
void OCCViewer_ViewFrame::onContextMenuRequested ( QContextMenuEvent *  )
privateslot

References myPopupRequestedView.

void OCCViewer_ViewFrame::onDumpView ( )
virtualslot
void OCCViewer_ViewFrame::onFitAll ( )
virtualslot
virtual void OCCViewer_ViewFrame::onFrontView ( )
inlinevirtualslot
virtual void OCCViewer_ViewFrame::onLeftView ( )
inlinevirtualslot
virtual void OCCViewer_ViewFrame::onMemorizeView ( )
inlinevirtualslot
void OCCViewer_ViewFrame::onMousePressed ( SUIT_ViewWindow view,
QMouseEvent *   
)
privateslot

References myActiveView.

virtual void OCCViewer_ViewFrame::onResetView ( )
inlinevirtualslot
virtual void OCCViewer_ViewFrame::onRestoreView ( )
inlinevirtualslot
virtual void OCCViewer_ViewFrame::onRightView ( )
inlinevirtualslot
virtual void OCCViewer_ViewFrame::onSetRotationPoint ( bool  on)
inlinevirtualslot
virtual void OCCViewer_ViewFrame::onSwitchInteractionStyle ( bool  on)
inlinevirtualslot
virtual void OCCViewer_ViewFrame::onTopView ( )
inlinevirtualslot
void OCCViewer_ViewFrame::onViewFitAll ( )
virtualslot
virtual void OCCViewer_ViewFrame::performRestoring ( const viewAspect theAspect)
inlinevirtual
int OCCViewer_ViewFrame::projectionType ( ) const
virtual
void OCCViewer_ViewFrame::setAnaglyphFilter ( const int  t)
virtual
void OCCViewer_ViewFrame::setBackground ( const Qtx::BackgroundData theBackground)
virtual
void OCCViewer_ViewFrame::setBackgroundColor ( const QColor &  theColor)
virtual
void OCCViewer_ViewFrame::setCuttingPlane ( bool  on,
const double  x = 0,
const double  y = 0,
const double  z = 0,
const double  dx = 0,
const double  dy = 0,
const double  dz = 1 
)
virtual
Parameters
onif true, cutting plane is enabled
xX position of plane point
yY position of plane point
zZ position of plane point
dxX coordinate of plane normal
dyY coordinate of plane normal
dzZ coordinate of plane normal

Reimplemented from OCCViewer_ViewWindow.

References myViews, and OCCViewer_ViewWindow::setCuttingPlane().

void OCCViewer_ViewFrame::setCuttingPlane ( bool  on,
const gp_Pln  thePln 
)
virtual
void OCCViewer_ViewFrame::setDropDownButtons ( bool  on)
virtual
Parameters
onnew buttons mode
See Also
dropDownButtons()

Reimplemented from SUIT_ViewWindow.

References myViews, and SUIT_ViewWindow::setDropDownButtons().

void OCCViewer_ViewFrame::setInteractionStyle ( const int  theStyle)
virtual
Parameters
theStyleinteraction style

Reimplemented from OCCViewer_ViewWindow.

References myViews, and OCCViewer_ViewWindow::setInteractionStyle().

void OCCViewer_ViewFrame::setInterocularDistance ( const int  t,
const double  v 
)
virtual
void OCCViewer_ViewFrame::setProjectionType ( int  t)
virtual
void OCCViewer_ViewFrame::setQuadBufferSupport ( const bool  t)
virtual
void OCCViewer_ViewFrame::setReverseStereo ( const bool  t)
virtual
void OCCViewer_ViewFrame::setStereographicFocus ( const int  t,
const double  v 
)
virtual
void OCCViewer_ViewFrame::setStereoType ( const int  t)
virtual
void OCCViewer_ViewFrame::setSubViewParams ( OCCViewer_ViewWindow theView)
private
void OCCViewer_ViewFrame::setViewManager ( SUIT_ViewManager theManager)
virtual

Sets new view manager for window

Parameters
theManager- new view manager

Reimplemented from SUIT_ViewWindow.

References myViews, and SUIT_ViewWindow::setViewManager().

void OCCViewer_ViewFrame::setVisualParameters ( const QString &  parameters)
virtual
void OCCViewer_ViewFrame::setVSync ( const bool  t)
virtual

Reimplemented from OCCViewer_ViewWindow.

References myViews, and OCCViewer_ViewWindow::setVSync().

void OCCViewer_ViewFrame::setZoomingStyle ( const int  theStyle)
virtual
Parameters
theStylezooming style

Reimplemented from OCCViewer_ViewWindow.

References myViews, and OCCViewer_ViewWindow::setZoomingStyle().

void OCCViewer_ViewFrame::showStaticTrihedron ( bool  on)
virtual
int OCCViewer_ViewFrame::stereographicFocusType ( ) const
virtual
double OCCViewer_ViewFrame::stereographicFocusValue ( ) const
virtual
int OCCViewer_ViewFrame::stereoType ( ) const
virtual
void OCCViewer_ViewFrame::updateEnabledDrawMode ( )
virtual
virtual void OCCViewer_ViewFrame::updateGravityCoords ( )
inlinevirtualslot
virtual int OCCViewer_ViewFrame::zoomingStyle ( ) const
inlinevirtual
Returns
zooming style

Reimplemented from OCCViewer_ViewWindow.

References OCCViewer_ViewWindow::getView(), and OCCViewer_ViewWindow::zoomingStyle().

Member Data Documentation

OCCViewer_ViewWindow* OCCViewer_ViewFrame::myActiveView
private
QGridLayout* OCCViewer_ViewFrame::myLayout
private
OCCViewer_ViewWindow* OCCViewer_ViewFrame::myMaximizedView
private
OCCViewer_ViewWindow* OCCViewer_ViewFrame::myPopupRequestedView
private
int OCCViewer_ViewFrame::mySplitMode
private
QList<OCCViewer_ViewWindow*> OCCViewer_ViewFrame::myViews
private
QList<int> OCCViewer_ViewFrame::myViewsMode
private

The documentation for this class was generated from the following files: