DisplayConf Class Reference

DisplayConf holds configuration parameters for the 3D solution display. More...

#include <Configuration.h>

List of all members.

Public Member Functions

 DisplayConf ()
void toRegistry (QSettings &reg)
void fromRegistry (QSettings &reg)
void fromDefaults ()
void fromPreConf (EDisplayPreConf pc)
 load the solution display configuration from one of a few fixed popular configurations
bool diffRender (const DisplayConf &n)
bool diffOnlyPaint (const DisplayConf &n)

Public Attributes

EDisplayPreConf preConf
 the pre-configuraion used.
int numberOfPasses
 possible values: 0, 1, 2, 3, 4
bool passRound [4]
 controls which subdivision passes are processed as "round" and which as "square"
bool bVtxNormals
 toggle normals per vertex or per polygon.
bool bLight
 is lighting enabled in the scene
ELinesDraw nLines
 should border lines be drawn
int nSwapTexEndians
 the texture endianiness permutation selected.


Detailed Description

DisplayConf holds configuration parameters for the 3D solution display.

It controls how the pieces look. it they are flat or round, and if round, how round exactly. it is used in PicPainter where the piece display lists are created. An instance of this class is contained in the Configuration class and hold the current 3D solution display configuration.

See also:
Configuration PicPainter OptionsDlg


Constructor & Destructor Documentation

DisplayConf::DisplayConf (  )  [inline]


Member Function Documentation

void DisplayConf::toRegistry ( QSettings &  reg  ) 

void DisplayConf::fromRegistry ( QSettings &  reg  ) 

void DisplayConf::fromDefaults (  ) 

void DisplayConf::fromPreConf ( EDisplayPreConf  pc  ) 

load the solution display configuration from one of a few fixed popular configurations

bool DisplayConf::diffRender ( const DisplayConf n  ) 

bool DisplayConf::diffOnlyPaint ( const DisplayConf n  ) 


Member Data Documentation

the pre-configuraion used.

this value is not automatically detected. it is set only if the user chose a pre-configuration.

possible values: 0, 1, 2, 3, 4

controls which subdivision passes are processed as "round" and which as "square"

toggle normals per vertex or per polygon.

per vertex normals make the mess look more soft and less polygon-y

is lighting enabled in the scene

should border lines be drawn

the texture endianiness permutation selected.


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