SoRandomSphereGeneration3d Class Reference
[Synthetic Images]

ImageViz SoRandomSphereGeneration3d engine allow to create synthetic spheres in a binary image More...

#include <ImageViz/Engines/ImageManipulation/SyntheticImages/SoRandomSphereGeneration3d.h>

Inheritance diagram for SoRandomSphereGeneration3d:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Types

enum  Distribution {
  UNIFORM = 0,
  GAUSSIAN = 1
}

Public Member Functions

 SoRandomSphereGeneration3d ()

Public Attributes

SoSFVec3i32 imageSize
SoSFInt32 sphereNumber
SoSFEnum distribution
SoSFVec2i32 radiusRange
SoSFInt32 distance
SoImageVizEngineOutput
< SoSFImageDataAdapter,
SoImageDataAdapter * > 
outBinaryImage

Detailed Description

ImageViz SoRandomSphereGeneration3d engine allow to create synthetic spheres in a binary image

The SoRandomSphereGeneration3d engine creates a binary image containing a random distribution of spheres. User can specify size, distance, type of distribution and the sphere number.

The image below is an example of the result with the default parameters:

SoRandomSphereGeneration3d_image01.png

Generation of 5 spheres

SEE ALSO

SoRandomSphereGeneration3d

FILE FORMAT/DEFAULT


Library references: buildsphere


Member Enumeration Documentation

Enumerator:
UNIFORM 
GAUSSIAN 

Constructor & Destructor Documentation

SoRandomSphereGeneration3d::SoRandomSphereGeneration3d (  ) 

Constructor.


Member Data Documentation

The minimum length between two centers.

Default value is 40.

The distribution type for length of radius.

Use enum Distribution. Default is UNIFORM

The size of the new image.

Default value is SbVec3i32(100,100,100).

The output 3D binary image.

Default value is NULL. Supported types include: grayscale binary label color image.

The min and max size of radius (for Uniform distribution) or mean and standard deviation (for gaussian distribution).

Default value is SbVec2i32(10,20).

The number of spheres.

Default value is 5.


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

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/