Public Types | Public Member Functions | Static Public Member Functions | Public Attributes
vcg::math::Quadric< _ScalarType > Class Template Reference

#include <quadric.h>

List of all members.

Public Types

typedef _ScalarType ScalarType

Public Member Functions

template<class ResultScalarType >
ResultScalarType Apply (const Point3< ResultScalarType > &p) const
template<class LineType >
void ByLine (const LineType &r)
template<class PlaneType >
void ByPlane (const PlaneType &p)
template<class FLTYPE >
bool Gauss33 (FLTYPE x[], FLTYPE C[3][3+1])
bool IsValid () const
template<class ReturnScalarType >
bool Minimum (Point3< ReturnScalarType > &x)
bool Minimum (Point3< ScalarType > &x, Point3< ScalarType > &pa, Point3< ScalarType > &pb)
template<class ReturnScalarType >
bool MinimumOld (Point3< ReturnScalarType > &x)
void operator*= (const ScalarType &w)
void operator+= (const Quadric &q)
void operator= (const Quadric &q)
 Quadric ()
void SetInvalid ()
void SetZero ()

Static Public Member Functions

static double & RelativeErrorThr ()

Public Attributes

ScalarType a [6]
ScalarType b [3]
ScalarType c

Detailed Description

template<typename _ScalarType>
class vcg::math::Quadric< _ScalarType >

Definition at line 40 of file quadric.h.


Member Typedef Documentation

template<typename _ScalarType>
typedef _ScalarType vcg::math::Quadric< _ScalarType >::ScalarType

Definition at line 43 of file quadric.h.


Constructor & Destructor Documentation

template<typename _ScalarType>
vcg::math::Quadric< _ScalarType >::Quadric ( ) [inline]

Definition at line 48 of file quadric.h.


Member Function Documentation

template<typename _ScalarType>
template<class ResultScalarType >
ResultScalarType vcg::math::Quadric< _ScalarType >::Apply ( const Point3< ResultScalarType > &  p) const [inline]

Definition at line 158 of file quadric.h.

template<typename _ScalarType>
template<class LineType >
void vcg::math::Quadric< _ScalarType >::ByLine ( const LineType &  r) [inline]

Definition at line 75 of file quadric.h.

template<typename _ScalarType>
template<class PlaneType >
void vcg::math::Quadric< _ScalarType >::ByPlane ( const PlaneType &  p) [inline]

Definition at line 55 of file quadric.h.

template<typename _ScalarType>
template<class FLTYPE >
bool vcg::math::Quadric< _ScalarType >::Gauss33 ( FLTYPE  x[],
FLTYPE  C[3][3+1] 
) [inline]

Definition at line 205 of file quadric.h.

template<typename _ScalarType>
bool vcg::math::Quadric< _ScalarType >::IsValid ( ) const [inline]

Definition at line 50 of file quadric.h.

template<typename _ScalarType>
template<class ReturnScalarType >
bool vcg::math::Quadric< _ScalarType >::Minimum ( Point3< ReturnScalarType > &  x) [inline]

Definition at line 179 of file quadric.h.

template<typename _ScalarType>
bool vcg::math::Quadric< _ScalarType >::Minimum ( Point3< ScalarType > &  x,
Point3< ScalarType > &  pa,
Point3< ScalarType > &  pb 
) [inline]

Definition at line 283 of file quadric.h.

template<typename _ScalarType>
template<class ReturnScalarType >
bool vcg::math::Quadric< _ScalarType >::MinimumOld ( Point3< ReturnScalarType > &  x) [inline]

Definition at line 269 of file quadric.h.

template<typename _ScalarType>
void vcg::math::Quadric< _ScalarType >::operator*= ( const ScalarType w) [inline]

Definition at line 137 of file quadric.h.

template<typename _ScalarType>
void vcg::math::Quadric< _ScalarType >::operator+= ( const Quadric< _ScalarType > &  q) [inline]

Definition at line 120 of file quadric.h.

template<typename _ScalarType>
void vcg::math::Quadric< _ScalarType >::operator= ( const Quadric< _ScalarType > &  q) [inline]

Definition at line 104 of file quadric.h.

template<typename _ScalarType>
static double& vcg::math::Quadric< _ScalarType >::RelativeErrorThr ( ) [inline, static]

Definition at line 168 of file quadric.h.

template<typename _ScalarType>
void vcg::math::Quadric< _ScalarType >::SetInvalid ( ) [inline]

Definition at line 51 of file quadric.h.

template<typename _ScalarType>
void vcg::math::Quadric< _ScalarType >::SetZero ( ) [inline]

Definition at line 90 of file quadric.h.


Member Data Documentation

template<typename _ScalarType>
ScalarType vcg::math::Quadric< _ScalarType >::a[6]

Definition at line 44 of file quadric.h.

template<typename _ScalarType>
ScalarType vcg::math::Quadric< _ScalarType >::b[3]

Definition at line 45 of file quadric.h.

template<typename _ScalarType>
ScalarType vcg::math::Quadric< _ScalarType >::c

Definition at line 46 of file quadric.h.


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


shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:41:49