+ inline const group_list& get_pts_v() const { return pts_v; }
+ inline void set_pts_v( const group_list& g ) { pts_v = g; }
+ inline const group_list& get_pts_n() const { return pts_n; }
+ inline void set_pts_n( const group_list& g ) { pts_n = g; }
+ inline const group_list& get_pts_c() const { return pts_c; }
+ inline void set_pts_c( const group_list& g ) { pts_c = g; }
+ inline const group_list& get_pts_tc() const { return pts_tc; }
+ inline void set_pts_tc( const group_list& g ) { pts_tc = g; }
+ inline const string_list& get_pt_materials() const { return pt_materials; }
+ inline void set_pt_materials( const string_list& s ) { pt_materials = s; }
+
+ inline const group_list& get_tris_v() const { return tris_v; }
+ inline void set_tris_v( const group_list& g ) { tris_v = g; }
+ inline const group_list& get_tris_n() const { return tris_n; }
+ inline void set_tris_n( const group_list& g ) { tris_n = g; }
+ inline const group_list& get_tris_c() const { return tris_c; }
+ inline void set_tris_c( const group_list& g ) { tris_c = g; }
+ inline const group_list& get_tris_tc() const { return tris_tc; }
+ inline void set_tris_tc( const group_list& g ) { tris_tc = g; }
+ inline const string_list& get_tri_materials() const { return tri_materials; }
+ inline void set_tri_materials( const string_list& s ) { tri_materials = s; }
+
+ inline const group_list& get_strips_v() const { return strips_v; }
+ inline void set_strips_v( const group_list& g ) { strips_v = g; }
+ inline const group_list& get_strips_n() const { return strips_n; }
+ inline void set_strips_n( const group_list& g ) { strips_n = g; }
+ inline const group_list& get_strips_c() const { return strips_c; }
+ inline void set_strips_c( const group_list& g ) { strips_c = g; }
+
+ inline const group_list& get_strips_tc() const { return strips_tc; }
+ inline void set_strips_tc( const group_list& g ) { strips_tc = g; }
+ inline const string_list& get_strip_materials() const { return strip_materials; }
+ inline void set_strip_materials( const string_list& s ) { strip_materials = s; }
+
+ inline const group_list& get_fans_v() const { return fans_v; }
+ inline void set_fans_v( const group_list& g ) { fans_v = g; }
+ inline const group_list& get_fans_n() const { return fans_n; }
+ inline void set_fans_n( const group_list& g ) { fans_n = g; }
+ inline const group_list& get_fans_c() const { return fans_c; }
+ inline void set_fans_c( const group_list& g ) { fans_c = g; }
+
+ inline const group_list& get_fans_tc() const { return fans_tc; }
+ inline void set_fans_tc( const group_list& g ) { fans_tc = g; }
+ inline const string_list& get_fan_materials() const { return fan_materials; }
+ inline void set_fan_materials( const string_list& s ) { fan_materials = s; }
+
+ /**
+ * Read a binary file object and populate the provided structures.
+ * @param file input file name
+ * @return result of read
+ */
+ bool read_bin( const std::string& file );
+
+ /**
+ * Write out the structures to a binary file. We assume that the
+ * groups come to us sorted by material property. If not, things
+ * don't break, but the result won't be as optimal.
+ * @param base name of output path
+ * @param name name of output file
+ * @param b bucket for object location
+ * @return result of write
+ */
+ bool write_bin( const std::string& base, const std::string& name, const SGBucket& b );
+
+ /**
+ * Write out the structures to an ASCII file. We assume that the
+ * groups come to us sorted by material property. If not, things
+ * don't break, but the result won't be as optimal.
+ * @param base name of output path
+ * @param name name of output file
+ * @param b bucket for object location
+ * @return result of write
+ */
+ bool write_ascii( const std::string& base, const std::string& name,
+ const SGBucket& b );