SoSurfaceUnfoldingProcessing3d Class Reference
[Computational Geometry]

ImageViz SoSurfaceUnfoldingProcessing3d engine More...

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

Inheritance diagram for SoSurfaceUnfoldingProcessing3d:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Types

enum  InterpolationType {
  NEAREST = 0,
  LINEAR
}

Public Member Functions

 SoSurfaceUnfoldingProcessing3d ()

Public Attributes

SoSFImageDataAdapter inImage
SoSFStructuredQuadrilateralMesh inSurface
SoSFDouble thickness
SoSFVec3i32 size
SoMFVec3f directions
SoSFDouble paddingValue
SoSFEnum interpolationType
SoImageVizEngineOutput
< SoSFImageDataAdapter,
SoImageDataAdapter * > 
outImage

Detailed Description

ImageViz SoSurfaceUnfoldingProcessing3d engine

The SoSurfaceUnfoldingProcessing3d engine computes a 3D image starting from an input 3D image and an input 3D surface.

The input 3D surface is unfolded in order to appear as a flat layer of the output 3D image. Actually the surface unfolded is a thick surface defined by the thickness field.

Thus the result of this engine is also a 3D image that corresponds to the region in the input 3D image around the input surface. The number of voxels of the output image 3D must be defined by the field size. This size is independent from the number of voxels in the input image, and independent from the number of vertices in the input surface.

Creating a human dental panoramic image is a typical use case of this engine, where:

FILE FORMAT/DEFAULT

SEE ALSO

SoPolylineExtrusionApproximation3d, SoSurfaceFittingApproximation3d

See related examples:

MedicalDentalSurfaceUnfolding


Member Enumeration Documentation

This enum defines the type of interpolation used.

Enumerator:
NEAREST 

The assigned value is the value of the nearest point in the input image.

LINEAR 

A tri-linear interpolation is used to compute the output image.


Constructor & Destructor Documentation

SoSurfaceUnfoldingProcessing3d::SoSurfaceUnfoldingProcessing3d (  ) 

Constructor.


Member Data Documentation

Optional direction vectors used to unfold the surface.

By default this field does not contain any data, which means that this engine will compute direction vectors as the normal vector to each vertex of the input surface inSurface. If this field is set, it must contain as many vectors as the number of vertices in inSurface. The field's value is ignored if it does not contain as many vectors as the number of vertices in the surface.

The input 3D image.

Default value is NULL.

The input surface as a starting point for the process.

Default value is NULL.

The type of interpolation used.

Default value is LINEAR. Use enum InterpolationType

The output image.

Default value is NULL.

The default output value.

This value is used to fill output regions having no correspondence in the input image. Default is 0.

Size of the new image.

Default value is SbVec3i32(1024,1024,256)

Distance in the input image defining the output image thickness.

Default is 0.


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

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/