VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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 
9 
10 #pragma once
11 #include <vrvOsg/vrvOsg.h>
12 #include <vrvCore/DtDrawModel.h>
13 #include <vrvCore/DtUniqueID.h>
14 #include <matrix/vlVector.h>
15 #include <matrix/vlTaitBryan.h>
16 
17 namespace makVrv
18 {
19  class DtDe;
20  class DtOsgSceneConnector;
21 
29  {
30  public:
31  DtOsgDrawModel(DtDe& de, DtUniqueID& id);
32 
33  virtual ~DtOsgDrawModel();
34 
35  //@name Distributed Interface
37  virtual void drawLine(const DtVector& color, double lineWidth);
38 
39  virtual void setVisible(bool visible);
40  virtual void setPosition( int vtx, const DtVector& position );
41  virtual void setOrientation( int vtx, const DtTaitBryan& orientation );
42  virtual void setIsSupportModel(bool isSupport);
44 
45  //@name Local Interface
47  virtual void addToScene( const DtUniqueID& sceneObjectId, int modelSet,
48  int visualizerType );
49 
51  virtual void removeFromScene();
52 
54 
55  protected:
56  void initializeModelInstance();
57 
58  protected:
60 
61  };
62 }
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
DtOsgSceneConnector is used by models to create an OSG position/orientation transform so that it can ...
Definition: DtOsgSceneConnector.h:76
DtOsgSceneConnector * mySceneConnector
Definition: DtOsgDrawModel.h:59
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Contains makVrv::DtUniqueID type.
Contains DLL export macros.
This is a realization of DtDrawModel.
Definition: DtOsgDrawModel.h:28
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
This is the abstract interface for a model class that is used to create attachable line objects...
Definition: DtDrawModel.h:20
Distributed model for drawing shapes.

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)