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 TorusShape () 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 ()
 

Detailed Description

Definition at line 13 of file LowStretchTorusParametrization.h.

Constructor & Destructor Documentation

◆ LowStretchTorusParametrization()

Definition at line 4 of file LowStretchTorusParametrization.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ Deserialize()

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

Definition at line 161 of file LowStretchTorusParametrization.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ InSpace() [1/2]

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

Definition at line 78 of file LowStretchTorusParametrization.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ InSpace() [2/2]

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

Definition at line 100 of file LowStretchTorusParametrization.h.

+ Here is the call graph for this function:

◆ Optimize()

void Optimize ( IteratorT  begin,
IteratorT  end,
float  epsilon 
)

Definition at line 126 of file LowStretchTorusParametrization.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Parameters()

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

Definition at line 52 of file LowStretchTorusParametrization.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Serialize()

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

Definition at line 145 of file LowStretchTorusParametrization.cpp.

+ Here is the caller graph for this function:

◆ SerializedSize()

size_t SerializedSize ( )
static

Definition at line 140 of file LowStretchTorusParametrization.cpp.

+ Here is the caller graph for this function:

◆ Shape() [1/2]

const Torus& Shape ( ) const
inline

Definition at line 18 of file LowStretchTorusParametrization.h.

◆ Shape() [2/2]

void Shape ( const Torus torus)

Definition at line 12 of file LowStretchTorusParametrization.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ WrapBitmap()

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

Definition at line 26 of file LowStretchTorusParametrization.h.

+ Here is the caller graph for this function:

◆ 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

Definition at line 19 of file LowStretchTorusParametrization.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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