VR-Forces 4.2 Class Documentation
DtExampleDrawObject.h
Go to the documentation of this file.
1 // /******************************************************************************
2 // ** Copyright (c) 2008 MAK Technologies, Inc.
3 // ** All rights reserved.
4 // ******************************************************************************/
5 // /******************************************************************************
6 // ** $RCSfile: DtExampleDrawObject.h,v $ $Revision: 1.1 $ $State: Exp $
7 // ******************************************************************************/
8 
11 
12 #ifndef DtExampleDrawObject_H_
13 #define DtExampleDrawObject_H_
14 
15 #include <vrvCore/DtDe.h>
16 #include <vrvCore/DtUniqueID.h>
17 
18 #include <osg/Node>
19 
20 #include <string>
21 
22 namespace makVrv
23 {
27  {
28 
29  public:
30 
32  DtExampleDrawObject(DtDe& de, DtUniqueID id);
33 
35  virtual ~DtExampleDrawObject();
36 
38  void drawSphere(double x, double y, double z, double r);
39 
42 
43  protected:
44 
46 
47  // Keep track of the node drawSphere creates so that it will be cleaned up properly
48  osg::ref_ptr<osg::Node> myNode;
49 
50  };
51 
52 }
53 
54 #endif

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)