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 
93  virtual void setRelativeOrientation( const DtTaitBryan& ori );
94 
97  virtual void setSize( double slantHeight );
98 
105  virtual void setColor( float r, float g, float b, float a );
106 
113  virtual void setInnerColor( float r, float g, float b, float a );
114 
121  virtual void setOuterColor( float r, float g, float b, float a );
122 
125  virtual void setXHalfAngle( double xHalfAngle );
126 
129  virtual void setYHalfAngle( double yHalfAngle );
130 
135  virtual void setShowLines( bool showLines );
136 
141  virtual void setLinesHaveAlpha( bool lineAlpha );
142 
146  virtual void setIsSupportModel(bool isSupport);
147 
149 
150  protected:
152  virtual void update();
153 
155  virtual void needsUpdate();
156 
157  protected:
158 
164 
165  boost::signalslib::connection mySignalPostUpdateConnection;
166  };
167 
168 }
DtVector myRelativePosition
Definition: DtOsgRectangularPyramidModel.h:162
bool myNeedsUpdate
Definition: DtOsgRectangularPyramidModel.h:163
DtUniqueID myTargetObjectId
Definition: DtOsgRectangularPyramidModel.h:160
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:159
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
DtUniqueID myHostObjectId
Definition: DtOsgRectangularPyramidModel.h:161
boost::signalslib::connection mySignalPostUpdateConnection
Definition: DtOsgRectangularPyramidModel.h:165
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:76
Distributed model for visualizing synthetic aperture sensors.
Definition: DtRectangularPyramidModel.h:21
DtModelSetId
Definition: DtModelSetEnums.h:19

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)