Click or drag to resize

InverseScaleRescaleConditions Class

Stores rescaling conditions for inverse scales.
Inheritance Hierarchy

Namespace: Altaxo.Graph.Scales.Rescaling
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
[SerializableAttribute]
public class InverseScaleRescaleConditions : NumericScaleRescaleConditions

The InverseScaleRescaleConditions type exposes the following members.

Constructors
 NameDescription
Public methodInverseScaleRescaleConditions Initializes a new instance of the InverseScaleRescaleConditions class.
Public methodInverseScaleRescaleConditions(InverseScaleRescaleConditions) Initializes a new instance of the InverseScaleRescaleConditions class by copying another instance.
Top
Properties
 NameDescription
Protected propertyAccumulatedEventData Gets the accumulated event data.
(Inherited from SuspendableDocumentLeafNodeWithSingleAccumulatedDataT)
Protected propertyDebug_AbsolutePath Gets the absolute path of the node for debugging purposes.
(Inherited from SuspendableDocumentNodeBase)
Public propertyEndRelativeTo Gets the reference mode used for the end value.
(Inherited from NumericScaleRescaleConditions)
Public propertyEndRescaling Gets the end rescaling mode.
(Inherited from NumericScaleRescaleConditions)
Public propertyIsDisposed Gets a value indicating whether this instance is disposed.
(Inherited from SuspendableDocumentNodeBase)
Public propertyIsDisposeInProgress Gets a value indicating whether for this instance dispose is in progress, or the instance is already disposed.
(Inherited from SuspendableDocumentNodeBase)
Public propertyIsResultingEndFixed Gets a value indicating whether the resulting end is fixed.
(Inherited from NumericScaleRescaleConditions)
Public propertyIsResultingOrgFixed Gets a value indicating whether the resulting origin is fixed.
(Inherited from NumericScaleRescaleConditions)
Public propertyIsSomeoneListeningToChanges Gets a value indicating whether someone is listening to changes. For this, either the ParentObject or the Changed event must be set.
(Inherited from SuspendableDocumentNodeBase)
Public propertyIsSuspended Gets a value indicating whether this instance is suspended.
(Inherited from SuspendableDocumentLeafNode)
Public propertyName Gets the name of this document node. Null is returned if the name is not set or unknown. The set accessor will for most nodes throw a InvalidOperationException, since the name can only be set on IProjectItems.
(Inherited from SuspendableDocumentNodeBase)
Public propertyOrgRelativeTo Gets the reference mode used for the origin.
(Inherited from NumericScaleRescaleConditions)
Public propertyOrgRescaling Gets the origin rescaling mode.
(Inherited from NumericScaleRescaleConditions)
Public propertyParentObject Gets/sets the parent object this instance belongs to.
(Inherited from SuspendableDocumentNodeBase)
Public propertyResultingEnd Gets the resulting end.
(Overrides NumericScaleRescaleConditionsResultingEnd)
Public propertyResultingInverseEnd Gets the resulting end in inverse representation.
Public propertyResultingInverseOrg Gets the resulting origin in inverse representation.
Public propertyResultingOrg Gets the resulting origin.
(Overrides NumericScaleRescaleConditionsResultingOrg)
Public propertyUserProvidedEndValue Gets the user-provided end value.
(Overrides NumericScaleRescaleConditionsUserProvidedEndValue)
Public propertyUserProvidedOrgValue Gets the user-provided origin value.
(Overrides NumericScaleRescaleConditionsUserProvidedOrgValue)
Top
Methods
 NameDescription
