Version: 9.12.0
OCCViewer_ViewPort3d.cxx File Reference
#include "OCCViewer_ViewPort3d.h"
#include "OCCViewer_VService.h"
#include "OCCViewer_ViewWindow.h"
#include "OCCViewer_ViewModel.h"
#include <SUIT_ViewManager.h>
#include <SUIT_ViewModel.h>
#include <SUIT_Session.h>
#include <SUIT_ResourceMgr.h>
#include <QColor>
#include <QFileInfo>
#include <QString>
#include <QRect>
#include <QPaintEvent>
#include <QResizeEvent>
#include <QApplication>
#include <QTimer>
#include <QDateTime>
#include <gp_Quaternion.hxx>
#include <V3d_View.hxx>
#include "utilities.h"

Functions

 Handle (V3d_View) OCCViewer_ViewPort3d
 

Variables

static double rx = 0.
 
static double ry = 0.
 
static int sx = 0
 
static int sy = 0
 
static Standard_Boolean zRotation = Standard_False
 

Function Documentation

◆ Handle()

Handle ( V3d_View  )

Sets new CASCADE view on viewport. Returns the previous active view. [ public ]

Returns CasCade 3D view. [ public ]

Returns CasCade 3D viewer [ public ]

Syncronizes visual state of this viewport with 'ref' ( scale, projection, eye etc ) Returns 'true' if copied OK, 'false' otherwise. [ virtual public ]

Returns the current active view. [ private ]

Returns the current inactive view [ private ]

Returns 'true' if the given view is mapped to window. [ private ]

Performs synchronization of view parameters with the specified view. Returns true if synchronization is done successfully or false otherwise. Default implementation does nothing (return false)

References OCCViewer_ViewPort3d::Handle(), and OCCViewer_ViewPort3d::mapView().

Variable Documentation

◆ rx

double rx = 0.
static

◆ ry

double ry = 0.
static

◆ sx

int sx = 0
static

◆ sy

int sy = 0
static

◆ zRotation

Standard_Boolean zRotation = Standard_False
static