This class represents a object which is prepared to print into a petri dish.
More...
|
void | Print (GCodeCollector code, double stagePositonX, double stagePositonY, double zOff) |
| This function shifts to the equivalent position the codes of the object. More...
|
|
void | Print (GCodeCollector code, Point stagePositon, double zOff) |
| This function shifts to the equivalent position the codes of the object. More...
|
|
| PetriTask (string name) |
|
| PetriTask (string name, string description) |
|
| PetriTask (string name, string description, GCodeCollector mainCode) |
|
override string | ToString () |
| Returns the name of the object. More...
|
|
void | Save (string path) |
| Serializes the object into a binary file. More...
|
|
Stream | GetStream () |
| Returns the memory stream of binarized object. More...
|
|
This class represents a object which is prepared to print into a petri dish.
◆ GetStream()
Stream GCodeAPI.PetriTask.GetStream |
( |
| ) |
|
Returns the memory stream of binarized object.
- Returns
◆ Load()
static PetriTask GCodeAPI.PetriTask.Load |
( |
string |
p | ) |
|
|
static |
Opens a binarized object.
- Parameters
-
- Returns
◆ Print() [1/2]
void GCodeAPI.PetriTask.Print |
( |
GCodeCollector |
code, |
|
|
double |
stagePositonX, |
|
|
double |
stagePositonY, |
|
|
double |
zOff |
|
) |
| |
This function shifts to the equivalent position the codes of the object.
- Parameters
-
code | Input code collection (byRef). The new codes are appended to this collection. |
stagePositonX | X positon of center of the printing area |
stagePositonY | Y positon of center of the printing area |
zOff | z offset value |
◆ Print() [2/2]
This function shifts to the equivalent position the codes of the object.
- Parameters
-
code | Input code collection (byRef). The new codes are appended to this collection. |
stagePositon | The position of center of the printing area |
zOff | z offset value |
◆ Save()
void GCodeAPI.PetriTask.Save |
( |
string |
path | ) |
|
Serializes the object into a binary file.
- Parameters
-
◆ ToString()
override string GCodeAPI.PetriTask.ToString |
( |
| ) |
|
Returns the name of the object.
- Returns
◆ Code
This is the main code collection. During the reposition process (Print functions) this code collection is centered also.
◆ Description
string GCodeAPI.PetriTask.Description |
|
getset |
◆ Name
string GCodeAPI.PetriTask.Name |
|
getset |
The documentation for this class was generated from the following file:
- E:/projects/biofiz/programs/PetriPrinter/git/gCodeAPI/PetriTask.cs