Protected methodAccumulateChangeData Accumulates the change data of the child.
(Inherited from SuspendableDocumentLeafNodeWithEventArgs)
Protected methodAccumulatedChangeData_SetBackAfterResumeAndSuspend Sets the change data without further processing. This function is infrastructure and intended to use only in OnResume after the parent has suspended this node again.
(Inherited from SuspendableDocumentLeafNodeWithSingleAccumulatedDataT)
Protected methodAccumulatedEventData_Clear Clears the accumulated event data.
(Inherited from SuspendableDocumentLeafNodeWithSingleAccumulatedDataT)
Protected methodAccumulatedEventData_HasZeroOrOneEventArg Determines whether there is no or only one single event arg accumulated. If this is the case, the return value is true. If there is one event arg accumulated, it is returned in the argument singleEventArg. The return value is false if there is more than one event arg accumulated. In this case the singleEventArg is null on return, and the calling function should use AccumulatedEventData to enumerate all accumulated event args.
(Inherited from SuspendableDocumentLeafNodeWithSingleAccumulatedDataT)
Protected methodChildDisposeMemberT Helper function to dispose a child node of this instance. It helps to ensure the correct order: first, the child node is set to null and only then the child node is disposed.
(Inherited from SuspendableDocumentNodeBase)
Public methodCloneCreates a new object that is a copy of the current instance.
(Overrides NumericScaleRescaleConditionsClone)
Public methodCopyFromCopies from another instance.
(Inherited from NumericScaleRescaleConditions)
Public methodDispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from SuspendableDocumentNodeBase)
Protected methodDispose(Boolean) Releases unmanaged and - optionally - managed resources.
(Inherited from SuspendableDocumentNodeBase)
Public methodEhParentTunnelingEventHappened Is called by the parent when a tunneling event happened into the parent.
(Inherited from SuspendableDocumentNodeBase)
Public methodEhSelfChanged Calls EhSelfChanged(EventArgs) with Empty.
(Inherited from SuspendableDocumentLeafNodeWithEventArgs)
Protected methodEhSelfChanged(EventArgs) Called if some member of this instance itself has changed.
(Inherited from SuspendableDocumentLeafNode)
Public methodEhSelfTunnelingEventHappened(TunnelingEventArgs) Is called by this instance if a tunneling event happened into this instance. The tunneling event triggers the TunneledEvent and is additionally distributed to all childs of this instance.
(Inherited from SuspendableDocumentNodeBase)
Public methodEhSelfTunnelingEventHappened(TunnelingEventArgs, Boolean) Is called by this instance if a tunneling event happened into this instance. The tunneling event triggers the TunneledEvent and is - depending on the provided parameter - also distributed to all childs of this instance.
(Inherited from SuspendableDocumentNodeBase)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Finalizes an instance of the SuspendableDocumentNodeBase class.
(Inherited from SuspendableDocumentNodeBase)
Protected methodFixValuesForDataBoundsOrgAndEnd Fixes the data bounds org and end. Here we modify the bounds if org and end are equal.
(Overrides NumericScaleRescaleConditionsFixValuesForDataBoundsOrgAndEnd(Double, Double))
Protected methodFixValuesForUserZoomed Fixes the values when the user zoomed. For instance, if org is greater then end, both values are interchanged.
(Overrides NumericScaleRescaleConditionsFixValuesForUserZoomed(Double, Double))
Protected methodGetDataBoundsScaleMean Gets the mean value of the data bounds. We use the 'scale' mean, i.e. the physical value of the scale where its logical value is 0.5.
(Overrides NumericScaleRescaleConditionsGetDataBoundsScaleMean)
Public methodGetEndValueToShowInDialog Gets the end value that should be shown in the rescaling dialog.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetOrgValueToShowInDialog Gets the origin value that should be shown in the rescaling dialog.
Protected methodGetResultingEndFromUserProvidedEnd Converts the user-provided end value to the resulting end value.
(Overrides NumericScaleRescaleConditionsGetResultingEndFromUserProvidedEnd)
Protected methodGetResultingOrgFromUserProvidedOrg Converts the user-provided origin value to the resulting origin value.
(Overrides NumericScaleRescaleConditionsGetResultingOrgFromUserProvidedOrg)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodGetUserProvidedEndFromResultingEnd Converts a resulting end value back to the user-provided end value.
(Overrides NumericScaleRescaleConditionsGetUserProvidedEndFromResultingEnd(Double))
Protected methodGetUserProvidedOrgFromResultingOrg Converts a resulting origin value back to the user-provided origin value.
(Overrides NumericScaleRescaleConditionsGetUserProvidedOrgFromResultingOrg(Double))
Protected methodHandleLowPriorityChildChangeCases Handles the cases when a child changes, but a reaction is necessary only if the node is currently not suspended.
(Inherited from SuspendableDocumentLeafNode)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodOnAboutToBeResumed Is called when the suspend level is still 1 (one), but is about to fall to zero, i.e. shortly before the call to OnResume. This function is not called before OnResumeSilently!
(Inherited from SuspendableDocumentLeafNode)
Protected methodOnChanged Fires the change event with the EventArgs provided in the argument.
(Inherited from SuspendableDocumentNodeBase)
Public methodOnDataBoundsChanged Announces a change of the data bounds of the set of data belonging to a scale.
(Inherited from NumericScaleRescaleConditions)
Protected methodOnResume Is called when the suspend level falls down from 1 to zero by a call to Resume or a call to [M:Altaxo.Main.ISuspendToken.Dispose()].
(Inherited from SuspendableDocumentLeafNode)
Protected methodOnResumeSilently Is called when the suspend level falls down from 1 to zero by a call to ResumeSilently. The implementation should delete any accumulated events, should also disarm the suspendTokens of the childs of this object, and should not fire any Changed events nor set the change state of the object to dirty.
(Inherited from SuspendableDocumentLeafNode)
Protected methodOnSuspended Called when the suspend level has just gone from 0 to 1, i.e. the object was suspended.
(Inherited from SuspendableDocumentLeafNode)
Protected methodOnTunnelingEvent Fires the TunneledEvent event.
(Inherited from SuspendableDocumentNodeBase)
Public methodOnUserRescaled Updates the rescaling state after a user-initiated rescale command.
(Inherited from NumericScaleRescaleConditions)
Public methodOnUserZoomed Updates the rescaling state after a user zoom action.
(Inherited from NumericScaleRescaleConditions)
Protected methodProcessEnd_DataBoundsChanged Recalculates the resulting end after the data bounds changed.
(Inherited from NumericScaleRescaleConditions)
Protected methodProcessEnd_UserParametersChanged Recalculates the resulting end after user parameters changed.
(Inherited from NumericScaleRescaleConditions)
Protected methodProcessEnd_UserRescaled Recalculates the resulting end after the user changed the rescaling mode.
(Inherited from NumericScaleRescaleConditions)
Protected methodProcessEnd_UserZoomed Recalculates the resulting end after the user zoomed the end boundary.
(Inherited from NumericScaleRescaleConditions)
Protected methodProcessOrg_DataBoundsChanged Recalculates the resulting origin after the data bounds changed.
(Inherited from NumericScaleRescaleConditions)
Protected methodProcessOrg_UserParametersChanged Recalculates the resulting origin after user parameters changed.
(Inherited from NumericScaleRescaleConditions)
Protected methodProcessOrg_UserRescaled Recalculates the resulting origin after the user changed the rescaling mode.
(Inherited from NumericScaleRescaleConditions)
Protected methodProcessOrg_UserZoomed Recalculates the resulting origin after the user zoomed the origin boundary.
(Inherited from NumericScaleRescaleConditions)
Public methodResume(ISuspendToken) Resumes changed events by calling Resume for the provided suspend token, and setting the reference to the suspend token to null. If Event data were accumulated during the suspended state, a changed event is triggered for each event data.
(Inherited from SuspendableDocumentNodeBase)
Public methodResume(ISuspendToken, EventFiring) Resumes changed events, either with taking the accumulated event data into account (see Resume(ISuspendToken)) or discarding the accumulated event data (see ResumeSilently(ISuspendToken), depending on the provided argument eventFiring.
(Inherited from SuspendableDocumentNodeBase)
Public methodResumeCompleteTemporarily Resumes the object completely for only a short time. Thus, if object was suspended before, it will be suspended again when the function returns.
(Inherited from SuspendableDocumentLeafNode)
Public methodResumeCompleteTemporarilyGetToken Resumes the object completely for the time the returned token is referenced and not disposed. The return value is a token that had 'absorbed' the suspend count of the object, resulting in the suspend count of the object dropped to 0 (zero). When the returned token is finally disposed, the suspend count of the object is increased again by the 'absorbed' suspend count.
(Inherited from SuspendableDocumentLeafNode)
Public methodResumeSilently Resumes changed events by calling Resume for the provided suspend token, and setting the reference to the suspend token to null. All event data accumulated during the suspended state are discarded, and thus no change event is triggered even if the instance has changed during the suspended state.
(Inherited from SuspendableDocumentNodeBase)
Public methodSetDisposeInProgress Sets the flag that dispose is in progress for this node and all child nodes recursively.
(Inherited from SuspendableDocumentNodeBase)
Protected methodSetMemberAndRaiseSelfChangedT(NullableT, NullableT) Sets a member variable of this instance and raise a change event with Empty if the new value is different from the old value. The comparison is done using the IEquatableT interface of the member variable. Note: to set members that implement IDocumentNode please use the Child... functions.
(Inherited from SuspendableDocumentNodeBase)
Protected methodSetMemberAndRaiseSelfChangedT(T, T) Sets a member variable of this instance and raise a change event with Empty if the new value is different from the old value. The comparison is done using the IEquatableT interface of the member variable. Note: to set members that implement IDocumentNode please use the Child... functions.
(Inherited from SuspendableDocumentNodeBase)
Protected methodSetMemberEnumAndRaiseSelfChangedT Sets a member variable (which is an Enum) of this instance and raise a change event with Empty if the new value is different from the old value. The comparison is done using the IEquatableT interface of the member variable. Note: to set members that implement IDocumentNode please use the Child... functions.
(Inherited from SuspendableDocumentNodeBase)
Public methodSetUserParameters(BoundaryRescaling, Double, BoundaryRescaling, Double) Sets user-provided rescaling parameters using absolute numeric values.
(Inherited from NumericScaleRescaleConditions)
Public methodSetUserParameters(BoundaryRescaling, BoundariesRelativeTo, Double, BoundaryRescaling, BoundariesRelativeTo, Double) Sets user-provided rescaling parameters using numeric values and relative modes.
(Overrides NumericScaleRescaleConditionsSetUserParameters(BoundaryRescaling, BoundariesRelativeTo, Double, BoundaryRescaling, BoundariesRelativeTo, Double))
Public methodSuspendGetToken Suspend will increase the SuspendLevel.
(Inherited from SuspendableDocumentLeafNode)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryGetName Test if this item already has a name.
(Inherited from SuspendableDocumentNodeBase)
Top
Events
 NameDescription
Public eventChangedFired when something in the object has changed, and the object is not suspended.
(Inherited from SuspendableDocumentNodeBase)
Public eventTunneledEvent The event that is fired when the object is disposed. First argument is the sender, second argument is the original source, and third argument is the event arg.
(Inherited from SuspendableDocumentNodeBase)
Top
Fields
 NameDescription
Protected field_accumulatedEventData Holds the accumulated change data.
(Inherited from SuspendableDocumentLeafNodeWithSingleAccumulatedDataT)
Protected field_dataBoundsEnd Stores the upper data bound.
(Inherited from NumericScaleRescaleConditions)
Protected field_dataBoundsOrg Stores the lower data bound.
(Inherited from NumericScaleRescaleConditions)
Protected field_endRescaling Stores the rescaling mode for the end boundary.
(Inherited from NumericScaleRescaleConditions)
Protected field_orgRescaling Stores the rescaling mode for the origin boundary.
(Inherited from NumericScaleRescaleConditions)
Protected field_parent The parent object this instance belongs to.
(Inherited from SuspendableDocumentNodeBase)
Protected field_resultingEnd Stores the resulting end value.
(Inherited from NumericScaleRescaleConditions)
Protected field_resultingMaxEnd Stores the maximum permissible resulting end value.
(Inherited from NumericScaleRescaleConditions)
Protected field_resultingMinOrg Stores the minimum permissible resulting origin value.
(Inherited from NumericScaleRescaleConditions)
Protected field_resultingOrg Stores the resulting origin value.
(Inherited from NumericScaleRescaleConditions)
Protected field_userProvidedEndRelativeTo Stores how the user-provided end value is interpreted relative to the data bounds.
(Inherited from NumericScaleRescaleConditions)
Protected field_userProvidedEndValue Stores the user-provided end value.
(Inherited from NumericScaleRescaleConditions)
Protected field_userProvidedOrgRelativeTo Stores how the user-provided origin value is interpreted relative to the data bounds.
(Inherited from NumericScaleRescaleConditions)
Protected field_userProvidedOrgValue Stores the user-provided origin value.
(Inherited from NumericScaleRescaleConditions)
Top
See Also