Class FieldRepresentationObject
- Namespace
- VirtualLabAPI.Core.FieldRepresentations
- Assembly
- VirtualLabAPI.dll
Abstract base class for all field representations.
[Serializable]
public abstract class FieldRepresentationObject : ManualSerialization, ISerializable, IDeserializationCallback, IDocument, IEquatable<IObjectBase>, ICloneable, IDisposable
- Inheritance
-
ObjectBaseSerializableObjectBaseManualSerializationFieldRepresentationObject
- Implements
-
IEquatable<IObjectBase>
- Derived
- Inherited Members
- Extension Methods
Constructors
FieldRepresentationObject()
Standard constructor.
public FieldRepresentationObject()
FieldRepresentationObject(FieldRepresentationObject)
Copy constructor.
public FieldRepresentationObject(FieldRepresentationObject fro)
Parameters
froFieldRepresentationObjectField representation object to copy.
Properties
EmbeddingMedium
Medium the light field object is located in.
public HomogeneousMedium EmbeddingMedium { get; set; }
Property Value
FieldRepresentation
Gets the type of the field representation.
public abstract FieldRepresentation FieldRepresentation { get; }
Property Value
- FieldRepresentation
FileExtension
Gets the file extension.
public abstract string FileExtension { get; }
Property Value
TypeOfDocument
The type of the document.
public abstract DocumentType TypeOfDocument { get; }
Property Value
- DocumentType
Methods
Clone()
Clones the current object.
public override object Clone()
Returns
- object
Deep copy of this object.
Equals(object, EqualityIntent)
Determines whether the specified object is equal to this instance.
public override bool Equals(object otherObject, EqualityIntent equalityIntent)
Parameters
otherObjectobjectThe object to compare with this instance.
equalityIntentEqualityIntentDefines what kind of equality you want to check when comparing two objects, for example all values or just physical equality.
Returns
Save(string)
Implementation of the IDocument Save function.
public abstract void Save(string filename)
Parameters
filenamestringPath and file name.