20 #ifndef OCCVIEWER_UTILITIES_H
21 #define OCCVIEWER_UTILITIES_H
28 #include <Image_PixMap.hxx>
34 #pragma warning ( disable:4251 )
46 static Handle(Image_PixMap) imageToPixmap(
const QImage& theImage );
72 static bool computeVisibleBounds(
const Handle(V3d_View) theView,
double theBounds[6] );
82 static bool computeVisibleBBCenter(
const Handle(V3d_View) theView,
double& theX,
double& theY,
double& theZ );
84 static bool computeSceneBBCenter(
const Handle(V3d_View) theView,
double& theX,
double& theY,
double& theZ );
Handle(TDocStd_Application) CAF_Application
Get OCAF application.
Definition: CAF_Application.cxx:97
#define OCCVIEWER_EXPORT
Definition: OCCViewer.h:33
Definition: OCCViewer_Utilities.h:38
static Handle(Image_PixMap) imageToPixmap(const QImage &theImage)
Definition: OCCViewer_ViewWindow.h:147
Mode2dType
Definition: OCCViewer_ViewWindow.h:175
Definition: OCCViewer_ViewModel.h:77