VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtAttachedCylinderModelInstance.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
12 
13 namespace makVrv
14 {
19  {
20  public:
21 
24 
27 
29  virtual void setStartPoint( const osg::Vec3& position );
30 
32  virtual void setEndPoint( const osg::Vec3& position );
33 
35  virtual void setVisible(bool isVisible);
36 
37  protected:
38 
39  virtual void updateTransform();
40 
41  void spanTwoPoints( osg::Matrix& cylinderTransform );
42 
43  protected:
44 
45  osg::Vec3 myStartPoint; // The center of one endcap
46  osg::Vec3 myEndPoint; // The center of the other endcap
47 
48  };
49 }
osg::Vec3 myEndPoint
Definition: DtAttachedCylinderModelInstance.h:46
Contains makVrv::DtCylinderModelInstance class.
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
The model instance to draw a cylinder spanning between two poitns.
Definition: DtAttachedCylinderModelInstance.h:17
The model instance to draw a cylinder.
Definition: DtCylinderModelInstance.h:24
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:70
osg::Vec3 myStartPoint
Definition: DtAttachedCylinderModelInstance.h:45

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)