VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
computeBoundingVolumeAndSupportPoints.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 #include <matrix/vlVector.h>
13 #include <matrix/3dBoundingVolume.h>
15 
16 #include <QtWidgets/QDialog>
17 
18 class QPushButton;
19 class QLabel;
20 class QProgressBar;
21 
22 namespace makVrv
23 {
24  class DtDe;
25 }
26 
29 {
30  Q_OBJECT
31 
32 public:
33  DtComputeBoundingVolumeAndSupportPoints(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = Qt::Tool);
34  virtual ~DtComputeBoundingVolumeAndSupportPoints() override;
35 
36  virtual int exec() override;
37 
38 protected:
40  virtual void initializeEntities();
41 
42  virtual void processNextEntity();
43 
44 public:
48 
49 protected:
52 
53  struct BVSPInfo
54  {
55  DtVector left, right, other;
56  Dt3dBoundingVolume bv;
57  };
58 
59  std::map<std::string, BVSPInfo> myEntityDefinitions;
60  std::map<std::string, std::string> myEntitiesToProcess;
61 };
QPushButton * myButton
Definition: computeBoundingVolumeAndSupportPoints.h:45
Dt3dBoundingVolume bv
Definition: computeBoundingVolumeAndSupportPoints.h:56
DtVector right
Definition: computeBoundingVolumeAndSupportPoints.h:55
QLabel * myLabel
Definition: computeBoundingVolumeAndSupportPoints.h:46
std::map< std::string, std::string > myEntitiesToProcess
Definition: computeBoundingVolumeAndSupportPoints.h:60
QProgressBar * myProgressBar
Definition: computeBoundingVolumeAndSupportPoints.h:47
This class will allow editing of the assembly items that apply to rolling up assemblies.
Definition: computeBoundingVolumeAndSupportPoints.h:28
makVrv::DtModelSetId myModelSet
Definition: computeBoundingVolumeAndSupportPoints.h:51
Definition: computeBoundingVolumeAndSupportPoints.h:53
std::map< std::string, BVSPInfo > myEntityDefinitions
Definition: computeBoundingVolumeAndSupportPoints.h:59
makVrv::DtDe & myDe
Definition: computeBoundingVolumeAndSupportPoints.h:50
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
DtModelSetId
Definition: DtModelSetEnums.h:19
#define DT_DLL_simulationObjectEditorimpl
This file is used to determine how to build.
Definition: simulationObjectEditorImplDefines.h:33
Contains various enum classes relating to model sets.

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)