VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtOsgDrawModel.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtOsgDrawModel.h,v $ $Revision: 1.13 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 #include <vrvOsg/vrvOsg.h>
15 #include <vrvCore/DtDrawModel.h>
16 #include <vrvCore/DtUniqueID.h>
17 #include <matrix/vlVector.h>
18 #include <matrix/vlTaitBryan.h>
19 
20 namespace makVrv
21 {
22  class DtDe;
23  class DtOsgSceneConnector;
24 
32  {
33  public:
34  DtOsgDrawModel(DtDe& de, DtUniqueID& id);
35 
36  virtual ~DtOsgDrawModel();
37 
38  //@name Distributed Interface
40  virtual void drawLine(const DtVector& color, double lineWidth);
41 
42  virtual void setVisible(bool visible);
43  virtual void setPosition( int vtx, const DtVector& position );
44  virtual void setOrientation( int vtx, const DtTaitBryan& orientation );
45  virtual void setSolid(bool isSolid);
47 
48  //@name Local Interface
50  virtual void addToScene( const DtUniqueID& sceneObjectId, int modelSet,
51  int visualizerType );
52 
54  virtual void removeFromScene();
55 
57 
58  protected:
59  void initializeModelInstance();
60 
61  protected:
63 
64  };
65 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)