Silhouettes (Object)

Interface to compute Silhouettes.

Methods


Func Add( iProductToSilhouette, iAccuracy, iAzimuts, iShapeName, iActivatedShape, iDefaultShape) As
Creates a new Silhouette and adds it to the Silhouettes collection. This function is deprecated.
Returns:
The created Silhouette
Example:
The following example creates a Silhouette newSilhouette in the Silhouette collection.
 Set newSilhouette = Silhouettes.Add
 
Sub CleanUp()
Performs some clean-up.
Func ComputeASilhouette( GroupOfSelectedProducts, iViewPoints, iAccuracy, iAccuracyForSimplification) As
Computes a silhouette on the selected products.
Parameters:
GroupOfSelectedProducts
The selected products on which you want to perform the silhouette.
iViewPoints
Array containing the viewpoints (cameras) used to perform the silhouette.
iAccuracy
Grain value for the voxels.
iAccuracyForSimplification
Accuracy for simplification of the silhouette. Let it null for no simplification.
Returns:
SilhouetteDocument: Document containing the result.
Func ComputeASilhouetteWithAReference( iGroupOfSelectedProducts, iReferenceProduct, iViewPoints, iAccuracy, iAccuracyForSimplification) As
Computes a silhouette on the selected products, according to a reference product.
Parameters:
iGroupOfSelectedProducts
The selected products on which you want to perform the silhouette.
iReferenceProduct
Product taken as a reference.
iViewPoints
Array containing the viewpoints (cameras) used to perform the silhouette.
iAccuracy
Grain value for the voxels.
iAccuracyForSimplification
Accuracy for simplification of the silhouette. Let it null for no simplification.
Returns:
SilhouetteDocument: Document containing the result.
Func SilhouetteShapeName() As
Returns the name of the associated shape.