VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtExtrudedPolygonModelInstance.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
15 
16 namespace makVrv
17 {
21  {
22  public:
23 
26 
29 
31  virtual void setFill(bool);
32 
34  virtual void setPolygonMode(DtExtrudedPolygonModel::PolygonMode mode);
35 
36  protected:
38  virtual void updatePoints();
39 
41  virtual void updatePolygons();
42 
44  virtual void addTop();
45 
47  virtual void addBottom();
48 
50  virtual void updateColors();
51 
53  virtual void updateStippling();
54 
56  virtual void updateScribeLine();
57 
59  virtual void updateGeometry();
60 
64  virtual void calculateCenterPoints();
65 
66  protected:
67  osg::ref_ptr<osg::Vec3Array> myFillArray;
68  osg::ref_ptr<osg::Geometry> myTopGeometry;
69 
70  osg::ref_ptr<osg::Geometry> myBottomGeometry;
71 
72  bool myFilled;
75  };
76 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)