BioGTK  6.0.0
A .NET library & program for annotating, editing various microscopy imaging formats using Bioformats supported images. Including whole slide, pyramidal, and series.
All Classes Namespaces Functions
BioGTK.BoxPromotion Class Reference
Inheritance diagram for BioGTK.BoxPromotion:
BioGTK.Promotion

Public Member Functions

override float[] GetInput ()
 
override float[] GetLable ()
 
- Public Member Functions inherited from BioGTK.Promotion
float[] GetInput ()
 
float[] GetLable ()
 

Properties

PointPromotion mLeftUp [get, set]
 
PointPromotion mRightBottom [get, set]
 

Additional Inherited Members

- Public Attributes inherited from BioGTK.Promotion
PromotionType mType
 
ForeGround foreGround
 

Detailed Description

Definition at line 57 of file Promotions.cs.

Constructor & Destructor Documentation

◆ BoxPromotion()

BioGTK.BoxPromotion.BoxPromotion ( )

Definition at line 59 of file Promotions.cs.

60 {
61 this.mLeftUp = new PointPromotion(ForeGround.foreground);
62 this.mRightBottom = new PointPromotion(ForeGround.foreground);
63 this.mType = PromotionType.Box;
64 }

Member Function Documentation

◆ GetInput()

override float[] BioGTK.BoxPromotion.GetInput ( )

Definition at line 65 of file Promotions.cs.

66 {
67 return new float[4] { this.mLeftUp.X,
68 this.mLeftUp.Y,
69 this.mRightBottom.X,
70 this.mRightBottom.Y };
71 }

◆ GetLable()

override float[] BioGTK.BoxPromotion.GetLable ( )

Definition at line 72 of file Promotions.cs.

73 {
74 return new float[2] { 2,3 };
75 }

Property Documentation

◆ mLeftUp

PointPromotion BioGTK.BoxPromotion.mLeftUp
getset

Definition at line 76 of file Promotions.cs.

76{ get; set; }

◆ mRightBottom

PointPromotion BioGTK.BoxPromotion.mRightBottom
getset

Definition at line 77 of file Promotions.cs.

77{ get; set; }

The documentation for this class was generated from the following file: