Click or drag to resize

MarkableBitmap Class

Provides a bitmap graphic job element for drawing a bitmap.
Inheritance Hierarchy
SystemObject
  RAYLASE.Marker.PluginBasePlugin
    RAYLASE.Marker.JobElementBaseJobElement
      RAYLASE.Marker.JobElementBaseMarkableJobElement
        RAYLASE.Marker.JobElementBaseMarkableBitmapGraphic
          RAYLASE.MarkerPlugin.JobElementsMarkableBitmap

Namespace: RAYLASE.MarkerPlugin.JobElements
Assembly: RAYLASE.MarkerPlugin (in RAYLASE.MarkerPlugin.dll) Version: 2.19.0
Syntax
C#
public class MarkableBitmap : BaseMarkableBitmapGraphic

The MarkableBitmap type exposes the following members.

Constructors
 NameDescription
Public methodMarkableBitmapInitializes a new instance of the MarkableBitmap 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.
(Inherited from BaseMarkableBitmapGraphic)
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.
(Inherited from BaseMarkableBitmapGraphic)
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).
(Inherited from BaseMarkableBitmapGraphic)
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
(Inherited from BaseMarkableBitmapGraphic)
Public propertyInvertPixel Inverts each pixel.
(Inherited from BaseMarkableBitmapGraphic)
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.
(Inherited from BaseMarkableBitmapGraphic)
Public propertyMask List of points defining the outline of the bitmap. Can be used to crop the bitmap.
(Inherited from BaseMarkableBitmapGraphic)
Public propertyPenNumber The pen for the contour of this job element.
(Inherited from BaseMarkableJobElement)
Public propertyPixelSize The pixel size of the bitmap.
(Inherited from BaseMarkableBitmapGraphic)
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.
(Inherited from BaseMarkableBitmapGraphic)
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.
(Inherited from BaseMarkableBitmapGraphic)
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.
(Inherited from BaseMarkableBitmapGraphic)
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.
(Overrides BaseMarkableJobElementBuildContent)
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.
(Inherited from BaseMarkableBitmapGraphic)
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.
(Inherited from BaseMarkableBitmapGraphic)
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
(Overrides BaseMarkableJobElementDisposeUI(PluginSettingsView))
Protected methodDoCompareWith
(Overrides BaseJobElementDoCompareWith(JobElementHolder, JobElementHolder, PropertyMask))
Protected methodDoDisposeUI
(Inherited from BasePlugin)
Protected methodDoGetUIMask
(Overrides BaseJobElementDoGetUIMask)
Protected methodDoShowUI(String)
(Inherited from BaseJobElement)
Protected methodDoShowUI(JobElementHolder, String)
(Overrides BaseJobElementDoShowUI(JobElementHolder, String))
Protected methodDoShowUI(JobElementHolder, String, PropertyMask)
(Overrides BaseJobElementDoShowUI(JobElementHolder, String, PropertyMask))
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.
(Overrides BaseJobElementDoShowUICallback(JobElementHolder, PluginSettingsView))
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.
(Inherited from BaseMarkableBitmapGraphic)
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
(Inherited from BaseMarkableBitmapGraphic)
Public methodGetExecutionTime Gets the execution time of the job element
(Inherited from BaseMarkableBitmapGraphic)
Protected methodGetNontransformedBoundingBox
(Inherited from BaseMarkableBitmapGraphic)
Public methodGetOutline Get the path representing the bounding box outline of the bitmap.
(Inherited from BaseMarkableBitmapGraphic)
Public methodGetProcessedBitmap Returns the processed bitmap used for marking.
(Overrides BaseMarkableBitmapGraphicGetProcessedBitmap(dmat4))
Public methodGetStartPosition Returns the untransformed start position.
(Inherited from BaseMarkableBitmapGraphic)
Protected methodGetTransformedBoundingBox
(Inherited from BaseMarkableBitmapGraphic)
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.
(Overrides BasePluginInitialize)
Protected methodInvokeBitmapManagerRequested
(Inherited from BaseMarkableBitmapGraphic)
Protected methodInvokePenSetUpdated
(Inherited from BaseMarkableJobElement)
Public methodIsEmpty
(Overrides BaseMarkableJobElementIsEmpty)
Protected methodLoadFromFile Loads a bitmap from a file and store it as a resource for later use.
(Inherited from BaseMarkableBitmapGraphic)
Public methodMoveTo Moves the job element so that its centroid is at the given position.
(Inherited from BaseMarkableJobElement)
Protected methodOnPowerMappingDialogRequested
(Inherited from BaseMarkableBitmapGraphic)
Public methodRebuild(dmat4) Updates the job element's contents (in terms of meta-commands) so that it will be consistent with its properties.
(Inherited from BaseMarkableBitmapGraphic)
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.
(Inherited from BaseMarkableBitmapGraphic)
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