VR-Forces 4.6 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 

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)