vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PS_Face.h
Go to the documentation of this file.
1 
8 #pragma once
9 #include "PS_FlatShape.h"
11 #include "Utils.h"
12 
13 namespace APDYNAMICART
14 {
15 
16 class PS_Face : public PS_FlatShape
17 {
18 public:
19  PS_Face(osg::ref_ptr<osg::Vec3Array> vertices);
20  void updateColors(osg::Vec4 color);
21 
22  void pointed( bool pointed ) { dbgPS(__FUNCTION__); /*_highlight->setHighlighting(pointed); */ }
23 
24 
25 protected:
26  osg::ref_ptr<osg::Vec3Array> _vertices;
27 
28  osg::ref_ptr<osg::Geometry> _geometry;
29 
30  osg::ref_ptr<vreckoUtils::HighlightCallback> _highlight;
31 };
32 
33 typedef osg::ref_ptr<PS_Face> PS_FacePtr;
34 
35 }