VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgProjectedTextModel.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtOsgProjectedTextModel.h,v $ $Revision: 1.13 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtOsgAttachableProjectedTextModel_H_
14 #define DtOsgAttachableProjectedTextModel_H_
15 
16 #include <vrvOsg/vrvOsg.h>
18 #include <vrvCore/DtUniqueID.h>
19 #include <matrix/vlVector.h>
20 
21 namespace osg
22 {
23  class Group;
24 }
25 
26 namespace makVrv
27 {
28  class DtDe;
29  class DtProjectedTextModelInstance;
30  class DtOsgSceneConnector;
31 
36  : public DtProjectedTextModel
37  {
38  public:
40 
41  virtual ~DtOsgProjectedTextModel();
42 
43  //@name Distributed Interface
45  virtual void setPosition( int vtx, const DtVector& position );
46  virtual void setOrientation( int vtx, const DtTaitBryan& orientation );
47 
48  virtual void setColor( const DtVector& rgbColor );
49  virtual void setFontName( const std::string& fontName );
50  virtual void setFontSize( double size );
51  virtual void setText( const std::string& text );
52  virtual void setVisible(bool isVisible);
53  virtual void setIsSupportModel(bool isSupport);
55 
56  protected:
57 
58  //@name Local Interface
60  virtual void addToScene( const DtUniqueID& sceneObjectId, int modelSet,
61  int visualizerType );
62  virtual void removeFromScene();
64 
65  protected:
66  virtual void createModelInstance();
67 
68  protected:
69  // casting avoidance
72  };
73 }
74 
75 #endif
76 
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
DtProjectedTextModel is the abstract interface for a model class for creating attachable projected te...
Definition: DtProjectedTextModel.h:26
voidpf void uLong size
Definition: ioapi.h:39
DtOsgSceneConnector is used by models to create an OSG position/orientation transform so that it can ...
Definition: DtOsgSceneConnector.h:76
DtOsgProjectedTextModel is a model class for creating attachable projected text.
Definition: DtOsgProjectedTextModel.h:35
unsigned long long DtUniqueID
Definition: DtUniqueID.h:22
DtProjectedTextModelInstance * myTextInstance
Definition: DtOsgProjectedTextModel.h:70
DtOsgSceneConnector * mySceneConnector
Definition: DtOsgProjectedTextModel.h:71
Contains makVrv::DtUniqueID type.
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
Distributed model for drawing shapes.
OSG-specific instance of an attachable, projected text model (as used for HAT lines) ...
Definition: DtProjectedTextModelInstance.h:33

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)