List of all members.
class sp::scene::ImageTreeNode< T >
The ImageTreeNode class is used to - as the name implies - store 2D images in rectangles. This tree node does not hold any information about its parent. Therefore only a traversal from parent to children is possible. This class is used in the lightmap generator and to generate font textures.
- Template Parameters:
|T,: ||This class must implement the following functions:
dim::size2di getSize() const;
void setupTreeNode(ImageTreeNode<T>* Node);
- Version 3.2
Constructor & Destructor Documentation
Member Function Documentation
Deletes the children nodes.
Tries to insert the given image into the tree node.
|Image,: ||Pointer to the image object. This must not be null! |
- Pointer to the final ImageTreeNode object which has been found to hold the given image. If no suitable tree node could be found the return value is null.
- For the root tree node the rectangle must be set manual! All the other rectangles will be computed automatically.
The documentation for this class was generated from the following file: