SoPolylineResamplerApproximation3d Class Reference
[Computational Geometry]

ImageViz SoPolylineResamplerApproximation3d polyline approximation. More...

#include <ImageViz/Engines/ImageSegmentation/ComputationalGeometry/SoPolylineResamplerApproximation3d.h>

Inheritance diagram for SoPolylineResamplerApproximation3d:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Types

enum  InterpolationMode {
  LINEAR = 0,
  CUBIC = 1,
  CATMULLROM = 2
}

Public Member Functions

 SoPolylineResamplerApproximation3d ()

Public Attributes

SoMFVec3f inPolyline
SoSFEnum interpolationMode
SoSFDouble spacing
SoImageVizEngineMFieldOutput
< SoMFVec3f, const SbVec3f * > 
outPolyline

Detailed Description

ImageViz SoPolylineResamplerApproximation3d polyline approximation.

This engine resamples the input 3d polyline using either a linear, cubic or a cubic with Paul Breeuwsma coefficients (Catmull-Rom spline) interpolation. The spacing between new points are defined by the spacing parameter.

FILE FORMAT/DEFAULT

SEE ALSO

SoPolylineResamplerApproximation2d, SoPolylineExtrusionApproximation3d


Library references:
See related examples:

MedicalDentalSurfaceUnfolding


Member Enumeration Documentation

Enumerator:
LINEAR 

Linear interpolation mode (default).

CUBIC 

Cubic interpolation mode.

CATMULLROM 

Cubic interpolation using Paul Breeuwsma coefficients (Catmull-Rom spline) mode.


Constructor & Destructor Documentation

SoPolylineResamplerApproximation3d::SoPolylineResamplerApproximation3d (  ) 

Constructor.


Member Data Documentation

Input polyline to resample.

Interpolation mode.

Use enum InterpolationMode. Default is LINEAR.

Output resampled polyline.

Spacing between nodes in extrusion.

This spacing is expressed in world coordinates. Default is 1.


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

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/