VR-Forces 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:
25 
28  DtSceneObjectAgent* sceneObject, DtModelSetId modelSet );
29 
32 
35 
38 
41 
42  public:
45  virtual void setDimensions(const DtVector& dim);
46 
48  virtual void setColor(float r,float g,float b,float a);
49 
51  virtual const DtStateVisualizer::TypeInfo& typeInfo() const;
52 
54  static const DtStateVisualizer::TypeInfo& theTypeInfo();
55 
56  protected:
58  virtual DtModelAgent* createExtentModelAgent();
59 
61  virtual void createModelAgents();
62 
64  virtual void destroyModelAgents();
65 
68  virtual void setInitialValuesFromVisualizerDefinition() override;
69 
70  protected:
71  DtAttachableCuboidModelAgent* myCuboidAgent;
72  DtScribeBoxModelAgent* myScribeBox;
73  double myScribeWidth;
76  };
77 
82 }
bool myScribeEnabled
Definition: Dt3DAggregateExtentVisualizer.h:74
Contains makVrv::Dt3DAggregateExtentVisualizer class.
Definition: DtStateVisualizer.h:274
double myScribeWidth
Definition: Dt3DAggregateExtentVisualizer.h:73
Dt3DAggregateExtentVisualizer objects are responsible for displaying 3D representations of aggregate ...
Definition: Dt3DAggregateExtentVisualizer.h:21
The DtBaseConnection is an abstract class.
Definition: DtBaseConnection.h:35
DtScribeBoxModelAgent * myScribeBox
Definition: Dt3DAggregateExtentVisualizer.h:72
DtAggregateExtentVisualizer visualize bounding boxes for aggregates.
Definition: DtAggregateExtentVisualizer.h:25
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtAttachableCuboidModelAgent * myCuboidAgent
Definition: Dt3DAggregateExtentVisualizer.h:71
bool mySmoothScribeLine
Definition: Dt3DAggregateExtentVisualizer.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
DtStateVisualizerCreatorTemplate< Dt3DAggregateExtentVisualizer > Dt3DAggregateExtentVisualizerCreator
Creator that will be registered with the state visualizer factory to create this class.
Definition: Dt3DAggregateExtentVisualizer.h:81
Struct to hold metadata about each functional visualizer type This allows users of the factory to get...
Definition: DtStateVisualizer.h:54

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)