VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtDefaultArealFeatureVisualizer.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
12 
13 namespace makVrv
14 {
15  class DtSceneObjectAgent;
16  class DtExtrudedLineModelAgent;
17  class DtOverlaySegmentedLineModelAgent;
18 
22  {
23  public:
26 
29 
31  virtual void visualize( int modelSet );
32 
34  virtual std::vector<DtUniqueID> findSceneObjectIds() const;
35 
37  virtual void setColor(const float rgba[4]);
38 
40  virtual void setOutlineColor(const float rgba[4]);
41 
43  virtual void setHighlighted(bool highlighted);
44 
45  protected:
46 
48  virtual void create3dModels(int modelSet);
49 
51  virtual void create2dModels(int modelSet);
52 
53  void updateColor();
54 
55  protected:
56 
58  DtSceneObjectAgent* my3dAgent;
59  DtSceneObjectAgent* my2dAgent;
60 
62  DtExtrudedLineModelAgent* myExtrudedLineModel;
63 
65  DtOverlaySegmentedLineModelAgent* myOverlayModel;
66 
68  float myColor[4];
69 
70  };
71 }
72 
Definition: DtDefaultArealFeatureVisualizer.h:20
DtSceneObjectAgent * my3dAgent
Definition: DtDefaultArealFeatureVisualizer.h:58
Definition: DtArealFeatureVisualizer.h:18
bool myHighlightedFlag
Definition: DtDefaultArealFeatureVisualizer.h:67
Definition: DtArealFeature.h:17
DtSceneObjectAgent * my2dAgent
Definition: DtDefaultArealFeatureVisualizer.h:59
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtExtrudedLineModelAgent * myExtrudedLineModel
My 3D models.
Definition: DtDefaultArealFeatureVisualizer.h:62
DtOverlaySegmentedLineModelAgent * myOverlayModel
My 2D models.
Definition: DtDefaultArealFeatureVisualizer.h:65
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:70
DtDe & myDe
Definition: DtDefaultArealFeatureVisualizer.h:57
Contains makVrv::DtArealFeatureVisualizer class.

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)