Class TransformBase
Last update: 09.03.2026Namespace: VM.Managed
Assembly: VMAppCore.dll
This class is to represent the transform base. Getting the information of transform(TMatrix type) through TransformMatrix property. Getting the information of position(VectorBase type) through Position property. Getting the information of orientation(OMatrix type) through Orientation property. After picking, Getting information of TransformBase through picker.
public class TransformBase : Expression, IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IExpression, ITransformBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasReplaceableEntity
Inheritance
object ← ObservableObject ← LinkableBase ← LinkContainer ← Expression ← TransformBase
Derived
TransformLink, TransformMatrix, TransformPointAndOrientation, TransformThreePoints
Implements
IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IExpression, ITransformBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasReplaceableEntity
Inherited Members
Expression.g_bSkipUpdate, Expression.m_pExpressionHandler, Expression.m_strValue, Expression.m_dicReferenceObject, Expression.m_lstReferenceObject, Expression.m_linkCollectionReferenceObject, Expression.Initialize(), Expression.UpdateByReferenceObject(object, LinkEventArgs), Expression.AddReferenceObject(UIntPtr), Expression.CheckReferenceObject(), Expression.SetDefaultString(ref string), Expression.ConvertToValue(string), Expression.ParseToValue(char*), Expression.GetNumericValue(), Expression.OnDeserialization(object), Expression.Uninitialize(), Expression.String, LinkContainer.SetModified(), LinkContainer.raise_OnUpdating(object, LinkEventArgs), LinkContainer.raise_OnUpdate(object, LinkEventArgs), LinkContainer.raise_OnDestroying(object, LinkEventArgs), LinkContainer.raise_OnDestroy(object, LinkEventArgs), LinkContainer.raise_OnAdded(object, AddToDocEventArgs), LinkContainer.raise_OnRemoved(object, RemoveFromDocEventArgs), LinkContainer.GetTargetListForUpdate(), LinkContainer.SkipUpdateObjectImpl(), LinkContainer.Initialize(Unit.ConvertFactor), LinkContainer.SetFlagWhenXMLFile(string, bool), LinkContainer.IsSerializableEvent(Delegate), LinkContainer.CustomGetObjectData(SerializationInfo, StreamingContext), LinkContainer.GetSerializedData(SerializationInfo, StreamingContext), LinkContainer.LinkRequestUpdating(object, LinkEventArgs), LinkContainer.LinkRequestUpdate(object, LinkEventArgs), LinkContainer.LinkRequestDestroying(object, LinkEventArgs), LinkContainer.LinkRequestDestroy(object, LinkEventArgs), LinkContainer.LinkAddedToDocument(object, AddToDocEventArgs), LinkContainer.LinkRemovedFromDocument(object, RemoveFromDocEventArgs), LinkContainer.OnLinkReserved(ILink, object, EventArgs), LinkContainer.CanBeDestroy(object), LinkContainer.DisposeManagedResources(), LinkContainer.SetContainer(IOwned, bool), LinkContainer.OnChildUpdated(object, LinkEventArgs), LinkContainer.OnContainerDestroy(object, LinkEventArgs), LinkContainer.OnDeserialization(object), LinkContainer.Verify(VerifiedResult), LinkContainer.GetCopy(object), LinkContainer.Dispose(bool), LinkContainer.ClearChildInfoBeforeDeserialize, LinkContainer.Container, LinkContainer.Owner, LinkContainer.Document, LinkContainer.ID, LinkContainer.IsChildExternable, LinkContainer.IsExternable, LinkContainer.OnRemoved, LinkContainer.OnAdded, LinkContainer.OnDestroy, LinkContainer.OnDestroying, LinkContainer.OnUpdate, LinkContainer.OnUpdating, LinkableBase.OnDeserialization(object), ObservableObject.Dispose(), ObservableObject.RaisePropertyChanged(string), ObservableObject.RaisePropertyChanged(string, object, object), ObservableObject.Dispose(bool), ObservableObject.DisposeManagedResources(), ObservableObject.DisposeUnmanagedResources(), ObservableObject.IsDisposed, ObservableObject.TryDisposing, ObservableObject.Disposed, ObservableObject.Disposing, ObservableObject.PropertyChanged
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)
Constructors
TransformBase(string)
Initializes a new instance of the
public TransformBase(string strValue)
Parameters
strValue string
The value of Variable(string type).
TransformBase()
Initializes a new instance of the
public TransformBase()
Fields
m_matTransform
protected TMatrix m_matTransform
Field Value
Properties
AngleType
Gets the specifies angle type.
public virtual AngleTypes AngleType { get; }
Property Value
AngleTypes
IsParameterized
Gets the parametric.
public virtual bool IsParameterized { get; }
Property Value
bool
Orientation
Gets the information of orientation(OMatrix type).
public virtual OMatrix Orientation { get; }
Property Value
OrientationImpl
Gets the information of orientation(OMatrix type).
virtual OMatrix OrientationImpl { get; }
Property Value
OMatrix
Position
Gets the information of position(VectorBase type).
public virtual VectorBase Position { get; }
Property Value
PositionImpl
Gets the information of position(VectorBase type).
virtual Vector PositionImpl { get; }
Property Value
Vector
RotationAngles
Gets the list of ration angles.
public virtual double[] RotationAngles { get; }
Property Value
double[]
RotationAxis
Gets the rotation axes type.
public virtual RotationAxes RotationAxis { get; }
Property Value
RotationAxes
RotationType
Gets the specifies rotation type.
public virtual RotationTypes RotationType { get; }
Property Value
RotationTypes
TransformationMatrix
Gets the information of transform(TMatrix type).
public virtual TMatrix TransformationMatrix { get; set; }
Property Value
TransformationMatrixImpl
Gets the information of transform(TMatrix type).
virtual TMatrix TransformationMatrixImpl { get; }
Property Value
TMatrix
UseExpression
Gets the UseExpression.
public bool UseExpression { get; }
Property Value
bool
Methods
GetSchema()
This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return nullNothingnullptra null reference (Nothing in Visual Basic) (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the XmlSchemaProviderAttribute to the class.
public virtual XmlSchema GetSchema()
Returns
XmlSchema
HasReplaceableEntity(IObjectBase)
Gets a value indicating whether this instance has replacable entity.
public virtual bool HasReplaceableEntity(IObjectBase oldObject)
Parameters
oldObject IObjectBase
The old object
Returns
bool
if this instance has replacable entity, the result is true.
ReadXml(XmlReader)
Generates an object from its XML representation.
public virtual void ReadXml(XmlReader reader)
Parameters
reader XmlReader
The XmlReader stream from which the object is deserialized.
ReplaceEntity(IObjectBase, IObjectBase)
Replace Entity
public virtual bool ReplaceEntity(IObjectBase oldObject, IObjectBase newObject)
Parameters
oldObject IObjectBase
The old object
newObject IObjectBase
The new object
Returns
bool
if success, the result is true.
WritePosAndOriToXml(XmlWriter)
Converts an object into its XML representation about pointAndOrientation.
protected void WritePosAndOriToXml(XmlWriter writer)
Parameters
writer XmlWriter
The XmlWriter stream to which the object is serialized about pointAndOrientation.
WriteXml(XmlWriter)
Converts an object into its XML representation.
public virtual void WriteXml(XmlWriter writer)
Parameters
writer XmlWriter
The XmlWriter stream to which the object is serialized.