SimpleTorusParametrization Class Reference

#include <VisionX/components/pointcloud_processor/EfficientRANSACPrimitiveExtractor/EfficientRANSAC/SimpleTorusParametrization.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
 
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)
 
 SimpleTorusParametrization (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 SimpleTorusParametrization.h.

Constructor & Destructor Documentation

◆ SimpleTorusParametrization()

SimpleTorusParametrization ( const Torus torus)

Definition at line 3 of file SimpleTorusParametrization.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ Deserialize()

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

Definition at line 58 of file SimpleTorusParametrization.cpp.

◆ InSpace() [1/2]

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

Definition at line 68 of file SimpleTorusParametrization.h.

+ Here is the call graph for this function:

◆ InSpace() [2/2]

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

Definition at line 87 of file SimpleTorusParametrization.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 41 of file SimpleTorusParametrization.h.

+ Here is the call graph for this function:

◆ Serialize()

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

Definition at line 44 of file SimpleTorusParametrization.cpp.

◆ SerializedSize()

size_t SerializedSize ( )
static

Definition at line 39 of file SimpleTorusParametrization.cpp.

◆ Shape() [1/2]

const Torus& Shape ( ) const
inline

Definition at line 18 of file SimpleTorusParametrization.h.

◆ Shape() [2/2]

void Shape ( const Torus torus)

Definition at line 10 of file SimpleTorusParametrization.cpp.

+ Here is the call graph for this function:

◆ WrapBitmap()

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

Definition at line 16 of file SimpleTorusParametrization.cpp.

+ Here is the call 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
inline

Definition at line 28 of file SimpleTorusParametrization.h.


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