VR-Forces 4.8 Class Documentation
 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) 2015 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 
34  virtual void setDimensions(const DtVector& dim);
35 
37  virtual void setColor(float r,float g,float b,float a);
38 
40  virtual const DtStateVisualizer::TypeInfo& typeInfo() const;
41 
43  static const DtStateVisualizer::TypeInfo& theTypeInfo();
44 
45  protected:
47  virtual DtModelAgent* createExtentModelAgent();
48 
50  virtual void createModelAgents();
51 
53  virtual void destroyModelAgents();
54 
56  virtual void setVisualizerDefinition(const DtVisualizerDefinition& visDef);
57 
58  protected:
59  DtAttachableCuboidModelAgent* myCuboidAgent;
60  DtScribeBoxModelAgent* myScribeBox;
61  double myScribeWidth;
64  };
65 
70 }
bool myScribeEnabled
Definition: Dt3DAggregateExtentVisualizer.h:62
Contains makVrv::Dt3DAggregateExtentVisualizer class.
Definition: DtStateVisualizer.h:309
double myScribeWidth
Definition: Dt3DAggregateExtentVisualizer.h:61
Dt3DAggregateExtentVisualizer objects are responsible for displaying 3D representations of aggregate ...
Definition: Dt3DAggregateExtentVisualizer.h:21
The DtBaseConnection is an abstract class.
Definition: DtBaseConnection.h:37
DtScribeBoxModelAgent * myScribeBox
Definition: Dt3DAggregateExtentVisualizer.h:60
DtAggregateExtentVisualizer visualize bounding boxes for aggregates.
Definition: DtAggregateExtentVisualizer.h:22
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtAttachableCuboidModelAgent * myCuboidAgent
Definition: Dt3DAggregateExtentVisualizer.h:59
A definition of a visualizer.
Definition: DtVisualizerDefinition.h:22
bool mySmoothScribeLine
Definition: Dt3DAggregateExtentVisualizer.h:63
The DtStateListener is an abstract class.
Definition: DtStateListener.h:21
DtStateVisualizerCreatorTemplate< Dt3DAggregateExtentVisualizer > Dt3DAggregateExtentVisualizerCreator
Creator that will be registered with the state visualizer factory to create this class.
Definition: Dt3DAggregateExtentVisualizer.h:69
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 Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)