LowStretchSphereParametrization Class Reference

#include <VisionX/components/pointcloud_processor/EfficientRANSACPrimitiveExtractor/EfficientRANSAC/LowStretchSphereParametrization.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
 
 LowStretchSphereParametrization (const Sphere &sphere)
 
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 SphereShape () const
 
void Shape (const Sphere &sphere)
 
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 LowStretchSphereParametrization.h.

Constructor & Destructor Documentation

◆ LowStretchSphereParametrization()

Definition at line 5 of file LowStretchSphereParametrization.cpp.

Member Function Documentation

◆ Deserialize()

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

Definition at line 147 of file LowStretchSphereParametrization.cpp.

◆ InSpace() [1/2]

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

Definition at line 74 of file LowStretchSphereParametrization.h.

◆ InSpace() [2/2]

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

Definition at line 90 of file LowStretchSphereParametrization.h.

◆ Optimize()

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

Definition at line 108 of file LowStretchSphereParametrization.h.

+ Here is the call graph for this function:

◆ Parameters()

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

Definition at line 57 of file LowStretchSphereParametrization.h.

+ Here is the call graph for this function:

◆ Serialize()

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

Definition at line 118 of file LowStretchSphereParametrization.cpp.

+ Here is the call graph for this function:

◆ SerializedSize()

size_t SerializedSize ( )
static

Definition at line 112 of file LowStretchSphereParametrization.cpp.

+ Here is the caller graph for this function:

◆ Shape() [1/2]

const Sphere & Shape ( ) const
inline

Definition at line 20 of file LowStretchSphereParametrization.h.

◆ Shape() [2/2]

void Shape ( const Sphere & sphere)

Definition at line 12 of file LowStretchSphereParametrization.cpp.

◆ WrapBitmap()

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

Definition at line 30 of file LowStretchSphereParametrization.h.

◆ 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 LowStretchSphereParametrization.cpp.

+ Here is the call graph for this function:

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