-
Notifications
You must be signed in to change notification settings - Fork 666
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removed boost/any in favour of openvdb::MetaMap usage #744
Conversation
openvdb/points/PointDataGrid.h
Outdated
} | ||
} | ||
|
||
} // namespace page_stream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@danrbailey be good for you to take a look through this - I started splitting out all the descriptor methods from the Local
structs into a shared namespace too, but there's ever so slightly different implementations of some. Would be good to consolidate them
openvdb/points/PointDataGrid.h
Outdated
using TypedMetaT = TypedMetadata<typename StreamT::Ptr>; | ||
|
||
const std::string key("paged:" + std::to_string(index)); | ||
typename TypedMetaT::ConstPtr it = auxData.getMetadata<TypedMetaT>(key); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note - getMetadata
performs string type checks. If we don't want to do that, we can use static_cast<...>(auxData[key])
@danrbailey bump |
Signed-off-by: Nick Avramoussis <4256455+Idclip@users.noreply.github.com>
Signed-off-by: Nick Avramoussis <4256455+Idclip@users.noreply.github.com>
This PR has now been superceded by this one (#1687), closing... |
No description provided.