Files Classes Functions Hierarchy
#include <triangledisplay.h>
Public Member Functions | |
| void | turnon () |
| Turn all options on. | |
| triangledisplay (gobjContainer &_gx, TR const &_tr) | |
| The graphics output and triangle initialized. | |
| void | draw () |
| Write the graphics as unprocessed commands to gx. | |
Public Attributes | |
| bool | mesh |
| Display the triangle edges. | |
| bool | midpoints |
| Display the mid points. | |
| bool | bisectpoints |
| Display the bisect points. | |
| bool | centroid |
| Display the triangles centroid. | |
| bool | orthocenter |
| Display the orthocenter. | |
| bool | circumcenter |
| Display the circumcenter. | |
| bool | incenter |
| Display the incenter. | |
| bool | fermatpoint |
| Display the Fermat point. | |
| bool | napoleanpoint |
| Display the Napolean point. | |
| bool | gergonnepoint |
| Display the Gergonne point. | |
Protected Attributes | |
| gobjContainer & | gx |
| Unprocessed graphics. | |
| TR const & | tr |
| The triangle. | |
The properties are displayed in a way to show how and what they are. For example the centroid will show the point and lines from the vertexes generating the point.
Set the boolean variables and when the class is drawn the graphics are written as unprocessed commands to gx.
Definition at line 22 of file triangledisplay.h.
| triangledisplay< TR >::triangledisplay | ( | gobjContainer & | _gx, | |
| TR const & | _tr | |||
| ) | [inline] |
The graphics output and triangle initialized.
Definition at line 57 of file triangledisplay.h.
00060 : gx(_gx), tr(_tr), mesh(1), midpoints(0), bisectpoints(0), centroid(0), 00061 orthocenter(0), circumcenter(0), incenter(0), 00062 fermatpoint(0), napoleanpoint(0), gergonnepoint(0) {}
| void triangledisplay< TR >::draw | ( | ) | [virtual] |
Write the graphics as unprocessed commands to gx.
Implements gobj.
Reimplemented in triangledisplaypoints< TR >.
Referenced by triangletest::test01(), and triangletest::test03().
| void triangledisplay< TR >::turnon | ( | ) |
| bool triangledisplay< TR >::bisectpoints |
Display the bisect points.
Definition at line 36 of file triangledisplay.h.
Referenced by triangledisplay< TR >::draw(), and triangledisplay< TR >::turnon().
| bool triangledisplay< TR >::centroid |
Display the triangles centroid.
Definition at line 38 of file triangledisplay.h.
Referenced by triangledisplay< TR >::draw(), triangletest::test01(), triangletest::test03(), and triangledisplay< TR >::turnon().
| bool triangledisplay< TR >::circumcenter |
Display the circumcenter.
Definition at line 42 of file triangledisplay.h.
Referenced by triangledisplay< TR >::draw(), triangletest::test01(), triangletest::test03(), and triangledisplay< TR >::turnon().
| bool triangledisplay< TR >::fermatpoint |
Display the Fermat point.
Definition at line 46 of file triangledisplay.h.
Referenced by triangledisplay< TR >::draw(), triangletest::test01(), triangletest::test03(), and triangledisplay< TR >::turnon().
| bool triangledisplay< TR >::gergonnepoint |
Display the Gergonne point.
Definition at line 50 of file triangledisplay.h.
Referenced by triangledisplay< TR >::draw(), triangletest::test01(), triangletest::test03(), and triangledisplay< TR >::turnon().
gobjContainer& triangledisplay< TR >::gx [protected] |
Unprocessed graphics.
Definition at line 26 of file triangledisplay.h.
Referenced by triangledisplay< TR >::draw().
| bool triangledisplay< TR >::incenter |
Display the incenter.
Definition at line 44 of file triangledisplay.h.
Referenced by triangledisplay< TR >::draw(), triangletest::test01(), triangletest::test03(), and triangledisplay< TR >::turnon().
| bool triangledisplay< TR >::mesh |
Display the triangle edges.
Definition at line 32 of file triangledisplay.h.
Referenced by triangledisplay< TR >::draw(), triangletest::test01(), triangletest::test03(), and triangledisplay< TR >::turnon().
| bool triangledisplay< TR >::midpoints |
Display the mid points.
Definition at line 34 of file triangledisplay.h.
Referenced by triangledisplay< TR >::draw(), triangletest::test01(), triangletest::test03(), and triangledisplay< TR >::turnon().
| bool triangledisplay< TR >::napoleanpoint |
Display the Napolean point.
Definition at line 48 of file triangledisplay.h.
Referenced by triangledisplay< TR >::draw(), triangletest::test01(), triangletest::test03(), and triangledisplay< TR >::turnon().
| bool triangledisplay< TR >::orthocenter |
Display the orthocenter.
Definition at line 40 of file triangledisplay.h.
Referenced by triangledisplay< TR >::draw(), triangletest::test01(), triangletest::test03(), and triangledisplay< TR >::turnon().
TR const& triangledisplay< TR >::tr [protected] |
The triangle.
Definition at line 28 of file triangledisplay.h.
Referenced by triangledisplay< TR >::draw().
1.5.8