UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Attributes | List of all members
U3dSVRGMathCRom3Surface Class Reference

#include <u3d_svrg_math_crom3_surface.hpp>

Inheritance diagram for U3dSVRGMathCRom3Surface:
U3dSVRGMathBspl3Surface U3dSVRGMathAbstractSurface U3dMathAbstractSurface

Public Member Functions

 U3dSVRGMathCRom3Surface (U3dPointsAr &points, double g_step, double t=0.5)
 
 U3dSVRGMathCRom3Surface (U3dSVRGMathCRom3Surface *surf)
 
virtual ~U3dSVRGMathCRom3Surface ()
 
double getShapeParameter ()
 
- Public Member Functions inherited from U3dSVRGMathBspl3Surface
 U3dSVRGMathBspl3Surface (U3dPointsAr &points, double g_step)
 
 U3dSVRGMathBspl3Surface (U3dSVRGMathBspl3Surface *surf)
 
virtual ~U3dSVRGMathBspl3Surface ()
 
virtual bool getPoint (double p, double q, U3dPoint &point)
 
virtual bool getXYZp (double p, double q, U3dPoint &drp)
 
virtual bool getXYZq (double p, double q, U3dPoint &drq)
 
virtual bool getXYZpp (double p, double q, U3dPoint &ddrpp)
 
virtual bool getXYZqq (double p, double q, U3dPoint &ddrqq)
 
virtual bool getXYZpq (double p, double q, U3dPoint &ddrpq)
 
- Public Member Functions inherited from U3dSVRGMathAbstractSurface
 U3dSVRGMathAbstractSurface (U3dPointsAr &points, double g_step)
 
 U3dSVRGMathAbstractSurface (U3dSVRGMathAbstractSurface *ps)
 
virtual ~U3dSVRGMathAbstractSurface ()
 
virtual void addPoint (U3dPoint *point)
 
virtual bool removePoint (int ind)
 
virtual void movePoint (int ind, double x, double y, double z)
 
int getGridPoint (int i, int j, U3dPoint &p)
 
int getGridXSize ()
 
int getGridYSize ()
 
void setMinGridStep (double eps)
 
double getMinGridStep ()
 
- Public Member Functions inherited from U3dMathAbstractSurface
 U3dMathAbstractSurface ()
 
 U3dMathAbstractSurface (const U3dMathAbstractSurface &obj)
 
virtual ~U3dMathAbstractSurface ()
 
virtual bool getXYZ (double p, double q, double &x, double &y, double &z)
 
virtual bool getCurvature (double p, double q, double &c)
 
virtual bool getMaxCurvature (double p1, double q1, double p2, double q2, double &c)
 
virtual void getAreaSize (U3dPoint &min, U3dPoint &max)
 
bool isInterpolated ()
 
virtual int getInitialPointsNum ()=0
 
virtual U3dPointgetInitialPoint (unsigned int ind)=0
 
virtual void getInitialPoints (U3dPointsAr &ps)=0
 
virtual const U3dPointsAr & getInitialPoints () const =0
 
 U3dMathAbstractSurface (U3dPointsAr &points)
 
 U3dMathAbstractSurface (U3dMathAbstractSurface *ps)
 
virtual bool getXYZ (double p, double q, double &x, double &y, double &z)
 
virtual bool getCurvature (double p, double q, double &c)
 
virtual bool getMaxCurvature (double p1, double q1, double p2, double q2, double &c)
 
virtual void getAreaSize (U3dPoint &min, U3dPoint &max)
 
bool isInterpolated ()
 
int getInitialPointsNum ()
 
U3dPointgetInitialPoint (int ind)
 
void GetInitialPoints (U3dPointsAr &ps)
 
U3dMathAbstractSurfaceoperator<< (U3dPoint *p)
 

Protected Attributes

double m_t
 
- Protected Attributes inherited from U3dSVRGMathBspl3Surface
std::vector
< U3dSimpleBspl3Curve * > 
m_bspls_x
 
std::vector
< U3dSimpleBspl3Curve * > 
m_bspls_y
 
std::vector< BsplLinem_bspls_z
 
U3dBspl3AbstractMatrixm_bm
 
double m_pq_accur
 
- Protected Attributes inherited from U3dSVRGMathAbstractSurface
double minGridEps
 
std::vector< double > grd_x
 
std::vector< double > grd_y
 
GridMatrix grid
 
- Protected Attributes inherited from U3dMathAbstractSurface
bool m_is_ip_done
 
struct
U3dMathAbstractSurface::Area3d 
area3d
 
U3dPointsAr m_ips
 

Additional Inherited Members

- Protected Types inherited from U3dSVRGMathBspl3Surface
typedef std::vector
< U3dSimpleBspl3Surface * > 
BsplLine
 
- Protected Types inherited from U3dSVRGMathAbstractSurface
typedef std::vector< GridCellGridLine
 
typedef std::vector< GridLineGridMatrix
 
- Protected Member Functions inherited from U3dSVRGMathBspl3Surface
virtual bool approximate ()
 
bool get_expanded_gp (int i, int j, U3dPoint &point)
 
- Protected Member Functions inherited from U3dSVRGMathAbstractSurface
void construct_grid (U3dPointsAr &points)
 
void push_ip (U3dPoint *point)
 
- Static Protected Member Functions inherited from U3dSVRGMathBspl3Surface
static bool find_element (double p, int n, int &nnp, double &pp)
 
static void correct_vars (double &p, double acc)
 
static void update_index (int &i, int m)
 
- Static Protected Member Functions inherited from U3dSVRGMathAbstractSurface
static int get_ip_id (double x, std::vector< double > &grd_x, double dx, double &xmn, double &xmx)
 
static void correct_id (int &id, int size)
 
- Static Protected Attributes inherited from U3dMathAbstractSurface
static double m_min_dpq
 

Detailed Description

3D surface object derived from Catmull Rom spline interpolation with 3rd order

Constructor & Destructor Documentation

U3dSVRGMathCRom3Surface::U3dSVRGMathCRom3Surface ( U3dPointsAr &  points,
double  g_step,
double  t = 0.5 
)

Constructor with interpolation points, minimal grid step and spline shape parameter provided

U3dSVRGMathCRom3Surface::U3dSVRGMathCRom3Surface ( U3dSVRGMathCRom3Surface surf)

Copy constructor JUST DO IT !!!

virtual U3dSVRGMathCRom3Surface::~U3dSVRGMathCRom3Surface ( )
virtual

Destruct object

Member Function Documentation

double U3dSVRGMathCRom3Surface::getShapeParameter ( )
inline

Return shape parameter

Member Data Documentation

double U3dSVRGMathCRom3Surface::m_t
protected

Shape parameter


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