Skip to content
On this page

class OcclusionMeshProcessor

The occlusion mesh processor creates a reconstruction of the input mesh from its silhouette. This means concavities and internal geometry disappear. WARNING: Experimental. Generates nice meshes, but currently very slow at high settings. Recommended onscreensize ~100

Properties

PropertyDescription
NameThe name of the OcclusionMeshProcessor object. (Inherited from Object)
SceneThe scene used for processing. All mesh nodes in the whole scene tree will be replaced by one proxy mesh. Please note that internal references might be modified by the processor. The caller should refresh any reference that is cached outside the scene after running the processor.

Methods

MethodDescription
AddObserverAdds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object)
ClearClear all internal states of the object. This will NOT clear the parameters set in the object. (Inherited from ProcessingObject)
GetClassGet the name of the OcclusionMeshProcessor class. (Inherited from Object)
GetOcclusionMeshSettingsThe settings for the OcclusionMeshProcessor.
GetPercentDoneReturns the current progress of the processing as a value between 0 and 100. (Inherited from ProcessingObject)
IsAReturns true if OcclusionMeshProcessor is a or is a descendant of the class named as the type parameter. (Inherited from Object)
IsNullReturns true if the OcclusionMeshProcessor object is invalid. (Inherited from Object)
IsSameObjectAsReturns true if the OcclusionMeshProcessor object is valid. (Inherited from Object)
NonNullReturns true if the OcclusionMeshProcessor object is valid. (Inherited from Object)
PrintInfoPrints the content/info of the OcclusionMeshProcessor object to the log. (Inherited from Object)
RemoveObserverRemoves a previously added observer object. (Inherited from Object)
RunProcessingRuns the processing the object is designed for. If the process succeeds, the return value is NoError. If the process fails, and the error is recoverable, an error code is returned. (Inherited from ProcessingObject)
ToJSONGet settings as JSON for debugging purposes. (Inherited from ProcessingObject)

Static methods

MethodDescription
IsClassAReturns true if the class is a or is a descendant of the class named as the type parameter. (Inherited from Object)
SafeCastSafeCast makes sure the input object is of a class that can be cast into spOcclusionMeshProcessor, and if this is the case, returns the object cast into spOcclusionMeshProcessor. (Inherited from Object)

Properties details

Name

The name of the OcclusionMeshProcessor object. (Inherited from Object)

Scene

The scene used for processing. All mesh nodes in the whole scene tree will be replaced by one proxy mesh. Please note that internal references might be modified by the processor. The caller should refresh any reference that is cached outside the scene after running the processor.

Methods details

AddObserver

Adds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object)

Clear

Clear all internal states of the object. This will NOT clear the parameters set in the object.

GetClass

Get the name of the OcclusionMeshProcessor class. (Inherited from Object)

GetOcclusionMeshSettings

The settings for the OcclusionMeshProcessor.

GetPercentDone

Returns the current progress of the processing as a value between 0 and 100.

IsA

Returns true if OcclusionMeshProcessor is a or is a descendant of the class named as the type parameter. (Inherited from Object)

IsNull

Returns true if the OcclusionMeshProcessor object is invalid. (Inherited from Object)

IsSameObjectAs

Returns true if the OcclusionMeshProcessor object is valid. (Inherited from Object)

NonNull

Returns true if the OcclusionMeshProcessor object is valid. (Inherited from Object)

PrintInfo

Prints the content/info of the OcclusionMeshProcessor object to the log. (Inherited from Object)

RemoveObserver

Removes a previously added observer object. (Inherited from Object)

RunProcessing

Runs the processing the object is designed for. If the process succeeds, the return value is NoError. If the process fails, and the error is recoverable, an error code is returned.

ToJSON

Get settings as JSON for debugging purposes.

Static methods details

IsClassA

Returns true if the class is a or is a descendant of the class named as the type parameter. (Inherited from Object)

SafeCast

SafeCast makes sure the input object is of a class that can be cast into spOcclusionMeshProcessor, and if this is the case, returns the object cast into spOcclusionMeshProcessor. (Inherited from Object)