#include <Section.H>
Public Member Functions | |
| Section (xercesc::DOMNode *node, int id) | |
| virtual | ~Section () |
| void | start () |
| const string & | getName () |
| Array< Word * > & | getWords () |
| int | addWordAtEnd (Word *word) |
| int | getEmptySpot (double widthNeeded) |
| Returns the index of an empty spot, or -1 if there are no empty spots. | |
| Vector3 | getEmptySpotPosition (int spotIndex) |
| void | fillSpot (int spotIndex, Word *word) |
| Fills the specified spot with the specified word, and adds this word to your section. | |
| void | emptySpot (int index) |
| Empties the spot at the specified index, and removes the word from our word list. | |
| void | emptySpot (Word *word) |
| Empties the word specified, and removes the word from our word list. | |
| bool | isSpotEmpty (int spot) |
| void | show () |
| Show all the words in the section. | |
| void | hide () |
| Hide all the words in the section. | |
| double | getYRotationAngle () |
| Accessor for making words have correct y rotation. | |
| int | findSpotIndex (Word *word) |
Protected Member Functions | |
| void | addEffect (xercesc::DOMElement *node) |
| bool | checkAllSpotInvariants () |
| void | positionWords () |
| void | updateSpotPosition (int index, CoordinateFrame frame) |
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
Make room for a new word, and add it at the end of the section (Same as addWord(Word* word) but returns the spot index) |
|
|
|
|
|
Empties the word specified, and removes the word from our word list.
|
|
|
Empties the spot at the specified index, and removes the word from our word list.
|
|
||||||||||||
|
Fills the specified spot with the specified word, and adds this word to your section.
|
|
|
|
|
|
Returns the index of an empty spot, or -1 if there are no empty spots.
|
|
|
|
|
|
|
|
|
|
|
|
Accessor for making words have correct y rotation.
|
|
|
Hide all the words in the section.
|
|
|
|
|
|
|
|
|
Show all the words in the section.
|
|
|
|
|
||||||||||||
|
|
1.4.0