Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
OCCViewer_ViewModel.cxx File Reference
#include "OCCViewer_ViewModel.h"
#include "OCCViewer.h"
#include "OCCViewer_ViewWindow.h"
#include "OCCViewer_ViewFrame.h"
#include "OCCViewer_VService.h"
#include "OCCViewer_ViewPort3d.h"
#include "OCCViewer_ClippingDlg.h"
#include "OCCViewer_Utilities.h"
#include "SUIT_ViewWindow.h"
#include "SUIT_ViewManager.h"
#include "SUIT_Desktop.h"
#include "SUIT_Session.h"
#include "SUIT_ResourceMgr.h"
#include "ViewerData_AISShape.hxx"
#include <Basics_OCCTVersion.hxx>
#include "QtxActionToolMgr.h"
#include "QtxBackgroundTool.h"
#include <QPainter>
#include <QApplication>
#include <QColorDialog>
#include <QFileDialog>
#include <QPalette>
#include <QKeyEvent>
#include <QMenu>
#include <QMouseEvent>
#include <QToolBar>
#include <QDesktopWidget>
#include <AIS_Axis.hxx>
#include <AIS_Drawer.hxx>
#include <AIS_ListIteratorOfListOfInteractive.hxx>
#include <Graphic3d_Texture2Dmanual.hxx>
#include <Graphic3d_MaterialAspect.hxx>
#include <Graphic3d_TextureParams.hxx>
#include <Geom_Axis2Placement.hxx>
#include <Prs3d_Drawer.hxx>
#include <Prs3d_DatumAspect.hxx>
#include <Prs3d_LineAspect.hxx>
#include <Prs3d_TextAspect.hxx>
#include <V3d_DirectionalLight.hxx>
#include <V3d_AmbientLight.hxx>
#include <Visual3d_View.hxx>

Functions

 Handle (Graphic3d_Texture2Dmanual) initClippingTexture(const bool isDefault = new Graphic3d_Texture2Dmanual( aPixmap )
 
QPixmap px (aTextureFile)
 
const Handle (Image_PixMap) aPixmap
 
 if (aTexture->IsDone())
 
 Handle (Graphic3d_ClipPlane) OCCViewer_Viewer
 

Variables

const QString & theTexture
 
const QString const bool isModulate
 
const QString const bool const
double theScale QString 
aTextureFile = isDefault ? ":images/hatch.png" : theTexture
 
return aTexture
 

Function Documentation

Handle ( Graphic3d_Texture2Dmanual  ) const = new Graphic3d_Texture2Dmanual( aPixmap )
const Handle ( Image_PixMap  )

References Handle().

if ( aTexture->  IsDone())

References aTexture.

QPixmap px ( aTextureFile  )

Variable Documentation

return aTexture
const QString const bool const double theScale QString aTextureFile = isDefault ? ":images/hatch.png" : theTexture
const QString const bool isModulate
const QString& theTexture