SoPolylineExtrusionApproximation3d polyline approximation. More...
#include <ImageViz/Engines/ImageSegmentation/ComputationalGeometry/SoPolylineExtrusionApproximation3d.h>
Public Member Functions | |
SoPolylineExtrusionApproximation3d () | |
Public Attributes | |
SoMFVec3f | inPolyline |
SoSFVec3f | direction |
SoSFDouble | forwardLength |
SoSFDouble | backwardLength |
SoSFInt32 | nodeCount |
SoImageVizEngineOutput < SoSFStructuredQuadrilateralMesh, SbStructuredQuadrilateralMesh * > | outSurface |
This engine extrudes a 3d polyline in a given direction to produce a structured quadrilateral mesh.
The length of the extrusion is defined by the forwardLength and backwardLength parameters. The number of "rows" in the output structured quadrilateral mesh is defined by the nodeCount parameter.
inPolyline | NULL |
direction | 0.0f 0.0f 1.0f |
backwardLength | 1.0 |
forwardLength | 1.0 |
nodeCount | 20 |
SoPolylineResamplerApproximation2d, SoPolylineResamplerApproximation3d
SoPolylineExtrusionApproximation3d::SoPolylineExtrusionApproximation3d | ( | ) |
Constructor.
Extrusion length from the input polyline opposite to the extrusion direction.
This length is expressed in world coordinates. Default 1.
Extrusion direction.
This direction is expressed in the coordinate system of the input polyline. Default (0,0,1)
Extrusion length from the input polyline in the extrusion direction.
This length is expressed in world coordinates. Default 1.
Input polyline to extrude.
Number of nodes to create within the whole extruded section of length forwardLength + backwardLength.
Default 20.
SoImageVizEngineOutput<SoSFStructuredQuadrilateralMesh, SbStructuredQuadrilateralMesh*> SoPolylineExtrusionApproximation3d::outSurface |
Output structured quadrilateral mesh of the extruded polyline.