VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtShapeTacticalGraphicElement.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2025 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
13 
15 
16 namespace makVrv
17 {
18  class DtVertexTacticalGraphicElement;
19 
23  {
24  public:
27 
30 
33 
36 
39  public:
41  virtual const DtElementEntry::ElementType elementType() const override;
42  static const DtElementEntry::ElementType theElementType();
43 
50  virtual void visualize( const DtSharedModelSetSettings::ModelSetVisualizedMap& sets ) override;
51 
55  virtual void setVertexElementDefinition( DtUnicode definition );
56  virtual DtUnicode vertexElementDefinition();
58 
60  virtual DtVertexTacticalGraphicElement* findVertexElement( const DtElementID id ) const;
61 
63  virtual DtVertexTacticalGraphicElement* vertexElement( unsigned int index ) const;
64 
67  virtual const std::vector< DtVertexTacticalGraphicElement* >& vertexElements() const;
68  virtual std::vector< DtVertexTacticalGraphicElement* >& vertexElements();
70  protected:
72  virtual void slot_vertexListUpdated(
74 
78  virtual void slot_vertexAdded( );
79 
81  virtual void slot_vertexRemoved( int );
82 
84  virtual void slot_vertexInserted( int );
85 
88  virtual DtVertexTacticalGraphicElement* addVertexElement( int iIndex );
89  virtual void removeVertexElement( int iIndex );
91 
93  virtual DtEnvironmentalKinematicState* createKinState() override;
94  public:
95  std::vector< DtVertexTacticalGraphicElement* > myVertexElements;
98  };
99 
101 }
102 
A single Shape tactical graphic element. Examples of this would be an area or line. This class creates and manages DtVertexTacticalGraphicElements.
Definition: DtShapeTacticalGraphicElement.h:22
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
std::vector< DtVector > VertexList
Definition: DtEnvironmentalStateListener.h:33
Contains makVrv::DtTacticalGraphicElement class.
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:23
Definition: DtElement.h:277
A single vertex tactical graphic element. This element requires its own kinematic state object...
Definition: DtVertexTacticalGraphicElement.h:25
The DtBaseConnection is an abstract class.
Definition: DtBaseConnection.h:35
DtEnvironmentalKinematicState Controls kinematic state of a scene object. This class has no accessors...
Definition: DtEnvironmentalKinematicState.h:34
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
ElementType
Definition: DtElementEntry.h:26
A single tactical graphic element. A tactical graphic element may be visualized using multiple visual...
Definition: DtTacticalGraphicElement.h:35
std::map< DtModelSetId, bool > ModelSetVisualizedMap
Definition: DtSharedModelSetSettings.h:28
The DtStateListener is an abstract class. Subclasses implement functionality that will allow data to ...
Definition: DtStateListener.h:26
DtUnicode myVertexElementDefinition
Definition: DtShapeTacticalGraphicElement.h:96
bool myVertexSignalsConnected
Definition: DtShapeTacticalGraphicElement.h:97
std::vector< DtVertexTacticalGraphicElement * > myVertexElements
Definition: DtShapeTacticalGraphicElement.h:95
Contains DLL export macros.

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)