#include <interfaces.h>


Public Types | |
| typedef std::vector< RangeNode * > | RangeList |
| List of range nodes (pointers). | |
Public Member Functions | |
| virtual void | encode (const PlaneBlock &toEncode)=0 |
| Starts encoding, calls modules in the passed structure. | |
| virtual const RangeList & | getRangeList () const =0 |
| Returns a reference to the current range-block list. | |
| virtual void | writeSettings (std::ostream &file)=0 |
| Write all settings needed for reconstruction. | |
| virtual void | readSettings (std::istream &file)=0 |
| Read all settings needed for reconstruction. | |
| virtual void | writeData (std::ostream &file)=0 |
| Writes data needed for reconstruction (except for settings). | |
| virtual void | readData_buildRanges (std::istream &file, const PlaneBlock &block)=0 |
| Reads data from a stream and reconstructs the positions of range blocks. | |
Definition at line 226 of file interfaces.h.
| virtual void ISquareRanges::encode | ( | const PlaneBlock & | toEncode | ) | [pure virtual] |
Starts encoding, calls modules in the passed structure.
It should update UpdateInfo continually by the count of encoded pixels.
| std::exception | when cancelled via UpdateInfo or on other errors |
Implemented in MQuadTree.
Referenced by MSquarePixels::jobEncode().

| virtual void ISquareRanges::readData_buildRanges | ( | std::istream & | file, | |
| const PlaneBlock & | block | |||
| ) | [pure virtual] |
Reads data from a stream and reconstructs the positions of range blocks.
| file | the stream to read from | |
| block | contains the properties of the block to be reconstructed |
Implemented in MQuadTree.
1.5.8