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 12 of file LowStretchSphereParametrization.h.

Constructor & Destructor Documentation

◆ LowStretchSphereParametrization()

Definition at line 4 of file LowStretchSphereParametrization.cpp.

Member Function Documentation

◆ Deserialize()

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

Definition at line 141 of file LowStretchSphereParametrization.cpp.

+ Here is the caller graph for this function:

◆ InSpace() [1/2]

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

Definition at line 63 of file LowStretchSphereParametrization.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 78 of file LowStretchSphereParametrization.h.

+ Here is the call graph for this function:

◆ Optimize()

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

Definition at line 96 of file LowStretchSphereParametrization.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 46 of file LowStretchSphereParametrization.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 112 of file LowStretchSphereParametrization.cpp.

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

◆ SerializedSize()

size_t SerializedSize ( )
static

Definition at line 107 of file LowStretchSphereParametrization.cpp.

+ Here is the caller graph for this function:

◆ Shape() [1/2]

const Sphere& Shape ( ) const
inline

Definition at line 17 of file LowStretchSphereParametrization.h.

◆ Shape() [2/2]

void Shape ( const Sphere sphere)

Definition at line 11 of file LowStretchSphereParametrization.cpp.

+ 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 25 of file LowStretchSphereParametrization.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 17 of file LowStretchSphereParametrization.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: