Click or drag to resize

RayTracingProbe Class

Ray-Tracing probe for dose estimation.
Inheritance Hierarchy
SystemObject
  ema3d.Api.V25APISimObjectBaseRayTracingProbe
    ema3d.Api.V25.Charging.ProbesRayTracingProbe

Namespace: ema3d.Api.V25.Charging.Probes
Assembly: ema3d.Api.V25 (in ema3d.Api.V25.dll) Version: 0.0.0.0
Syntax
public class RayTracingProbe : APISimObjectBase<RayTracingProbe>

The RayTracingProbe type exposes the following members.

Properties
 NameDescription
Public propertyAddedThickness Get/set virtual thickness to add to ray-tracing results.
Public propertyAngleDeviation Get/set maximum allowable deviation from surface normals in the tessellation.
Public propertyDisplayName Gets/Sets the display name of the underlying sim object.
(Inherited from APISimObjectBaseTWrapper)
Public propertyGeometry Get/set surfaces associated with this detector.
Public propertyMaxAspectRatio Get/set maximum allowable aspect ratio in the tessellation.
Public propertyMaxEdgeLength Get/set maximum allowable edge length in the tessellation.
Public propertySurfaceDeviation Get/set maximum allowable deviation from surfaces in the tessellation.
Top
Methods
 NameDescription
Public methodAddBody Add all surfaces from a body to the detector.
Public methodAddSurface Add a single surface to the detector.
Public methodStatic memberCreate Create a new ray-tracing probe for the provided surfaces and tessellation options.
Public methodDelete Deletes sim object.
(Inherited from APISimObjectBaseTWrapper)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodStatic memberGetAll Retrieve all RayTracingProbe objects in the document.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetName Returns the name of the object.
(Inherited from APISimObjectBaseTWrapper)
Public methodGetSiblings Get all objects that share this object's type in the document.
(Overrides APISimObjectBaseTWrapperGetSiblings(Document))
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodSetName Sets the name of the object
(Inherited from APISimObjectBaseTWrapper)
Public methodSetVisibility Sets the visibility status of the object.
(Inherited from APISimObjectBaseTWrapper)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Example
Python
from ema3d.Api.V25.Charging.Probes.RayTracingProbe import RayTracingProbe as RayTracingProbe
#create probe for a body
newProbe = RayTracingProbe.Create(doc)
newProbe.DisplayName = body.GetName()
newProbe.AddBody(body)
newProbe.MaxEdgeLength = 0.0025
newprobe.AddedThickness = 0.001
See Also