| 154 | { |
| 155 | |
| 156 | boost::python::list gridNames( VDBObject::Ptr vdbObject ) |
| 157 | { |
| 158 | boost::python::list result; |
| 159 | std::vector<std::string> names = vdbObject->gridNames(); |
| 160 | for( const auto &name : names ) |
| 161 | { |
| 162 | result.append( name ); |
| 163 | } |
| 164 | return result; |
| 165 | } |
| 166 | |
| 167 | } // namespace |
| 168 |