\class Dims3 \brief Descriptor for three-dimensional data.
| 134 | //! \brief Descriptor for three-dimensional data. |
| 135 | //! |
| 136 | class Dims3 : public Dims2 |
| 137 | { |
| 138 | public: |
| 139 | //! |
| 140 | //! \brief Construct an empty Dims3 object. |
| 141 | //! |
| 142 | Dims3() |
| 143 | : Dims3(0, 0, 0) |
| 144 | { |
| 145 | } |
| 146 | |
| 147 | //! |
| 148 | //! \brief Construct a Dims3 from 3 elements. |
| 149 | //! |
| 150 | //! \param d0 The first element. |
| 151 | //! \param d1 The second element. |
| 152 | //! \param d2 The third element. |
| 153 | //! |
| 154 | Dims3(int32_t d0, int32_t d1, int32_t d2) |
| 155 | : Dims2(d0, d1) |
| 156 | { |
| 157 | nbDims = 3; |
| 158 | d[2] = d2; |
| 159 | } |
| 160 | }; |
| 161 | |
| 162 | //! |
| 163 | //! \class Dims4 |
no outgoing calls
no test coverage detected