Class Map
Map class contains one map slice from each axel from specified depth
Inheritance
System.Object
Map
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CoreLibrary
Assembly: CoreLibrary.dll
Syntax
public class Map
Constructors
Map()
Constructor for Map.
Declaration
public Map()
Map(Slice, Slice, Slice, Int32, Int32, Int32, Map.FileType, Boolean, Int32)
Constructor for JSON serialization and deserialization. Note that the parameter names must match the attribute names (non case sensitive)
Declaration
[JsonConstructor]
public Map(Slice stackx, Slice stacky, Slice stackz, int slicesx, int slicesy, int slicesz, Map.FileType maptype, bool littleendian, int bytedepth)
Parameters
Type | Name | Description |
---|---|---|
Slice | stackx | Stack in X-axel perspective |
Slice | stacky | Stack in Y-axel perspective |
Slice | stackz | Stack in Z-axel perspective |
System.Int32 | slicesx | Amount of slices in X stack |
System.Int32 | slicesy | Amount of slices in Y stack |
System.Int32 | slicesz | Amount of slices in Z stack |
Map.FileType | maptype | Type of the map |
System.Boolean | littleendian | Is the raw file in little endian |
System.Int32 | bytedepth | How many bytes reperesent 1 pixel in raw files |
Properties
ByteDepth
Declaration
public int ByteDepth { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
LittleEndian
Declaration
public bool LittleEndian { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
MapType
Declaration
public Map.FileType MapType { get; set; }
Property Value
Type | Description |
---|---|
Map.FileType |
SlicesX
Declaration
public int SlicesX { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SlicesY
Declaration
public int SlicesY { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SlicesZ
Declaration
public int SlicesZ { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
StackX
Declaration
public Slice StackX { get; set; }
Property Value
Type | Description |
---|---|
Slice |
StackY
Declaration
public Slice StackY { get; set; }
Property Value
Type | Description |
---|---|
Slice |
StackZ
Declaration
public Slice StackZ { get; set; }
Property Value
Type | Description |
---|---|
Slice |
Methods
GetZDepth()
Returns how many slices Z stack has.
Declaration
public int GetZDepth()
Returns
Type | Description |
---|---|
System.Int32 | Amount of slices in stack Z. |
GetZHeigth()
Returns Z stack's height.
Declaration
public int GetZHeigth()
Returns
Type | Description |
---|---|
System.Int32 | Height of Z stack images. |
GetZWidth()
Returns width of Z stack.
Declaration
public int GetZWidth()
Returns
Type | Description |
---|---|
System.Int32 | Width of Z stack images. |