VR-Forces 4.1 Class Documentation
Dt3DEntityExtentVisualizer.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2012 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: Dt3DEntityExtentVisualizer.h,v $ $Revision: 1.1 $ $State: Exp $
7 *********************************************************************/
11 
12 #pragma once
13 
14 #include <vrfGuiCore/vrfGuiCore.h>
16 
17 namespace makVrv
18 {
19  class DtAttachableCuboidModelAgent;
20  class DtScribeBoxModelAgent;
21 }
22 
23 namespace makVrf
24 {
30  {
31  public:
34  makVrv::DtStateListener& listener, int modelSet);
35 
37  virtual ~Dt3DEntityExtentVisualizer();
38 
41  virtual void setDimensions(const DtVector& dim);
42 
44  virtual void setColor(float r,float g,float b,float a);
45 
47  virtual const makVrv::DtStateVisualizer::TypeInfo& typeInfo() const;
48 
50  static const makVrv::DtStateVisualizer::TypeInfo& theTypeInfo();
51 
53  static const makVrv::DtVisualizerSchema& theDt3DEntityExtentSchema();
54 
55  protected:
57  virtual makVrv::DtModelAgent* createExtentModelAgent();
58 
60  virtual void createModelAgents();
61 
63  virtual void destroyModelAgents();
64 
66  virtual void setVisualizerDefinition(const makVrv::DtVisualizerDefinition& visDef);
67 
68  protected:
69  makVrv::DtAttachableCuboidModelAgent* myCuboidAgent;
70  makVrv::DtScribeBoxModelAgent* myScribeBox;
71  double myScribeWidth;
75  };
76 
79 }

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)