VR-Forces 4.8 Class Documentation
 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 /******************************************************************************
6 ** $RCSfile: DtAttachedCylinderModelInstance.h,v $ $Revision: 1.0 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
15 
16 namespace makVrv
17 {
22  {
23  public:
24 
27 
30 
32  virtual void setStartPoint( const osg::Vec3& position );
33 
35  virtual void setEndPoint( const osg::Vec3& position );
36 
38  virtual void setVisible(bool isVisible);
39 
40  protected:
41 
42  virtual void updateTransform();
43 
44  void spanTwoPoints( osg::Matrix& cylinderTransform );
45 
46  protected:
47 
48  osg::Vec3 myStartPoint; // The center of one endcap
49  osg::Vec3 myEndPoint; // The center of the other endcap
50 
51  };
52 }
osg::Vec3 myEndPoint
Definition: DtAttachedCylinderModelInstance.h:49
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:20
The model instance to draw a cylinder.
Definition: DtCylinderModelInstance.h:25
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
osg::Vec3 myStartPoint
Definition: DtAttachedCylinderModelInstance.h:48

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)