Click or drag to resize

JobElementHolder Class

Provides a unique holder for a job element so that the job element can be used as a reference as well in a different location.
Inheritance Hierarchy
SystemObject
  RAYLASE.Marker.JobElementJobElementHolder

Namespace: RAYLASE.Marker.JobElement
Assembly: RAYLASE.Marker.JobElement (in RAYLASE.Marker.JobElement.dll) Version: 2.19.0
Syntax
C#
public class JobElementHolder : IMarkableJobElementHolder, 
	ITransformable

The JobElementHolder type exposes the following members.

Constructors
 NameDescription
Public methodJobElementHolderInitializes a new instance of the Object class.
Top
Properties
 NameDescription
Public propertyBoundingBoxTransformMatrix The transformation matrix to be applied to the non-transformed bounding box of the job element..
Public propertyChildren The list of the child job elements.
Public propertyCondition The binning condition for the holder of the job element.
Public propertyJobElement The job element.
Public propertyMarkableConfiguration The configuration specific for this holder.
Public propertyNonTransformedBoundingBox The bounding box of the non-transformed job element.
Public propertyParent The parent job element holder.
Public propertySourceJobElementHolder Contains the source JobElementHolder in case of converted job elements, e.g when using OutputSingleJobElement
Public propertySplitContent 
Public propertyTransformedBoundingBox The bounding box of the transformed job element.
Top
Methods
 NameDescription
Public methodCalculateResultingModelMatrix Calculates the resulting model matrix; all the holder's parents, grandparents etc. are taken into account in case the holder is in a group or matrix/polar copy element.
Public methodCenterToOrigin Moves the job element so that its centroid is at the origin.
Public methodCopyConfigurationFrom Copies the configuration and condition from the source holder.
Public methodFlip Flip the job element against given flags for axes.
Public methodGetBoundingBox Returns the bounding box of the contained job element.
Public methodHasPoint Tests whether a point is inside (inclusively) the job element. This applies only if the job element is on a single plane.
Public methodMoveTo Moves the job element so that its centroid is at the given position.
Public methodResolvePen Resolves the pen to inherit values from the upper layers up to the given root pen.
Public methodResolvePenSet Resolves the pen set to inherit values from the upper layers up to the given root pen set.
Public methodRotate(Double) Rotates the job element a given angle around the z-axis.
Public methodRotate(Double, dvec3) Rotates the job element a given angle with respect to a given vector passing through its centroid.
Public methodScale(Double) Scales the job element uniformly with respect to its centroid.
Public methodScale(dvec3) Scales the job element non-uniformly with respect to its centroid.
Public methodScalePrepend(Double) 
Public methodScalePrepend(dvec3) 
Public methodSetJobElement(BaseJobElement) Sets the job element for this holder. Default holders are created for the children.
Public methodSetJobElement(JobElementHolder) Sets the job element for this holder from another holder. The configurations of the children holders are copied.
Public methodSetTransformation 
Public methodToStringReturns a string that represents the current object.
(Overrides ObjectToString)
Public methodTransferAndResetPensFromJobElement Transfers the pens from the job element to this holder. This is useful for example after import process, because the pens might be set to the job element instead to the holder. The pens in the job element are then reset to their default values.
Public methodTransform Multiplies the model matrix with a transformation matrix.
Public methodTranslate Translates the job element with a given vector.
Top
See Also