|
| | RegularAxis () |
| | Default constructor creates one cell from -1e30 till 1e30. More...
|
| |
| | RegularAxis (double begin, double cellWidth, unsigned int count, bool asStartEnd=false) |
| | Construct giving the beginning of the axis and the width of each cell. More...
|
| |
| | ~RegularAxis () override |
| |
| const std::string & | classType () const override |
| | Return the type of *this as a string. More...
|
| |
| Axis::ShPtr | clone () const override |
| | Clone the object. More...
|
| |
| Axis::ShPtr | compress (size_t factor) const override |
| | Compress the axis. More...
|
| |
| Axis::ShPtr | doSubset (size_t start, size_t end) const override |
| |
| void | read (blob::BlobIStream &bis) override |
| | Read the contents from the blob input stream bis into *this. More...
|
| |
| void | write (blob::BlobOStream &bos) const override |
| | Write the contents of *this into the blob output stream bos. More...
|
| |
| | Axis () |
| | The constructor sets the unique id. More...
|
| |
| | ~Axis () override |
| |
| bool | checkIntervals (const Axis &that) const |
| | Check if the corresponding intervals in this and that axis are the same. More...
|
| |
| Axis::ShPtr | combine (const Axis &that, int &s1, int &e1, int &s2, int &e2) const |
| |
| std::pair< size_t, bool > | find (double x, bool biasRight=true, size_t start=0) const |
| |
| unsigned int | getId () const |
| | Get the unique axis id. More...
|
| |
| bool | isRegular () const |
| | Is the axis regular? More...
|
| |
| size_t | locate (double x, bool biasRight=true, size_t start=0) const |
| | Get the cellnr as above, but throw an exception if not found. More...
|
| |
| std::pair< double, double > | range () const |
| | Get the total range of the axis. More...
|
| |
| size_t | size () const |
| | Get nr of cells. More...
|
| |
| Axis::ShPtr | subset (size_t start, size_t end) const |
| | Make a subset of the axis for the given start/end index. More...
|
| |
| bool | operator== (const Axis &that) const |
| |
| bool | operator!= (const Axis &that) const |
| |
| double | center (size_t n) const |
| |
| double | width (size_t n) const |
| |
| double | upper (size_t n) const |
| |
| double | lower (size_t n) const |
| |
| const std::vector< double > & | centers () const |
| |
| const std::vector< double > & | widths () const |
| |
| const std::vector< double > & | uppers () const |
| |
| const std::vector< double > & | lowers () const |
| |
| double | start () const |
| |
| double | end () const |
| |
| Axis::ShPtr | subset (double start, double end, size_t &index) const |
| |
| Axis::ShPtr | subset (double start, double end) const |
| |
| virtual | ~BlobStreamable () |
| | Destructor. More...
|
| |
| void | serialize (BlobOStream &bos) const |
| |
Regularly strided cell centered axis.