A class for deforming a mesh based on a radial basis.
More...
#include <SurfaceSphericalDeformer.h>
List of all members.
Public Member Functions |
| SurfaceSphericalDeformer () |
| default ctor
|
| SurfaceSphericalDeformer (const Imath::V3f &_centre, const float &_radius) |
| arg ctor for centre and radius
|
| ~SurfaceSphericalDeformer () |
| empty dtor
|
Imath::V3f & | pos () |
| access the pos of deformer by reference for ease of setting AND getting
|
float & | rad () |
| access the radius of deformer by reference for ease of setting AND getting
|
void | serial_deform (Imath::V3f *i_points, Imath::V3f *o_points, int count) |
| radial deform serial implementation
|
void | ispc_deform (Imath::V3f *i_points, Imath::V3f *o_points, int count) |
| radial deform ISPC implementation
|
Detailed Description
A class for deforming a mesh based on a radial basis.
Constructor & Destructor Documentation
SurfaceSphericalDeformer::SurfaceSphericalDeformer |
( |
| ) |
|
SurfaceSphericalDeformer::SurfaceSphericalDeformer |
( |
const Imath::V3f & |
_centre, |
|
|
const float & |
_radius |
|
) |
| |
arg ctor for centre and radius
- Parameters:
-
[in] | _centre | the radial origin |
[in] | _radius | the radius of the deformer |
SurfaceSphericalDeformer::~SurfaceSphericalDeformer |
( |
| ) |
[inline] |
Member Function Documentation
void SurfaceSphericalDeformer::ispc_deform |
( |
Imath::V3f * |
i_points, |
|
|
Imath::V3f * |
o_points, |
|
|
int |
count |
|
) |
| |
radial deform ISPC implementation
- Parameters:
-
[in] | i_points | the original point to deform |
[out] | o_points | the store for deformed points |
[in] | the | count of points |
Imath::V3f& SurfaceSphericalDeformer::pos |
( |
| ) |
[inline] |
access the pos of deformer by reference for ease of setting AND getting
float& SurfaceSphericalDeformer::rad |
( |
| ) |
[inline] |
access the radius of deformer by reference for ease of setting AND getting
void SurfaceSphericalDeformer::serial_deform |
( |
Imath::V3f * |
i_points, |
|
|
Imath::V3f * |
o_points, |
|
|
int |
count |
|
) |
| |
radial deform serial implementation
- Parameters:
-
[in] | i_points | the original point to deform |
[out] | o_points | the store for deformed points |
[in] | the | count of points |
The documentation for this class was generated from the following files: