VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Dt2DAggregateExtentVisualizer.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2021 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
14 
15 namespace makVrv
16 {
17  class DtOverlayRectangleModelAgent;
18 
24  {
25  public:
28  DtStateListener& listener, int modelSet);
29 
32  DtStateListener& listener, DtSceneObjectAgent* sceneObject, int modelSet );
33 
36 
39 
42 
45 
46  public:
47 
50  virtual void setDimensions(const DtVector& dim);
51 
53  virtual void setColor(float r,float g,float b,float a);
54 
56  virtual const DtStateVisualizer::TypeInfo& typeInfo() const;
57 
59  static const DtStateVisualizer::TypeInfo& theTypeInfo();
60 
61  protected:
63  virtual DtModelAgent* createExtentModelAgent();
64 
66  virtual void createModelAgents();
67 
69  virtual void destroyModelAgents();
70 
73  virtual void setInitialValuesFromVisualizerDefinition() override;
74 
75  protected:
76  DtOverlayRectangleModelAgent* myPolygonAgent;
77 
79  bool myFill;
80  };
81 
86 }
Contains makVrv::Dt3DAggregateExtentVisualizer class.
Definition: DtStateVisualizer.h:305
Dt2DAggregateExtentVisualizers display bounding boxes for aggregates on the overlay.
Definition: Dt2DAggregateExtentVisualizer.h:22
The DtBaseConnection is an abstract class.
Definition: DtBaseConnection.h:38
DtAggregateExtentVisualizer visualize bounding boxes for aggregates.
Definition: DtAggregateExtentVisualizer.h:25
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtOverlayRectangleModelAgent * myPolygonAgent
Definition: Dt2DAggregateExtentVisualizer.h:76
float myOutlineWidth
Definition: Dt2DAggregateExtentVisualizer.h:78
DtStateVisualizerCreatorTemplate< Dt2DAggregateExtentVisualizer > Dt2DAggregateExtentVisualizerCreator
Creator that will be registered with the state visualizer factory to create this class.
Definition: Dt2DAggregateExtentVisualizer.h:85
bool myFill
Definition: Dt2DAggregateExtentVisualizer.h:79
The DtStateListener is an abstract class. Subclasses implement functionality that will allow data to ...
Definition: DtStateListener.h:25
Struct to hold metadata about each functional visualizer type This allows users of the factory to get...
Definition: DtStateVisualizer.h:56
Contains DLL export macros.

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)