VR-Forces Developer's Guide
 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) 2023 MAK Technologies, Inc.
3 * All rights reserved.
4 *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
15 #include <vrvUtil/signalslib.h>
16 
17 namespace makVrv
18 {
19  class DtOsgSceneConnector;
20 }
21 
22 namespace makVrv
23 {
24 
29  {
30  public:
31 
35 
38 
39  // @name Inherited DtModel methods
40  // @{
41 
44  virtual const std::string& className() const;
45 
49  virtual void addToScene( const makVrv::DtUniqueID& sceneObjectId,
50  DtModelSetId modelSet, int visualizerType );
51 
55  virtual void removeFromScene();
56 
62  virtual void setModelDefinition( const std::string& str );
63 
69  virtual void setPosition( int vtx, const DtVector& position );
70 
76  virtual void setOrientation( int vtx, const DtTaitBryan& orientation );
77 
79 
80  // @name Inherited DtGpsAccuracyModel methods
81  // @{
82 
88  virtual void setRelativePosition( double x, double y, double z );
89 
95  virtual void setRelativeOrientation( const DtTaitBryan& ori );
96 
99  virtual void setSize( double slantHeight );
100 
107  virtual void setColor( float r, float g, float b, float a );
108 
115  virtual void setInnerColor( float r, float g, float b, float a );
116 
123  virtual void setOuterColor( float r, float g, float b, float a );
124 
127  virtual void setXHalfAngle( double xHalfAngle );
128 
131  virtual void setYHalfAngle( double yHalfAngle );
132 
137  virtual void setShowLines( bool showLines );
138 
143  virtual void setLinesHaveAlpha( bool lineAlpha );
144 
148  virtual void setIsSupportModel(bool isSupport);
149 
151 
152  protected:
154  virtual void update();
155 
157  virtual void needsUpdate();
158 
159  protected:
160 
166 
167  boost::signalslib::connection mySignalPostUpdateConnection;
168  };
169 
170 }
DtVector myRelativePosition
Definition: DtOsgRectangularPyramidModel.h:164
bool myNeedsUpdate
Definition: DtOsgRectangularPyramidModel.h:165
DtUniqueID myTargetObjectId
Definition: DtOsgRectangularPyramidModel.h:162
OSG implementation of the DtRectangularPyramidModel.
Definition: DtOsgRectangularPyramidModel.h:27
#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:77
makVrv::DtOsgSceneConnector * mySceneConnector
Definition: DtOsgRectangularPyramidModel.h:161
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
DtUniqueID myHostObjectId
Definition: DtOsgRectangularPyramidModel.h:163
boost::signalslib::connection mySignalPostUpdateConnection
Definition: DtOsgRectangularPyramidModel.h:167
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
Distributed model for visualizing synthetic aperture sensors.
Definition: DtRectangularPyramidModel.h:21
DtModelSetId
Definition: DtModelSetEnums.h:19

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)