LowStretchTorusParametrization Class Reference

#include <VisionX/components/pointcloud_processor/EfficientRANSACPrimitiveExtractor/EfficientRANSAC/LowStretchTorusParametrization.h>

Public Member Functions

void Deserialize (std::istream *i, bool binary)
 
bool InSpace (float u, float v, Vec3f *p) const
 
bool InSpace (float u, float v, Vec3f *p, Vec3f *n) const
 
 LowStretchTorusParametrization (const Torus &torus)
 
template<class IteratorT>
void Optimize (IteratorT begin, IteratorT end, float epsilon)
 
void Parameters (const Vec3f &p, std::pair< float, float > *param) const
 
void Serialize (std::ostream *o, bool binary) const
 
const Torus & Shape () const
 
void Shape (const Torus &torus)
 
void WrapBitmap (const GfxTL::AABox< GfxTL::Vector2Df > &bbox, float epsilon, bool *uwrap, bool *vwrap) const
 
void WrapComponents (const GfxTL::AABox< GfxTL::Vector2Df > &bbox, float epsilon, size_t uextent, size_t vextent, MiscLib::Vector< int > *componentImg, MiscLib::Vector< std::pair< int, size_t > > *labels) const
 

Static Public Member Functions

static size_t SerializedSize ()
 

Constructor & Destructor Documentation

◆ LowStretchTorusParametrization()

Member Function Documentation

◆ Deserialize()

void Deserialize ( std::istream * i,
bool binary )

◆ InSpace() [1/2]

bool InSpace ( float u,
float v,
Vec3f * p ) const
inline

◆ InSpace() [2/2]

bool InSpace ( float u,
float v,
Vec3f * p,
Vec3f * n ) const
inline

◆ Optimize()

template<class IteratorT>
void Optimize ( IteratorT begin,
IteratorT end,
float epsilon )

◆ Parameters()

void Parameters ( const Vec3f & p,
std::pair< float, float > * param ) const
inline

◆ Serialize()

void Serialize ( std::ostream * o,
bool binary ) const

◆ SerializedSize()

size_t SerializedSize ( )
static

◆ Shape() [1/2]

const Torus & Shape ( ) const
inline

◆ Shape() [2/2]

void Shape ( const Torus & torus)

◆ WrapBitmap()

void WrapBitmap ( const GfxTL::AABox< GfxTL::Vector2Df > & bbox,
float epsilon,
bool * uwrap,
bool * vwrap ) const
inline

◆ WrapComponents()

void WrapComponents ( const GfxTL::AABox< GfxTL::Vector2Df > & bbox,
float epsilon,
size_t uextent,
size_t vextent,
MiscLib::Vector< int > * componentImg,
MiscLib::Vector< std::pair< int, size_t > > * labels ) const

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