VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
artPartUtils.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <vlpi/disEnums.h>
12 #include <matrix/vlDcm.h>
13 #include <matrix/vlVector.h>
14 #include <vrfutil/vrfutilDefines.h>
15 #include <set>
16 
17 typedef std::set<DtArtPartType> DtArtPartTypeSet;
18 
21 {
22 public:
23 
25 
26  static bool isGunPart(DtArtPartType partType);
27  static bool isTurretPart(DtArtPartType partType);
28  static bool isLauncherPart(DtArtPartType partType);
29  static bool isDefenseSystemPart(DtArtPartType partType);
30  static bool isRadarPart(DtArtPartType partType);
31  static bool isCargoDoorPart(DtArtPartType partType);
32  static bool isGimbaledSensorAzimuthPart(DtArtPartType partType);
33  static bool isGimbaledSensorElevationPart(DtArtPartType partType);
35 
37 
38  static const DtArtPartTypeSet& gunParts();
39  static const DtArtPartTypeSet& turretParts();
40  static const DtArtPartTypeSet& launcherParts();
41  static const DtArtPartTypeSet& defenseSystemParts();
42  static const DtArtPartTypeSet& radarParts();
43  static const DtArtPartTypeSet& cargoDoorParts();
44  static const DtArtPartTypeSet& gimbaledSensorAzimuthParts();
45  static const DtArtPartTypeSet& gimbaledSensorElevationParts();
47 
49 
50  static void setGunParts(const DtArtPartTypeSet& parts);
51  static void setTurretParts(const DtArtPartTypeSet& parts);
52  static void setLauncherParts(const DtArtPartTypeSet& parts);
53  static void setDefenseSystemParts(const DtArtPartTypeSet& parts);
54  static void setRadarParts(const DtArtPartTypeSet& parts);
55  static void setCargoDoorParts(const DtArtPartTypeSet& parts);
56  static void setGimbaledSensorAzimuthParts(const DtArtPartTypeSet& parts);
57  static void setGimbaledSensorElevationParts(const DtArtPartTypeSet& parts);
59 
60 protected:
61 
70 
71 private:
72 
76 
77 };
Contains convenience functions for articulated parts.
Definition: artPartUtils.h:20
static DtArtPartTypeSet theDefenseSystemParts
Definition: artPartUtils.h:65
std::set< DtArtPartType > DtArtPartTypeSet
Definition: artPartUtils.h:17
static DtArtPartTypeSet theGimbaledSensorAzimuthParts
Definition: artPartUtils.h:68
static DtArtPartTypeSet theCargoDoorParts
Definition: artPartUtils.h:67
static DtArtPartTypeSet theTurretParts
Definition: artPartUtils.h:63
static DtArtPartTypeSet theGimbaledSensorElevationParts
Definition: artPartUtils.h:69
static DtArtPartTypeSet theGunParts
Definition: artPartUtils.h:62
static DtArtPartTypeSet theLauncherParts
Definition: artPartUtils.h:64
static DtArtPartTypeSet theRadarParts
Definition: artPartUtils.h:66
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfutilDefines.h:34

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)