9 #ifndef GEPETTO_VIEWER_LEAFNODEFACE_HH
10 #define GEPETTO_VIEWER_LEAFNODEFACE_HH
23 LeafNodeFaceWeakPtr weak_ptr_;
26 ::osg::GeometryRefPtr face_ptr_;
27 ::osg::Vec3ArrayRefPtr vertices_;
28 ::osg::Vec4ArrayRefPtr color_ptr_;
49 void initWeakPtr(LeafNodeFaceWeakPtr other_weak_ptr);
56 static LeafNodeFacePtr_t create(
const std::string& name,
60 static LeafNodeFacePtr_t create(
const std::string& name,
65 static LeafNodeFacePtr_t create(
const std::string& name,
70 static LeafNodeFacePtr_t create(
const std::string& name,
79 static LeafNodeFacePtr_t createCopy(LeafNodeFacePtr_t other);
83 virtual LeafNodeFacePtr_t clone(
void)
const;
92 LeafNodeFacePtr_t
self(void)
const;
97 void setTexture(
const std::string& image_path);