9 #ifndef GEPETTO_VIEWER_TRANSFORM_WRITER_VISITOR_HH
10 #define GEPETTO_VIEWER_TRANSFORM_WRITER_VISITOR_HH
31 : filename_ (filename)
41 std::ofstream&
out () {
return file_; }
44 file_.open (filename_.c_str(),
45 std::ofstream::out | std::ofstream::app);
46 if (!file_.is_open ())
47 throw std::ios_base::failure (
"Unable to open file " + filename_);
103 template <
typename Iterator>
112 template <
typename Iterator>
117 for (Iterator it = begin; it != end; ++it)
apply (**it);
Definition: node-visitor.h:36
Abstract base class of 3D objects in a scene.
Definition: node.h:29
::osg::Vec3f osgVector3
Definition: config-osg.h:109
::osg::Quat osgQuat
Definition: config-osg.h:112
#define DEF_CLASS_SMART_PTR(className)
Definition: macros.h:50
Definition: action-search-bar.hh:27
Definition: config-osg.h:53