Click or drag to resize

BaseMarkableBitmapGraphic Class

Represents the base class of all plugins of type markable job elements with bitmap graphic contents.
Inheritance Hierarchy
SystemObject
  RAYLASE.Marker.PluginBasePlugin
    RAYLASE.Marker.JobElementBaseJobElement
      RAYLASE.Marker.JobElementBaseMarkableJobElement
        RAYLASE.Marker.JobElementBaseMarkableBitmapGraphic
          RAYLASE.MarkerPlugin.JobElementsMarkableBitmap

Namespace: RAYLASE.Marker.JobElement
Assembly: RAYLASE.Marker.JobElement (in RAYLASE.Marker.JobElement.dll) Version: 2.19.0
Syntax
C#
public abstract class BaseMarkableBitmapGraphic : BaseMarkableJobElement, 
	IMarkableElementWithInputFile

The BaseMarkableBitmapGraphic type exposes the following members.

Constructors
 NameDescription
Protected methodBaseMarkableBitmapGraphicInitializes a new instance of the Object class.
Top
Properties
 NameDescription
Public propertyAllowedScanControllers List of scan controllers as the target of the job element. An empty list means the job element allows any scan controller to be the target.
(Inherited from BaseMarkableJobElement)
Protected propertyApplicationDataDirectory The directory where application data, such as logs and configurations, are stored.
(Inherited from BaseJobElement)
Public propertyAvailableScanControllers List of available scan controllers that can be used as the targets.
(Inherited from BaseMarkableJobElement)
Public propertyBitmapHolder The bitmap holder of this job element.
Protected propertyBitmapManager Bitmap manager of the job, to keep track of the bitmaps used in the job. The bitmaps can be external references or embedded in the job.
Protected propertyBoundingBoxMap
(Inherited from BaseMarkableJobElement)
Protected propertyCachedBitmapHolder Cache for bitmap holder if the bitmap manager is not yet available (ie. this job element has not been added to the job).
Public propertyCondition The binning condition for the holder of the job element.
(Inherited from BaseJobElement)
Protected propertyConfigurationManager
(Inherited from BasePlugin)
Protected propertyDefaultPenNumber
(Inherited from BaseMarkableJobElement)
Protected propertyDeviceManager
(Inherited from BaseJobElement)
Protected propertyDirtyFlagLocker The lock object for property modification.
(Inherited from BaseJobElement)
Protected propertyDoHandleConditionPortChangedDelegate
(Inherited from BaseJobElement)
Public propertyEnvelopingOutline Defines the shape used to approximate the outline.
(Inherited from BaseMarkableJobElement)
Public propertyExecutions The number of times this job element should be executed.
(Inherited from BaseMarkableJobElement)
Public propertyExecutionSequences List of sequences on how the job element is iterated during execution. Each sequence can have its own number of iteration, outline pen, and filling pen.
(Inherited from BaseMarkableJobElement)
Public propertyFilePath 
Public propertyInvertPixel Inverts each pixel.
Public propertyIsDirty The flag to indicate whether the content of this job element has been modified.
(Inherited from BaseJobElement)
Public propertyIsLocked The flag to indicate whether the content of this job element should not be modified.
(Inherited from BaseMarkableJobElement)
Public propertyJobElementID The unique ID of the job element. If the concrete class inherits from BaseJobElement, the JobElementID of the BaseJobElement will be prefilled. Recommended not to be changed.
(Inherited from BaseJobElement)
Protected propertyLogDirectory The directory of the log file.
(Inherited from BasePlugin)
Public propertyLogger The common logger.
(Inherited from BasePlugin)
Public propertyMarkableConfiguration The configuration: marker profiles, model matrix, and bounding box.
(Inherited from BaseMarkableJobElement)
Public propertyMarkerProfile The BitmapMarkerProfile of the bitmap.
Public propertyMask List of points defining the outline of the bitmap. Can be used to crop the bitmap.
Public propertyPenNumber The pen for the contour of this job element.
(Inherited from BaseMarkableJobElement)
Public propertyPixelSize The pixel size of the bitmap.
Public propertyPluginMetadata The metadata of the plugin instances. If the concrete class inherits from the BasePluginSetup interface, the metadata of the BasePluginSetup will be prefilled.
(Inherited from BasePlugin)
Public propertyPointDistance The distance between two points.
Public propertyPOIs Points of interest to be drawn on canvas but not marked.
(Inherited from BaseMarkableJobElement)
Public propertyPropertyMask
(Inherited from BaseJobElement)
Public propertyResourceID The ID of the bitmap inside the bitmap manager.
Public propertyShowConditionControllerUIDelegate The delegate to show the controller UI because no ports have been defined.
(Inherited from BaseJobElement)
Public propertySize The metric size of the bitmap.
Public propertySupportIterationLevel
(Inherited from BaseMarkableJobElement)
Protected propertyVariableManager
(Inherited from BaseJobElement)
Public propertyVariableScopeName
(Inherited from BaseJobElement)
Top
Methods
 NameDescription
