#include <CTiglCurvesToSurface.h>
Public Member Functions | |
| TIGL_EXPORT | CTiglCurvesToSurface (const std::vector< Handle(Geom_Curve) > &splines_vector, bool continuousIfClosed=false) |
| Surface skinning algorithm. | |
| TIGL_EXPORT | CTiglCurvesToSurface (const std::vector< Handle(Geom_Curve) > &splines_vector, const std::vector< double > ¶meters, bool continuousIfClosed=false) |
| Surface skinning algorithm. | |
| TIGL_EXPORT std::vector< double > | GetParameters () const |
| returns the parameters at the profile curves | |
| Handle (Geom_BSplineSurface) Surface() | |
| returns the skinned surface | |
| TIGL_EXPORT void | SetMaxDegree (int degree) |
| sets the maximum interpolation degree of the splines in skinning direction | |
Private Member Functions | |
| TIGL_EXPORT void | CalculateParameters (std::vector< Handle(Geom_BSplineCurve)> const &splines_vector) |
| Handle (Geom_BSplineSurface) _skinnedSurface | |
| TIGL_EXPORT void | Invalidate () |
| TIGL_EXPORT void | Perform () |
Private Attributes | |
| std::vector< Handle(Geom_BSplineCurve) > | _compatibleSplines |
| bool | _continuousIfClosed = false |
| bool | _hasPerformed = false |
| std::vector< Handle(Geom_BSplineCurve) > | _inputCurves |
| int | _maxDegree = 3 |
| std::vector< double > | _parameters |
|
explicit |
Surface skinning algorithm.
Creates a surface by interpolation of B-spline curves. The direction of the input curves is treated as u direction. The skinning will be performed in v direction. The interpolation parameters will be determined automatically.
By default, the curves are skinned continuously. This can be changed by setting the maximum degree of the interpolation in v-direction using ::SetMaxDegree.
| splines_vector | Curves to be interpolated. |
| continuousIfClosed | Make a C2 continuous surface at the start/end junction if the first and last curve are the same |
|
explicit |
Surface skinning algorithm.
Creates a surface by interpolation of B-spline curves. The direction of the input curves is treated as u direction. The skinning will be performed in v direction.
| splines_vector | Curves to be interpolated. |
| parameters | Parameters of v-direction at which the resulting surface should interpolate the input curves. |
| continuousIfClosed | Make a C2 continuous surface at the start/end junction if the first and last curve are the same |
|
private |
|
inline |
returns the parameters at the profile curves
|
private |
|
inline |
returns the skinned surface
|
inlineprivate |
|
private |
| TIGL_EXPORT void tigl::CTiglCurvesToSurface::SetMaxDegree | ( | int | degree | ) |
sets the maximum interpolation degree of the splines in skinning direction
| maxDegree | maximum degree of the splines in skinning direction |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |