VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vrfOsgRectangularPyramidModel.h
Go to the documentation of this file.
1 /*****************************************************************************
2 * Copyright (c) 2016 MAK Technologies, Inc.
3 * All rights reserved.
4 *****************************************************************************/
5 
9 
13 
14 #pragma once
15 
16 #include <vrfGuiCore/vrfGuiCore.h>
17 
19 #include <vrvOsg/DtOsgRectangularPyramidModelClasses.hpp>
20 
21 namespace makVrv
22 {
23  class DtOsgSceneConnector;
24 }
25 
26 namespace makVrf
27 {
28 
33  {
34  public:
35 
39 
42 
45 
48  virtual std::string className() const;
49 
53  virtual void addToScene( const makVrv::DtUniqueID& sceneObjectId,
54  int modelSet, int visualizerType );
55 
59  virtual void removeFromScene();
60 
66  virtual void setModelDefinition( const std::string& str );
67 
73  virtual void setPosition( int vtx, const DtVector& position );
74 
80  virtual void setOrientation( int vtx, const DtTaitBryan& orientation );
81 
83 
86 
92  virtual void setRelativePosition( double x, double y, double z );
93 
99  virtual void setRelativeOrientation( const DtTaitBryan& ori );
100 
103  virtual void setSize( double slantHeight );
104 
111  virtual void setColor( float r, float g, float b, float a );
112 
119  virtual void setInnerColor( float r, float g, float b, float a );
120 
127  virtual void setOuterColor( float r, float g, float b, float a );
128 
131  virtual void setXHalfAngle( double xHalfAngle );
132 
135  virtual void setYHalfAngle( double yHalfAngle );
136 
141  virtual void setShowLines( bool showLines );
142 
147  virtual void setLinesHaveAlpha( bool lineAlpha );
148 
152  virtual void setIsSupportModel(bool isSupport);
153 
155 
156  protected:
158  virtual void update();
159 
161  virtual void needsUpdate();
162 
163  protected:
164 
166  };
167 
168  class DT_DLL_VRFGUICORE DtVrfOsgRectangularPyramidModelClassesCreator : public makVrv::DtOsgRectangularPyramidModelClassesCreator
169  {
170  public:
173 
174  static makVrv::DtAgentCreator* create();
175 
178  };
179 
180 }

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)