VR-Forces 4.1 Class Documentation
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 
63  virtual bool frontAndBackFaceRendered() const;
64 
68  virtual void calculateCenterPoints();
69 
70  protected:
71  osg::ref_ptr<osg::Vec3Array> myFillArray;
72  osg::ref_ptr<osg::Geometry> myTopGeometry;
73 
74  osg::ref_ptr<osg::Geometry> myBottomGeometry;
75 
76  bool myFilled;
79  };
80 }

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)