Features

The Cube Puzzle Library provides several classes, which make it easy to develop software that handle cube puzzles in the style of the Rubik's Cube. Some of the classes only work in a visual context and require the VTK graphics library to be present.

The following list shows the highlighted features of all those classes that work without a visual context:

  • The Cube class supports cube puzzles of arbitrary size, only limited by hardware resources.
  • The following generalizations of the classic cube puzzle design are supported:
    • Multiple faces sharing the same color.
    • Cube puzzles with oriented centers.
    • 'Filled' cube puzzles, where the cube parts in the inside also have colors attached.
  • The Solver class implements a sophisticated solver, which solves just every cube that can be created using the Cube Puzzle Library.
  • The Notation class provides several notations for displaying cube slice moves.

The remaining classes work in a visual context provided by the VTK software. Here are some special features:

  • The VisualCube class provides a graphical representation of a cube puzzle, supporting:
    • Multiple cube part geometries and transparency.
    • Animated cube slice rotations.
    • Cube part highlighting.
  • The classes in the display module provide advanced window and interaction facilities, such as interactive cube slice rotations using the mouse.