VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 }

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)