| 142 | } |
| 143 | |
| 144 | openvdb::GridBase::ConstPtr VDBObject::findGrid( const std::string &name ) const |
| 145 | { |
| 146 | auto it = m_grids.find(name); |
| 147 | if ( it != m_grids.end() ) |
| 148 | { |
| 149 | return it->second.grid(); |
| 150 | } |
| 151 | |
| 152 | return openvdb::GridBase::Ptr(); |
| 153 | } |
| 154 | |
| 155 | openvdb::GridBase::Ptr VDBObject::findGrid( const std::string &name ) |
| 156 | { |