OpenVDB  12.0.0
Namespaces | Functions
PointReplicateImpl.h File Reference

Go to the source code of this file.

Namespaces

 openvdb
 
 openvdb::v12_0
 
 openvdb::v12_0::points
 

Functions

template<typename PointDataGridT >
PointDataGridT::Ptr replicate (const PointDataGridT &source, const Index multiplier, const std::vector< std::string > &attributes, const std::string &scaleAttribute="", const std::string &replicationIndex="")
 Replicates points provided in a source grid into a new grid, transfering and creating attributes found in a provided attribute vector. If an attribute doesn't exist, it is ignored. Position is always replicated, leaving the new points exactly over the top of the source points. More...
 
template<typename PointDataGridT >
PointDataGridT::Ptr replicate (const PointDataGridT &source, const Index multiplier, const std::string &scaleAttribute="", const std::string &replicationIndex="")
 Replicates points provided in a source grid into a new grid, transfering and creating all attributes from the source grid. Position is always replicated, leaving the new points exactly over the top of the source points. More...
 

Detailed Description

Author
Nick Avramoussis