PicsSet Class Reference

PicsSet holds all the pieces of an active solving session. More...

#include <Pieces.h>

List of all members.

Public Member Functions

 PicsSet (const SlvCube *scube)
 this ctor takes the selection from the Solution
 PicsSet (bool bSym)
 this ctor takes the selection from the bucket with bSym == true, there are more rtns for every pic.
int size () const
void makereps ()
 Construct the repetitions of pieces.

Public Attributes

bool bConsiderSymetric
QVector< PicTypepics


Detailed Description

PicsSet holds all the pieces of an active solving session.

When the used hits "Solve It" a PicsSet is constructed with the currently selected pieces and the solution engine is ran using it.


Constructor & Destructor Documentation

PicsSet::PicsSet ( const SlvCube scube  ) 

this ctor takes the selection from the Solution

PicsSet::PicsSet ( bool  bSym  ) 

this ctor takes the selection from the bucket with bSym == true, there are more rtns for every pic.


Member Function Documentation

int PicsSet::size (  )  const [inline]

void PicsSet::makereps (  ) 

Construct the repetitions of pieces.

construct the "rep" member of PicType. rep is an array of containing the indexes of all other pics that are similar in shape to the current one.


Member Data Documentation


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