VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Dt3DAggregateExtentVisualizer.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
12 
13 namespace makVrv
14 {
15  class DtAttachableCuboidModelAgent;
16  class DtScribeBoxModelAgent;
17 
23  {
24  public:
27  DtStateListener& listener, int modelSet);
28 
31  DtSceneObjectAgent* sceneObject, int modelSet );
32 
35 
38 
41 
44 
45  public:
48  virtual void setDimensions(const DtVector& dim);
49 
51  virtual void setColor(float r,float g,float b,float a);
52 
54  virtual const DtStateVisualizer::TypeInfo& typeInfo() const;
55 
57  static const DtStateVisualizer::TypeInfo& theTypeInfo();
58 
59  protected:
61  virtual DtModelAgent* createExtentModelAgent();
62 
64  virtual void createModelAgents();
65 
67  virtual void destroyModelAgents();
68 
71  virtual void setInitialValuesFromVisualizerDefinition() override;
72 
73  protected:
74  DtAttachableCuboidModelAgent* myCuboidAgent;
75  DtScribeBoxModelAgent* myScribeBox;
76  double myScribeWidth;
79  };
80 
85 }
bool myScribeEnabled
Definition: Dt3DAggregateExtentVisualizer.h:77
Contains makVrv::Dt3DAggregateExtentVisualizer class.
Definition: DtStateVisualizer.h:305
double myScribeWidth
Definition: Dt3DAggregateExtentVisualizer.h:76
Dt3DAggregateExtentVisualizer objects are responsible for displaying 3D representations of aggregate ...
Definition: Dt3DAggregateExtentVisualizer.h:21
The DtBaseConnection is an abstract class.
Definition: DtBaseConnection.h:38
DtScribeBoxModelAgent * myScribeBox
Definition: Dt3DAggregateExtentVisualizer.h:75
DtAggregateExtentVisualizer visualize bounding boxes for aggregates.
Definition: DtAggregateExtentVisualizer.h:25
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtAttachableCuboidModelAgent * myCuboidAgent
Definition: Dt3DAggregateExtentVisualizer.h:74
bool mySmoothScribeLine
Definition: Dt3DAggregateExtentVisualizer.h:78
The DtStateListener is an abstract class. Subclasses implement functionality that will allow data to ...
Definition: DtStateListener.h:25
DtStateVisualizerCreatorTemplate< Dt3DAggregateExtentVisualizer > Dt3DAggregateExtentVisualizerCreator
Creator that will be registered with the state visualizer factory to create this class.
Definition: Dt3DAggregateExtentVisualizer.h:84
Struct to hold metadata about each functional visualizer type This allows users of the factory to get...
Definition: DtStateVisualizer.h:56

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)