VR-Forces 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, DtSceneObjectAgent* sceneObject, DtModelSetId modelSet );
29 
32 
35 
38 
41 
42  public:
43 
46  virtual void setDimensions(const DtVector& dim);
47 
49  virtual void setColor(float r,float g,float b,float a);
50 
52  virtual const DtStateVisualizer::TypeInfo& typeInfo() const;
53 
55  static const DtStateVisualizer::TypeInfo& theTypeInfo();
56 
57  protected:
59  virtual DtModelAgent* createExtentModelAgent();
60 
62  virtual void createModelAgents();
63 
65  virtual void destroyModelAgents();
66 
69  virtual void setInitialValuesFromVisualizerDefinition() override;
70 
71  protected:
72  DtOverlayRectangleModelAgent* myPolygonAgent;
73 
75  bool myFill;
76  };
77 
82 }
Contains makVrv::Dt3DAggregateExtentVisualizer class.
Definition: DtStateVisualizer.h:274
Dt2DAggregateExtentVisualizers display bounding boxes for aggregates on the overlay.
Definition: Dt2DAggregateExtentVisualizer.h:22
The DtBaseConnection is an abstract class.
Definition: DtBaseConnection.h:35
DtAggregateExtentVisualizer visualize bounding boxes for aggregates.
Definition: DtAggregateExtentVisualizer.h:25
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtOverlayRectangleModelAgent * myPolygonAgent
Definition: Dt2DAggregateExtentVisualizer.h:72
float myOutlineWidth
Definition: Dt2DAggregateExtentVisualizer.h:74
DtStateVisualizerCreatorTemplate< Dt2DAggregateExtentVisualizer > Dt2DAggregateExtentVisualizerCreator
Creator that will be registered with the state visualizer factory to create this class.
Definition: Dt2DAggregateExtentVisualizer.h:81
bool myFill
Definition: Dt2DAggregateExtentVisualizer.h:75
DtModelSetId
Definition: DtModelSetEnums.h:19
The DtStateListener is an abstract class. Subclasses implement functionality that will allow data to ...
Definition: DtStateListener.h:26
Struct to hold metadata about each functional visualizer type This allows users of the factory to get...
Definition: DtStateVisualizer.h:54
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)