A 3D Dynamic Geometry Software

Calques 3D C++



TPref Class Reference

Collaboration diagram for TPref:

Collaboration graph

List of all members.


Detailed Description

TPref.

Todo:
Most of the preferences in the main class should be moved in one of the structures of the class (ie Magnet into CTUniverse).

Public Types

enum  TMoveType { MV_HORIZ, MV_LEFT, MV_RIGHT }
 Directions of the construction deformation. More...

Static Public Member Functions

static void DefaultInit ()
 Default initialisation of the parameters (if applicable).

Static Public Attributes

static COLORREF custColors [16]
 List of user-defined colors (8 primary + 8 hidden).
static CString custColorsString [8]
 List of user-defined color names.
static CList< COLORREF, COLORREF > docColors
 List of other colors used in the documents.
static ColourTableEntry crColours [40]
 List of predefined colors and (English) names.
static BOOL GrayedHidden = 0
 hidden part of objects in gray
static CTCube3D TCube = {RGB(0,0,255),1}
 Default preferences for cubes.
static CTSphere3D TSphere = {RGB(0,0,255),0,TRUE,TRUE}
 Default preferences for spheres.
static CTPoint3D TPoint = {RGB(0,0,0),3,2,0,3}
 Default preferences for points.
static CTCercle3D TCercle = {RGB(0,0,255),0,40}
 Default preferences for circles.
static CTLocus3D TLocus = {RGB(255,0,0),20}
 Default preferences for loci.
static CTLine3D TLine = {RGB(0,0,255)}
 Default preferences for lines.
static CTCone3D TCone = {RGB(0,0,255),TRUE}
 Default preferences for cones.
static CTUniverse TUniv
 Default preferences for the universe view.
static CTMathPad TMathPad
 Default preferences for the MathPad view.
static CTHistory THistory
 Default preferences for the History view.
static CObList TMacroList
 List of user-defined macros available.
static BOOL bMacroLoading = TRUE
 Allow user to load any macros.
static CString strProfile = _T("")
 Name of the current profile.
static CString strProfileDesc = _T("")
 Description of the current profile.
static CStringArray strUnits
 List of Units used in Calques 3D.
static BOOL VerifyObject = 0
 Verify if objects are duplicated before creation (NOT YET USED).
static CObList TPOVList
 List of user-defined PoV (NOT YET USED).
static CTVerif Verif
 Configuration of the Verification procedure (.
static COLORREF Color = RGB(0,0,0)
 Default color for objects.

Classes

struct  ColourTableEntry
 Predefined colors. More...
struct  CTCercle3D
 Default shape for the circles. More...
struct  CTCone3D
 Default shape for the cones. More...
struct  CTCube3D
 Default shape for the cubes. More...
struct  CTHistory
 Default behavior for the History view. More...
struct  CTLine3D
 Default shape for the lines. More...
struct  CTLocus3D
 Default shape for the loci. More...
struct  CTMathPad
 Default behavior for the MathPad view. More...
struct  CTPoint3D
 Default shape for the points. More...
struct  CTSphere3D
 Default shape for the spheres. More...
struct  CTUniverse
 Default behavior for the Universe view. More...
struct  CTVerif
 Default configuration for the Property Verification. More...

Member Enumeration Documentation

enum TMoveType

Directions of the construction deformation.

Enumerator:
MV_HORIZ  Move from the horizontal plane.
MV_LEFT  Move from the left plane.
MV_RIGHT  Move from the right plane.


Member Function Documentation

void DefaultInit (  )  [static]

Default initialisation of the parameters (if applicable).


Member Data Documentation

COLORREF custColors [static]

Initial value:

 {
       RGB(255,0,0),RGB(0,255,0),RGB(0,0,255),
       RGB(255,255,0),RGB(0,255,255),RGB(255,0,255),
       RGB(0,0,0),RGB(64,64,64),
       RGB(255,128,128),RGB(128,255,128),RGB(128,128,255),
       RGB(255,255,128),RGB(128,255,255),RGB(255,128,255),
       RGB(128,128,128),RGB(64,64,64)
 }
List of user-defined colors (8 primary + 8 hidden).

CString custColorsString [static]

Initial value:

{
       CString("Red"),CString("Green"),CString("Blue"),
       CString("Yellow"),CString("Skyblue"),CString("Violet"),
       CString("Black"),CString("Grey")
}
List of user-defined color names.

CList< COLORREF, COLORREF > docColors [static]

List of other colors used in the documents.

List of predefined colors and (English) names.

BOOL GrayedHidden = 0 [static]

hidden part of objects in gray

TPref::CTCube3D TCube = {RGB(0,0,255),1} [static]

Default preferences for cubes.

TPref::CTSphere3D TSphere = {RGB(0,0,255),0,TRUE,TRUE} [static]

Default preferences for spheres.

TPref::CTPoint3D TPoint = {RGB(0,0,0),3,2,0,3} [static]

Default preferences for points.

TPref::CTCercle3D TCercle = {RGB(0,0,255),0,40} [static]

Default preferences for circles.

TPref::CTLocus3D TLocus = {RGB(255,0,0),20} [static]

Default preferences for loci.

TPref::CTLine3D TLine = {RGB(0,0,255)} [static]

Default preferences for lines.

TPref::CTCone3D TCone = {RGB(0,0,255),TRUE} [static]

Default preferences for cones.

Initial value:

 
              {
                     RGB(128,0,0),
                     {25.0,45.0,800.0,400.0},
                     TPref::MV_HORIZ,
                     3,
                     6,
                     50,
                     5,
                     1.0,
                     FALSE,
                     TRUE,
                     FALSE,
                     FALSE
              }
Default preferences for the universe view.

Initial value:

 
              {
                     1.0,
                     0,
                     0,
                     0,
                     100,
                     4,
                     0
              }
Default preferences for the MathPad view.

Initial value:

 
              {
                     TRUE
              }
Default preferences for the History view.

CObList TMacroList [static]

List of user-defined macros available.

BOOL bMacroLoading = TRUE [static]

Allow user to load any macros.

CString strProfile = _T("") [static]

Name of the current profile.

CString strProfileDesc = _T("") [static]

Description of the current profile.

CStringArray strUnits [static]

List of Units used in Calques 3D.

BOOL VerifyObject = 0 [static]

Verify if objects are duplicated before creation (NOT YET USED).

CObList TPOVList [static]

List of user-defined PoV (NOT YET USED).

Configuration of the Verification procedure (.

Deprecated:
)

COLORREF Color = RGB(0,0,0) [static]

Default color for objects.

Deprecated: