OpenVDB  3.2.0
Classes | Public Types | Public Member Functions | List of all members
SplittableParticleArray< ParticleArrayT, PointIndex > Struct Template Reference

#include <ParticleAtlas.h>

Public Types

typedef boost::shared_ptr< SplittableParticleArrayPtr
 
typedef boost::shared_ptr< const SplittableParticleArrayConstPtr
 
typedef ParticleArrayT ParticleArray
 
typedef ParticleArray::PosType PosType
 
typedef PosType::value_type ScalarType
 

Public Member Functions

 SplittableParticleArray (const ParticleArrayT &particles)
 
 SplittableParticleArray (const ParticleArrayT &particles, double minR, double maxR)
 
const ParticleArrayT & particleArray () const
 
size_t size () const
 
void getPos (size_t n, PosType &xyz) const
 
void getRadius (size_t n, ScalarType &radius) const
 
ScalarType minRadius () const
 
ScalarType maxRadius () const
 
size_t getGlobalIndex (size_t n) const
 
Ptr split (ScalarType maxRadiusLimit)
 

Member Typedef Documentation

typedef boost::shared_ptr<const SplittableParticleArray> ConstPtr
typedef ParticleArrayT ParticleArray
typedef ParticleArray::PosType PosType
typedef boost::shared_ptr<SplittableParticleArray> Ptr
typedef PosType::value_type ScalarType

Constructor & Destructor Documentation

SplittableParticleArray ( const ParticleArrayT &  particles)
inline
SplittableParticleArray ( const ParticleArrayT &  particles,
double  minR,
double  maxR 
)
inline

Member Function Documentation

size_t getGlobalIndex ( size_t  n) const
inline
void getPos ( size_t  n,
PosType xyz 
) const
inline
void getRadius ( size_t  n,
ScalarType radius 
) const
inline
ScalarType maxRadius ( ) const
inline
ScalarType minRadius ( ) const
inline
const ParticleArrayT& particleArray ( ) const
inline
size_t size ( ) const
inline
Ptr split ( ScalarType  maxRadiusLimit)
inline

Move all particle indices that have a radius larger or equal to maxRadiusLimit into a separate container.


The documentation for this struct was generated from the following file: