HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::tools::particle_atlas_internal::SplittableParticleArray< ParticleArrayT, PointIndex > Struct Template Reference

#include <ParticleAtlas.h>

Public Types

using Ptr = SharedPtr< SplittableParticleArray >
 
using ConstPtr = SharedPtr< const SplittableParticleArray >
 
using ParticleArray = ParticleArrayT
 
using PosType = typename ParticleArray::PosType
 
using ScalarType = typename PosType::value_type
 

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)
 

Detailed Description

template<typename ParticleArrayT, typename PointIndex>
struct openvdb::OPENVDB_VERSION_NAME::tools::particle_atlas_internal::SplittableParticleArray< ParticleArrayT, PointIndex >

Definition at line 318 of file ParticleAtlas.h.

Member Typedef Documentation

Definition at line 321 of file ParticleAtlas.h.

template<typename ParticleArrayT , typename PointIndex >
using openvdb::OPENVDB_VERSION_NAME::tools::particle_atlas_internal::SplittableParticleArray< ParticleArrayT, PointIndex >::ParticleArray = ParticleArrayT

Definition at line 322 of file ParticleAtlas.h.

template<typename ParticleArrayT , typename PointIndex >
using openvdb::OPENVDB_VERSION_NAME::tools::particle_atlas_internal::SplittableParticleArray< ParticleArrayT, PointIndex >::PosType = typename ParticleArray::PosType

Definition at line 324 of file ParticleAtlas.h.

template<typename ParticleArrayT , typename PointIndex >
using openvdb::OPENVDB_VERSION_NAME::tools::particle_atlas_internal::SplittableParticleArray< ParticleArrayT, PointIndex >::Ptr = SharedPtr<SplittableParticleArray>

Definition at line 320 of file ParticleAtlas.h.

template<typename ParticleArrayT , typename PointIndex >
using openvdb::OPENVDB_VERSION_NAME::tools::particle_atlas_internal::SplittableParticleArray< ParticleArrayT, PointIndex >::ScalarType = typename PosType::value_type

Definition at line 325 of file ParticleAtlas.h.

Constructor & Destructor Documentation

template<typename ParticleArrayT , typename PointIndex >
openvdb::OPENVDB_VERSION_NAME::tools::particle_atlas_internal::SplittableParticleArray< ParticleArrayT, PointIndex >::SplittableParticleArray ( const ParticleArrayT &  particles)
inline

Definition at line 327 of file ParticleAtlas.h.

template<typename ParticleArrayT , typename PointIndex >
openvdb::OPENVDB_VERSION_NAME::tools::particle_atlas_internal::SplittableParticleArray< ParticleArrayT, PointIndex >::SplittableParticleArray ( const ParticleArrayT &  particles,
double  minR,
double  maxR 
)
inline

Definition at line 333 of file ParticleAtlas.h.

Member Function Documentation

template<typename ParticleArrayT , typename PointIndex >
size_t openvdb::OPENVDB_VERSION_NAME::tools::particle_atlas_internal::SplittableParticleArray< ParticleArrayT, PointIndex >::getGlobalIndex ( size_t  n) const
inline

Definition at line 352 of file ParticleAtlas.h.

template<typename ParticleArrayT , typename PointIndex >
void openvdb::OPENVDB_VERSION_NAME::tools::particle_atlas_internal::SplittableParticleArray< ParticleArrayT, PointIndex >::getPos ( size_t  n,
PosType xyz 
) const
inline

Definition at line 344 of file ParticleAtlas.h.

template<typename ParticleArrayT , typename PointIndex >
void openvdb::OPENVDB_VERSION_NAME::tools::particle_atlas_internal::SplittableParticleArray< ParticleArrayT, PointIndex >::getRadius ( size_t  n,
ScalarType radius 
) const
inline

Definition at line 346 of file ParticleAtlas.h.

template<typename ParticleArrayT , typename PointIndex >
ScalarType openvdb::OPENVDB_VERSION_NAME::tools::particle_atlas_internal::SplittableParticleArray< ParticleArrayT, PointIndex >::maxRadius ( ) const
inline

Definition at line 350 of file ParticleAtlas.h.

template<typename ParticleArrayT , typename PointIndex >
ScalarType openvdb::OPENVDB_VERSION_NAME::tools::particle_atlas_internal::SplittableParticleArray< ParticleArrayT, PointIndex >::minRadius ( ) const
inline

Definition at line 349 of file ParticleAtlas.h.

template<typename ParticleArrayT , typename PointIndex >
const ParticleArrayT& openvdb::OPENVDB_VERSION_NAME::tools::particle_atlas_internal::SplittableParticleArray< ParticleArrayT, PointIndex >::particleArray ( ) const
inline

Definition at line 340 of file ParticleAtlas.h.

template<typename ParticleArrayT , typename PointIndex >
size_t openvdb::OPENVDB_VERSION_NAME::tools::particle_atlas_internal::SplittableParticleArray< ParticleArrayT, PointIndex >::size ( void  ) const
inline

Definition at line 342 of file ParticleAtlas.h.

template<typename ParticleArrayT , typename PointIndex >
Ptr openvdb::OPENVDB_VERSION_NAME::tools::particle_atlas_internal::SplittableParticleArray< ParticleArrayT, PointIndex >::split ( ScalarType  maxRadiusLimit)
inline

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

Definition at line 356 of file ParticleAtlas.h.


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