VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtDefaultPointFeatureVisualizer.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: $ $Revision: $ $State: $
7 ******************************************************************************/
8 
12 
13 #pragma once
16 
17 #include <matrix/vlVector.h>
18 
19 namespace makVrv
20 {
21 
22  class DtAttachableCuboidModelAgent;
23  class DtCylinderModelAgent;
24  class DtEllipsoidArcModelAgent;
25  class DtOverlayPolygonModelAgent;
26  class DtSceneObjectAgent;
27 
32  {
33  public:
35 
37 
39  virtual void visualize( int modelSet );
40 
42  virtual std::vector<DtUniqueID> findSceneObjectIds() const;
43 
45  virtual void setColor(const float rgba[4]);
46 
48  virtual void setOutlineColor(const float rgba[4]);
49 
51  virtual void setHighlighted(bool highlighted);
52 
53  protected:
54 
56  void updatePosition(const DtVector& position);
57 
59  void create3dModels(int modelSet);
60 
62  void create2dModels(int modelSet);
63 
64  void updateHighlights();
65 
66  protected:
67 
69 
71  float myOutlineColor[4];
72 
74  DtSceneObjectAgent* my3dAgent;
75  DtSceneObjectAgent* my2dAgent;
76 
78  DtEllipsoidArcModelAgent* mySphereModel;
79  DtAttachableCuboidModelAgent* myCubeModel;
80  DtCylinderModelAgent* myCylinderModel;
81 
83  DtOverlayPolygonModelAgent* my2dOutlinePolygon;
84  DtOverlayPolygonModelAgent* my2dFilledPolygon;
85  };
86 
87 }
88 

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)