Public methodAlterPenSetPostBuild Provides the possibility to alter the resolved pen set during execution.
(Inherited from BaseMarkableJobElement)
Public methodAlterPenSetPreBuild Provides the possibility to alter the resolved pen set during execution.
(Inherited from BaseMarkableJobElement)
Protected methodBuildContent Builds the job element's contents (in terms of meta-commands) so that it will be consistent with its properties.
(Inherited from BaseMarkableJobElement)
Public methodCenterToOrigin Moves the job element so that its centroid is at the origin.
(Inherited from BaseMarkableJobElement)
Public methodCompareWith
(Inherited from BaseMarkableJobElement)
Public methodConvertToEmbedded Converts the bitmap into an embedded one. Nothing is done if it is already embedded. The resource ID is adjusted accordingly if converting is successful.
Public methodConvertToNonEmbedded Converts the bitmap to an external reference. Nothing is done if it is already an external reference. The resource ID is adjusted accordingly if converting is successful.
Public methodCopyFrom Copies the source job element into this job element.
(Inherited from BaseJobElement)
Public methodCreateFromBox Sets the metric properties to fit the box defined by the two points.
(Inherited from BaseMarkableJobElement)
Public methodDispose
(Inherited from BasePlugin)
Protected methodDispose(Boolean)
(Inherited from BasePlugin)
Public methodDisposeUI
(Inherited from BaseMarkableJobElement)
Protected methodDoCompareWith
(Inherited from BaseJobElement)
Protected methodDoDisposeUI
(Inherited from BasePlugin)
Protected methodDoGetUIMask
(Inherited from BaseJobElement)
Protected methodDoShowUI(String)
(Inherited from BaseJobElement)
Protected methodDoShowUI(JobElementHolder, String)
(Inherited from BaseJobElement)
Protected methodDoShowUI(JobElementHolder, String, PropertyMask)
(Inherited from BaseJobElement)
Protected methodDoShowUICallback(PluginSettingsView) This callback method is called when a GUI settings dialog is closed with Apply or OK and is used to extract the changed properties from a settings dialog in the GUI.
(Inherited from BaseJobElement)
Protected methodDoShowUICallback(JobElementHolder, PluginSettingsView) This callback method is called when a GUI settings dialog is closed with Apply or OK and is used to extract the changed properties from a settings dialog in the GUI.
(Inherited from BaseJobElement)
Public methodFlip Flip the job element against given flags for axes.
(Inherited from BaseMarkableJobElement)
Protected methodGenerateLocalTag
(Inherited from BaseJobElement)
Public methodGetBoundingBox Returns the bounding box of the transformed job element.
(Inherited from BaseMarkableJobElement)
Public methodGetEndPosition Returns the untransformed end position.
Public methodGetExecutionStats(MarkingMode, PenSet, dmat4, Nullabledvec3) Gets the execution statistics of the job element
(Inherited from BaseMarkableJobElement)
Public methodGetExecutionStats(MarkerPen, Double, LaserProfile, dmat4, Nullabledvec3, Int32) Gets the execution statistics of the job element
Public methodGetExecutionTime Gets the execution time of the job element
Protected methodGetNontransformedBoundingBox
(Overrides BaseMarkableJobElementGetNontransformedBoundingBox)
Public methodGetOutline Get the path representing the bounding box outline of the bitmap.
Public methodGetProcessedBitmap Returns the processed bitmap used for marking.
Public methodGetStartPosition Returns the untransformed start position.
Protected methodGetTransformedBoundingBox
(Overrides BaseMarkableJobElementGetTransformedBoundingBox(dmat4))
Public methodGetUIMask
(Inherited from BaseJobElement)
Public methodHandleConditionPortChanged Performs necessary adjustments whenever the controller has updated its ports.
(Inherited from BaseJobElement)
Public methodHasPoint Tests whether a point is inside (inclusively) the job element. This applies only if the job element is on a single plane.
(Inherited from BaseMarkableJobElement)
Public methodInitialize Plug-in specific initialization can be done here if necessary.
(Inherited from BasePlugin)
Protected methodInvokeBitmapManagerRequested 
Protected methodInvokePenSetUpdated
(Inherited from BaseMarkableJobElement)
Public methodIsEmpty Returns true if job element doesn't contain any content.
(Inherited from BaseMarkableJobElement)
Protected methodLoadFromFile Loads a bitmap from a file and store it as a resource for later use.
Public methodMoveTo Moves the job element so that its centroid is at the given position.
(Inherited from BaseMarkableJobElement)
Protected methodOnPowerMappingDialogRequested 
Public methodRebuild(dmat4) Updates the job element's contents (in terms of meta-commands) so that it will be consistent with its properties.
(Overrides BaseMarkableJobElementRebuild(dmat4))
Protected methodRebuild(dmat4, CommandListType)
(Inherited from BaseMarkableJobElement)
Public methodRotate(Double) Rotates the job element a given angle around the z-axis.
(Inherited from BaseMarkableJobElement)
Public methodRotate(Double, dvec3) Rotates the job element a given angle with respect to a given vector passing through its centroid.
(Inherited from BaseMarkableJobElement)
Public methodScale(Double) Scales the job element uniformly with respect to its centroid.
(Inherited from BaseMarkableJobElement)
Public methodScale(dvec3) Scales the job element non-uniformly with respect to its centroid.
(Inherited from BaseMarkableJobElement)
Public methodScalePrepend(Double)
(Inherited from BaseMarkableJobElement)
Public methodScalePrepend(dvec3)
(Inherited from BaseMarkableJobElement)
Public methodShowUI(String)
(Inherited from BaseJobElement)
Public methodShowUI(JobElementHolder, String)
(Inherited from BaseJobElement)
Public methodShowUI(JobElementHolder, String, PropertyMask)
(Inherited from BaseMarkableJobElement)
Public methodShowUICallback(PluginSettingsView)
(Inherited from BaseJobElement)
Public methodShowUICallback(JobElementHolder, PluginSettingsView)
(Inherited from BaseMarkableJobElement)
Public methodShowUICancelCallback(PluginSettingsView) Invokes the callback that can be used when the ShowUI method is done and the user pressed the cancel button
(Inherited from BasePlugin)
Public methodShowUICancelCallback(JobElementHolder, PluginSettingsView)
(Inherited from BaseJobElement)
Public methodSplitAtPlane(FuncBaseMarkableJobElement, dvec2, dvec2, dmat4, MarkingMode, Double, Double) Splits the job element along the plate that is perpendicular to the XY plane and traversing the line defined by the two points.
(Inherited from BaseMarkableJobElement)
Public methodSplitAtPlane(FuncBaseMarkableJobElement, dvec2, dvec2, dmat4, Double, Double, Boolean) Splits the job element along the plate that is perpendicular to the XY plane and traversing the line defined by the two points.
(Inherited from BaseMarkableJobElement)
Public methodSplitAtPlane(FuncBaseMarkableJobElement, dvec3, dvec3, dvec3, dmat4, MarkingMode, Double, Double) Splits the job element along the plate defined by the two lines from p0 to p1 and p0 to p2.
(Overrides BaseMarkableJobElementSplitAtPlane(FuncBaseMarkableJobElement, dvec3, dvec3, dvec3, dmat4, MarkingMode, Double, Double))
Public methodSplitAtPlane(FuncBaseMarkableJobElement, dvec3, dvec3, dvec3, dmat4, Double, Double, Boolean) Splits the job element along the plate defined by the two lines from p0 to p1 and p0 to p2.
(Inherited from BaseMarkableJobElement)
Public methodToString
(Inherited from BasePlugin)
Public methodTransform Multiplies the model matrix with a transformation matrix.
(Inherited from BaseMarkableJobElement)
Public methodTranslate Translates the job element with a given vector.
(Inherited from BaseMarkableJobElement)
Protected methodUpdateFieldT Updates the Property to the value by using DirtyFlagLocker and setting IsDirty .
(Inherited from BaseJobElement)
Top
Events
See Also