Visual Computing Library
Loading...
Searching...
No Matches
vcl::PointSampler< PointT > Class Template Reference

Public Types

using PointType = PointT
 
using ScalarType = PointT::ScalarType
 
using ConstIterator = std::vector< PointT >::const_iterator
 

Public Member Functions

const std::vector< PointT > & samples () const
 
const PointT & sample (uint i) const
 
std::size_t size () const
 
void clear ()
 
void reserve (uint n)
 
void resize (uint n)
 
void add (const PointT &p)
 
void set (uint i, const PointT &p)
 
template<VertexConcept VertexType>
void add (const VertexType &v)
 
template<VertexConcept VertexType>
void set (uint i, const VertexType &v)
 
template<EdgeConcept EdgeType>
void add (const EdgeType &e, double u=0.5)
 
template<EdgeConcept EdgeType>
void set (uint i, const EdgeType &e, double u=0.5)
 
template<FaceConcept FaceType>
void add (const FaceType &f)
 
template<FaceConcept FaceType>
void set (uint i, const FaceType &f)
 
template<FaceConcept FaceType>
void add (const FaceType &f, const std::vector< ScalarType > &barCoords)
 
template<FaceConcept FaceType>
void set (uint i, const FaceType &f, const std::vector< ScalarType > &barCoords)
 
template<FaceConcept FaceType>
void add (const FaceType &f, const PointT &barCoords)
 
template<FaceConcept FaceType>
void set (uint i, const FaceType &f, const PointT &barCoords)
 
ConstIterator begin () const
 
ConstIterator end () const
 

Private Attributes

std::vector< PointT > mSamples
 

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