VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsg3DTextModel.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtOsg3DTextModel.h,v $ $Revision: 1.13 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 #include <vrvOsg/vrvOsg.h>
15 #include <vrvCore/Dt3DTextModel.h>
16 #include <vrvCore/DtUniqueID.h>
17 
18 namespace osg
19 {
20  class Group;
21 }
22 
23 namespace makVrv
24 {
25  class DtDe;
26  class DtOsgSceneConnector;
27  class Dt3DTextModelInstance;
28 
33  {
34  public:
36 
37  virtual ~DtOsg3DTextModel();
38 
39  //@name Distributed Interface
41  virtual void setVisible(bool visible);
42  virtual void setPosition( int vtx, const DtVector& position );
43  virtual void setOrientation( int vtx, const DtTaitBryan& orientation );
44 
45  virtual void setColor( float r, float g, float b, float a );
46  virtual void setFont( const std::string& fontName );
47  virtual void setFontSize( double size );
48  virtual void setText( const std::string& text );
49 
50  virtual void setModelDefinition(const std::string& modelDefinition);
51 
55  virtual void setIsSupportModel(bool isSupport);
57 
58  protected:
59 
60  //@name Local Interface
62  virtual void addToScene( const DtUniqueID& sceneObjectId, int modelSet,
63  int visualizerType );
64  virtual void removeFromScene();
65 
66  virtual void setModelInstance(DtModelInstance* modelInstance );
68 
69  protected:
72 
73  };
74 }

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)