Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/render/image_vdb.h
| Show All 37 Lines | virtual bool load_pixels(const ImageMetaData &metadata, | ||||
| const bool associate_alpha) override; | const bool associate_alpha) override; | ||||
| virtual string name() const override; | virtual string name() const override; | ||||
| virtual bool equals(const ImageLoader &other) const override; | virtual bool equals(const ImageLoader &other) const override; | ||||
| virtual void cleanup() override; | virtual void cleanup() override; | ||||
| virtual bool is_vdb_loader() const override; | |||||
| #ifdef WITH_OPENVDB | |||||
| openvdb::GridBase::ConstPtr grid; | |||||
brecht: Keep this a protected member and add a getter to retrieve the grid. | |||||
| #endif | |||||
| protected: | protected: | ||||
| string grid_name; | string grid_name; | ||||
| #ifdef WITH_OPENVDB | #ifdef WITH_OPENVDB | ||||
| openvdb::GridBase::ConstPtr grid; | |||||
| openvdb::CoordBBox bbox; | openvdb::CoordBBox bbox; | ||||
| #endif | #endif | ||||
| }; | }; | ||||
| CCL_NAMESPACE_END | CCL_NAMESPACE_END | ||||
| #endif /* __IMAGE_VDB__ */ | #endif /* __IMAGE_VDB__ */ | ||||
Keep this a protected member and add a getter to retrieve the grid.