VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgRectangularPyramidModel.h
Go to the documentation of this file.
1 /*****************************************************************************
2 * Copyright (c) 2015 MAK Technologies, Inc.
3 * All rights reserved.
4 *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
15 
16 namespace makVrv
17 {
18  class DtOsgSceneConnector;
19 }
20 
21 namespace makVrv
22 {
23 
28  {
29  public:
30 
34 
37 
38  // @name Inherited DtModel methods
39  // @{
40 
43  virtual const std::string& className() const;
44 
48  virtual void addToScene( const makVrv::DtUniqueID& sceneObjectId,
49  int modelSet, int visualizerType );
50 
54  virtual void removeFromScene();
55 
61  virtual void setModelDefinition( const std::string& str );
62 
68  virtual void setPosition( int vtx, const DtVector& position );
69 
75  virtual void setOrientation( int vtx, const DtTaitBryan& orientation );
76 
78 
79  // @name Inherited DtGpsAccuracyModel methods
80  // @{
81 
87  virtual void setRelativePosition( double x, double y, double z );
88 
94  virtual void setRelativeOrientation( const DtTaitBryan& ori );
95 
98  virtual void setSize( double slantHeight );
99 
106  virtual void setColor( float r, float g, float b, float a );
107 
114  virtual void setInnerColor( float r, float g, float b, float a );
115 
122  virtual void setOuterColor( float r, float g, float b, float a );
123 
126  virtual void setXHalfAngle( double xHalfAngle );
127 
130  virtual void setYHalfAngle( double yHalfAngle );
131 
136  virtual void setShowLines( bool showLines );
137 
142  virtual void setLinesHaveAlpha( bool lineAlpha );
143 
147  virtual void setIsSupportModel(bool isSupport);
148 
150 
151  protected:
153  virtual void update();
154 
156  virtual void needsUpdate();
157 
158  protected:
159 
165  };
166 
167 }
DtVector myRelativePosition
Definition: DtOsgRectangularPyramidModel.h:163
bool myNeedsUpdate
Definition: DtOsgRectangularPyramidModel.h:164
DtUniqueID myTargetObjectId
Definition: DtOsgRectangularPyramidModel.h:161
OSG implementation of the DtRectangularPyramidModel.
Definition: DtOsgRectangularPyramidModel.h:26
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Contains the DtRectangularPyramidModel class declaration.
DtOsgSceneConnector is used by models to create an OSG position/orientation transform so that it can ...
Definition: DtOsgSceneConnector.h:76
makVrv::DtOsgSceneConnector * mySceneConnector
Definition: DtOsgRectangularPyramidModel.h:160
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
DtUniqueID myHostObjectId
Definition: DtOsgRectangularPyramidModel.h:162
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
Distributed model for visualizing synthetic aperture sensors.
Definition: DtRectangularPyramidModel.h:21

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)