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

The GeomView manages and renders a collection of Geometric objects. More...

Public Member Functions

 GeomView ()
 The constructor. More...
 
void AddObject (GeomObj obj)
 Add a new geometric object to the view. More...
 
void RenderText (Graphics g, string str, float fX, float fY, Brush br=null)
 Render text at a location. More...
 
void RenderSteps (Graphics g, int nSteps, int nMax)
 Renders the Gym step information. More...
 
void Render (Graphics g)
 Renders the view. More...
 

Detailed Description

The GeomView manages and renders a collection of Geometric objects.

Definition at line 475 of file Geometry.cs.

Constructor & Destructor Documentation

◆ GeomView()

MyCaffe.gym.GeomView.GeomView ( )

The constructor.

Definition at line 482 of file Geometry.cs.

Member Function Documentation

◆ AddObject()

void MyCaffe.gym.GeomView.AddObject ( GeomObj  obj)

Add a new geometric object to the view.

Parameters
objSpecifies the object to add.

Definition at line 490 of file Geometry.cs.

◆ Render()

void MyCaffe.gym.GeomView.Render ( Graphics  g)

Renders the view.

Parameters
gSpecifies the Graphics used to draw.

Definition at line 570 of file Geometry.cs.

◆ RenderSteps()

void MyCaffe.gym.GeomView.RenderSteps ( Graphics  g,
int  nSteps,
int  nMax 
)

Renders the Gym step information.

Parameters
gSpecifies the Graphics used to draw.
nStepsSpecifies the current steps.
nMaxSpecifies the maximum number of steps.

Definition at line 519 of file Geometry.cs.

◆ RenderText()

void MyCaffe.gym.GeomView.RenderText ( Graphics  g,
string  str,
float  fX,
float  fY,
Brush  br = null 
)

Render text at a location.

Parameters
gSpecifies the Graphics used to draw.
strSpecifies the text to draw.
fXSpecifies the left most x-coordinate where the text is drawn.
fYSpecifies the top most y-coordinate where the text is drawn.
brOptionally, specifies the brush to use (default = Black)

Definition at line 503 of file Geometry.cs.


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