VR-Forces 4.10 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 
9 
10 #pragma once
13 
14 #include <matrix/vlVector.h>
15 
16 namespace makVrv
17 {
18 
19  class DtAttachableCuboidModelAgent;
20  class DtCylinderModelAgent;
21  class DtEllipsoidArcModelAgent;
22  class DtOverlayPolygonModelAgent;
23  class DtSceneObjectAgent;
24 
29  {
30  public:
32 
34 
36  virtual void visualize( int modelSet );
37 
39  virtual std::vector<DtUniqueID> findSceneObjectIds() const;
40 
42  virtual void setColor(const float rgba[4]);
43 
45  virtual void setOutlineColor(const float rgba[4]);
46 
48  virtual void setHighlighted(bool highlighted);
49 
50  protected:
51 
53  void updatePosition(const DtVector& position);
54 
56  void create3dModels(int modelSet);
57 
59  void create2dModels(int modelSet);
60 
61  void updateHighlights();
62 
63  protected:
64 
66 
68  float myOutlineColor[4];
69 
71  DtSceneObjectAgent* my3dAgent;
72  DtSceneObjectAgent* my2dAgent;
73 
75  DtEllipsoidArcModelAgent* mySphereModel;
76  DtAttachableCuboidModelAgent* myCubeModel;
77  DtCylinderModelAgent* myCylinderModel;
78 
80  DtOverlayPolygonModelAgent* my2dOutlinePolygon;
81  DtOverlayPolygonModelAgent* my2dFilledPolygon;
82  };
83 
84 }
85 
The default visualization of Point features.
Definition: DtDefaultPointFeatureVisualizer.h:28
DtSceneObjectAgent * my2dAgent
Definition: DtDefaultPointFeatureVisualizer.h:72
DtOverlayPolygonModelAgent * my2dFilledPolygon
Definition: DtDefaultPointFeatureVisualizer.h:81
DtSignalConnectionManager myConnections
Definition: DtDefaultPointFeatureVisualizer.h:70
DtCylinderModelAgent * myCylinderModel
Definition: DtDefaultPointFeatureVisualizer.h:77
DtAttachableCuboidModelAgent * myCubeModel
Definition: DtDefaultPointFeatureVisualizer.h:76
The point feature is a feature that describes a single location.
Definition: DtPointFeature.h:20
DtEllipsoidArcModelAgent * mySphereModel
My 3D models.
Definition: DtDefaultPointFeatureVisualizer.h:75
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtOverlayPolygonModelAgent * my2dOutlinePolygon
My 2D models.
Definition: DtDefaultPointFeatureVisualizer.h:80
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
bool myHighlightedFlag
Definition: DtDefaultPointFeatureVisualizer.h:67
The point feature visualizer is an abstract class which defines the interface for visualizing a point...
Definition: DtPointFeatureVisualizer.h:21
Contains makVrv::DtPointFeatureVisualizer class.
Base class to provide boost signal/slot management.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtSceneObjectAgent * my3dAgent
Definition: DtDefaultPointFeatureVisualizer.h:71
DtDe & myDe
Definition: DtDefaultPointFeatureVisualizer.h:65

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)