#include <opennurbs_plus_subd.h>
◆ MaximumCounts
Stores maximum count values for the solver to work in reasonable time.
Enumerator |
---|
MaximumRecommendedInterpolatedVertexCount | Interpolation requires building a solver. If the number of interpolated vertices is greater than MaximumInterpolatedVertexCount, the solver construction time can be too long for some users' comfort. Given sufficient time, memory, and CPU resources, the code will work with any value
|
◆ ON_SubDSurfaceInterpolator() [1/2]
ON_SubDSurfaceInterpolator::ON_SubDSurfaceInterpolator |
( |
| ) |
|
|
default |
◆ ~ON_SubDSurfaceInterpolator()
ON_SubDSurfaceInterpolator::~ON_SubDSurfaceInterpolator |
( |
| ) |
|
|
default |
◆ ON_SubDSurfaceInterpolator() [2/2]
◆ Clear()
void ON_SubDSurfaceInterpolator::Clear |
( |
| ) |
|
Description: Destroys the information need to solve the interpolation.
◆ ContextId()
const ON_UUID ON_SubDSurfaceInterpolator::ContextId |
( |
| ) |
const |
Returns: The context assigned id. This id is provided for applications using ON_SubDSurfaceInterpolator. It is not inspected or used in any part of the interpolation setup or calculations. Remarks: In Rhino, when an interpolator is being used to modify a CRhinoSubDObject, this id is often the Rhino object id.
◆ CreateFromMarkedVertices()
unsigned ON_SubDSurfaceInterpolator::CreateFromMarkedVertices |
( |
ON_SubD & |
subd, |
|
|
bool |
bInterplatedVertexRuntimeMark |
|
) |
| |
◆ CreateFromSelectedVertices()
unsigned ON_SubDSurfaceInterpolator::CreateFromSelectedVertices |
( |
ON_SubD & |
subd | ) |
|
◆ CreateFromSubD()
unsigned ON_SubDSurfaceInterpolator::CreateFromSubD |
( |
ON_SubD & |
subd | ) |
|
Parameters: subd - [in] Every vertex in subd will be a free vertex in the linear system.
◆ CreateFromVertexList() [1/6]
unsigned ON_SubDSurfaceInterpolator::CreateFromVertexList |
( |
const ON_SubDComponentList & |
interpolated_vertices | ) |
|
◆ CreateFromVertexList() [2/6]
◆ CreateFromVertexList() [3/6]
◆ CreateFromVertexList() [4/6]
◆ CreateFromVertexList() [5/6]
◆ CreateFromVertexList() [6/6]
unsigned ON_SubDSurfaceInterpolator::CreateFromVertexList |
( |
ON_SubD & |
subd, |
|
|
const ON_SimpleArray< unsigned > & |
interpolated_vertices |
|
) |
| |
◆ FixedVertexCount()
unsigned ON_SubDSurfaceInterpolator::FixedVertexCount |
( |
| ) |
const |
Returns: Number of vertices with fixed control net points.
◆ InterpolatedVertexCount()
unsigned ON_SubDSurfaceInterpolator::InterpolatedVertexCount |
( |
| ) |
const |
Returns: Number of vertices with interpolated surface points.
◆ InterpolatedVertexIndex() [1/2]
unsigned ON_SubDSurfaceInterpolator::InterpolatedVertexIndex |
( |
const ON_SubDVertex * |
vertex | ) |
const |
Returns: If vertex is an interpolated vertex, then InterpolatedVertex() is the index of the vertex in the array returned by VertexList() and UniqueVertexList(). Otherwise ON_UNSET_UINT_INDEX is returned.
◆ InterpolatedVertexIndex() [2/2]
unsigned ON_SubDSurfaceInterpolator::InterpolatedVertexIndex |
( |
unsigned |
vertex_id | ) |
const |
Returns: If vertex is an interpolated vertex, then InterpolatedVertex() is the index of the vertex in the array returned by VertexList() and UniqueVertexList(). Otherwise ON_UNSET_UINT_INDEX is returned.
◆ IsInterpolatedVertex() [1/2]
bool ON_SubDSurfaceInterpolator::IsInterpolatedVertex |
( |
const ON_SubDVertex * |
vertex | ) |
const |
Returns: True if the vertex surface point is being interpolated.
◆ IsInterpolatedVertex() [2/2]
bool ON_SubDSurfaceInterpolator::IsInterpolatedVertex |
( |
unsigned |
vertex_id | ) |
const |
Returns: True if the vertex surface point is being interpolated.
◆ operator=()
◆ SetContextId()
void ON_SubDSurfaceInterpolator::SetContextId |
( |
ON_UUID |
| ) |
|
Description: Set context assigned id. This id is provided for applications using ON_SubDSurfaceInterpolator. It is not inspected or used in any part of the interpolation setup or calculations.
◆ Solve() [1/2]
bool ON_SubDSurfaceInterpolator::Solve |
( |
const ON_3dPoint * |
surface_points | ) |
|
Parameters: surface_points [in] surface_points[] is an array of InterpolatedVertexCount() points and surface_points[i] is the desired surface point location for the vertex VertexList()[i].Vertex(). Updates the subd referenced by VertexList() so the corresponding surface points are surface_point[]
◆ Solve() [2/2]
Parameters: surface_points[in] surface_points[] is an array of InterpolatedVertexCount() points and surface_points[i] is the desired surface point location for the vertex VertexList()[i].Vertex(). Updates the subd referenced by VertexList() so the corresponding surface points are surface_point[]
◆ Transform()
void ON_SubDSurfaceInterpolator::Transform |
( |
const ON_Xform & |
xform | ) |
|
◆ UniqueVertexList()
Returns: List of vertices the with interpolated surface points. Vertices that are not in this vertex list have fixed control net points. This list is unique to this ON_SubDSurfaceInterpolator instance.
◆ VertexList()
Returns: List of vertices the with interpolated surface points. Vertices that are not in this vertex list have fixed control net points. This list might be shared with other instances of ON_SubDSurfaceInterpolator.