NDEVR
API Documentation
CADApplicationManager.h
1#pragma once
2#include "DLLInfo.h"
3#include <NDEVR/File.h>
4#include <NDEVR/DXFFactory.h>
5namespace NDEVR
6{
7 class QTModelManager;
9 class Button;
14 class NDEVR_CAD_INTERFACE_API CADApplicationManager
15 {
16 public:
19 CADApplicationManager(QTModelManager* manager);
22 void setCADLauncher(const File& f);
25 ApplicationLauncherButtonManager* createAppLauncher();
28 bool hasActiveInstallation();
31 void setWriteCameras(bool write_cameras);
34 Button* createCameraLauncherButton();
37 Button* createTopDownLauncherButton();
39 void setupForCAD();
43 static File FindCADApp(String& app_name);
44 protected:
45 String m_app_name;
46 File m_cad_launcher;
47 File m_active_dxf;
48 DXFFactory m_factory;
49 File m_dxf_folder;
50 Time m_dxf_last_modified_time;
51 ApplicationLauncherButtonManager* m_cad_button_manager;
52 QTModelManager* m_manager;
53 bool m_write_cameras = false;
54 };
55}
Creates a button for launching a 3rd party application.
A core widget that allows the user to click one of many button types.
Definition Button.h:68
A wrapper around DesignObjectLookup that provides signal and slot functionality and adds rendering ca...
The primary namespace for the NDEVR SDK.