MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
MyCaffe.gym.FormGym Class Reference

The FormGym displays the gym visualization. More...

Inheritance diagram for MyCaffe.gym.FormGym:

Public Member Functions

 FormGym (string strName, MyCaffeGymControl ctrl=null, bool bStartRecording=false)
 The constructor. More...
 
void Render (Image bmp, Image bmpAction)
 Renders the bitmap and action image (if exists). More...
 
void Render (double[] rgData, Image bmp, Image bmpAction)
 Renders the bitmap and action image (if exists). More...
 

Protected Member Functions

override void Dispose (bool disposing)
 Clean up any resources being used. More...
 

Properties

string GymName [get]
 Returns the Gym name. More...
 

Detailed Description

The FormGym displays the gym visualization.

Definition at line 19 of file FormGym.cs.

Constructor & Destructor Documentation

◆ FormGym()

MyCaffe.gym.FormGym.FormGym ( string  strName,
MyCaffeGymControl  ctrl = null,
bool  bStartRecording = false 
)

The constructor.

Parameters
strNameSpecifies the name of the Gym.
ctrlSpecifies the MyCaffeGymControl instance to use.
bStartRecordingOptionally, specifies to start recording at the start.

Definition at line 32 of file FormGym.cs.

Member Function Documentation

◆ Dispose()

override void MyCaffe.gym.FormGym.Dispose ( bool  disposing)
protected

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.

Definition at line 14 of file FormGym.Designer.cs.

◆ Render() [1/2]

void MyCaffe.gym.FormGym.Render ( double[]  rgData,
Image  bmp,
Image  bmpAction 
)

Renders the bitmap and action image (if exists).

Parameters
rgDataSpecifies the gym data used to render the visualization.
bmpSpecifies the gym visualization.
bmpActionOptionally, specifies the action image.

Definition at line 83 of file FormGym.cs.

◆ Render() [2/2]

void MyCaffe.gym.FormGym.Render ( Image  bmp,
Image  bmpAction 
)

Renders the bitmap and action image (if exists).

Parameters
bmpSpecifies the gym visualization.
bmpActionOptionally, specifies the action image.

Definition at line 62 of file FormGym.cs.

Property Documentation

◆ GymName

string MyCaffe.gym.FormGym.GymName
get

Returns the Gym name.

Definition at line 52 of file FormGym.cs.


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