9 #if !defined(Q_MOC_RUN)
17 #include <matrix/3dBoundingVolume.h>
30 class DtEntityFacadeCollection;
46 void repositionInFormation(
DtFormation* formation,
int iFrom,
int iTo);
47 void reworkAsOffsetToLeader(
DtFormation* formation);
48 void reworkOffsetsToStandAlone(
DtFormation* formation);
52 DtVector centerOfMass()
const;
53 DtVector positionOffset()
const;
54 DtVector getOriginPoint()
const;
55 double getHeadingOffset()
const;
58 void repositionInFormation(
int iFrom,
int iTo);
62 Dt3dBoundingVolume boundingVolume()
const;
63 DtVector
offset()
const {
return calculateOffset(myFormationEntry, myFormation); };
64 DtVector formationEntryOffset()
const;
65 std::vector<DtFormationNode*> dataAtLeaderPromotionId(
int i)
const;
68 void setNewOffsetFromLeader(
const DtVector&);
70 void setAllSubordinatesToTheirFormations(
const QString& formationName);
72 void repositionToFormation();
74 void setOriginAndHeading(
const DtVector&,
double heading);
77 virtual void setupFormation(
const QString& formation);
87 void updateOffsetAndHeading(
const DtVector& position,
double heading);
89 DtEntityType objectType()
const;
91 std::vector<DtFormationNode*>&
children() {
return myChildren; };
92 const std::vector<DtFormationNode*>&
children()
const {
return myChildren; };
95 int maxPromotionId()
const;
98 void offsetChildrenForDisplay(
double x,
double y);
127 virtual void setFormation(
const QString&);
129 virtual void init(
const DtEntityType&);
134 virtual void reworkOffsetsToStandAlone(
DtFormation*);
144 virtual void replaceObjectInFormation(
int iPos);
149 virtual void repositionInFormation(
DtFormation*,
int iFrom,
int iTo);
150 virtual void repositionInFormation(
int iFrom,
int iTo);
155 virtual int promotionIdAt(
int)
const;
158 virtual int numTopLevelChildren()
const;
160 virtual void createDisplayHierarchy();
165 virtual void collapseAllOneLevel();
166 virtual void expandAllOneLevel();
169 virtual bool canExpand()
const;
170 virtual bool snapToGrid()
const;
173 virtual DtVector snapToGrid(
const DtVector& local)
const;
179 virtual void setupFormation();
194 void formationModified();
197 virtual void setSnapToGrid(
bool);
210 typedef std::map<const DtVrfSubObjectParameterEntry*, makVrv::DtUniqueID>
EntryToIdMap;
DtFormationEntry; readable/writeable entry in a DtFormation.
Definition: formationEntry.h:28
voidpf uLong int origin
Definition: ioapi.h:42
DT_DLL_VRVCORE DtTaitBryan level(const DtCoordinateSystem &cs, const DtVector &localOrigin, double topoHeading)
Returns a level orientation with the topographic heading.
DtVrfSubObjectParameterList is a readable/writable list of DtVrfSubObjectParameterEntrys.
Definition: vrfSubObjectParameterList.h:21
DtVrfSubObjectParameterEntry.
Definition: vrfSubObjectParameterEntry.h:27
The DtExtent represents an axis-aligned 3d bounding box.
Definition: extent.h:43
Contains makVrv::DtVirtualBaseClass class.
Definition: vrfObjectFacadeInterface.h:53
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
This class can be a base class for any editor that wants to use the Vantage display.
Definition: editingWindow.h:45
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Will create entity facades for each realized model set and manage them all.
Definition: entityFacadeCollection.h:67
Base class to provide boost signal/slot management.
Contains the declaration of the DtExtent class.
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
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
#define DT_DLL_simulationObjectEditorimpl
This file is used to determine how to build.
Definition: simulationObjectEditorImplDefines.h:33