#include <peak_icv/types/peak_icv_transformation_matrix_3d.hpp>
|
| constexpr const float * | GetData () const |
| | Returns a pointer to the underlying data of the array.
|
| |
| constexpr float & | At (std::size_t row, std::size_t col) |
| | Accesses the element at the specified row and column.
|
| |
| constexpr const float & | At (std::size_t row, std::size_t col) const |
| | Accesses the element at the specified row and column (const version).
|
| |
| constexpr std::size_t | GetNumberOfRows () const |
| | Gets the number of rows in the array.
|
| |
| constexpr std::size_t | GetNumberOfColumns () const |
| | Gets the number of columns in the array.
|
| |
| auto | begin () |
| | Returns an iterator to the beginning of the array.
|
| |
| auto | cbegin () const |
| | Returns a const iterator to the beginning of the array.
|
| |
| auto | end () |
| | Returns an iterator to the end of the array.
|
| |
| auto | cend () const |
| | Returns a const iterator to the end of the array.
|
| |
|
| static Matrix | Identity () |
| | Creates and returns an identity matrix.
|
| |
| static Matrix | Diagonal (const float &value) |
| | Constructs a uniform diagonal matrix.
|
| |
A transformation matrix is a square matrix that, when multiplied by the coordinates of a geometric object, changes the position, orientation, or size of the object.
- Since
- ids_peak_icv 1.1
Definition at line 28 of file peak_icv_transformation_matrix_3d.hpp.
◆ At() [1/2]
| float & At |
( |
std::size_t | row, |
|
|
std::size_t | col ) |
|
inlineconstexprinherited |
Accesses the element at the specified row and column.
This method throws an exception if the indices are out of range.
- Parameters
-
| row | The row index of the element to access. |
| col | The column index of the element to access. |
- Returns
- A reference to the element at the specified indices.
- Exceptions
-
- Since
- ids_peak_icv 1.0
Definition at line 103 of file peak_icv_array_2d.hpp.
◆ At() [2/2]
| const float & At |
( |
std::size_t | row, |
|
|
std::size_t | col ) const |
|
inlineconstexprinherited |
Accesses the element at the specified row and column (const version).
This method throws an exception if the indices are out of range.
- Parameters
-
| row | The row index of the element to access. |
| col | The column index of the element to access. |
- Returns
- A const reference to the element at the specified indices.
- Exceptions
-
- Since
- ids_peak_icv 1.0
Definition at line 126 of file peak_icv_array_2d.hpp.
◆ begin()
Returns an iterator to the beginning of the array.
- Returns
- An iterator pointing to the first element of the array.
- Since
- ids_peak_icv 1.0
Definition at line 166 of file peak_icv_array_2d.hpp.
◆ cbegin()
Returns a const iterator to the beginning of the array.
- Returns
- An iterator pointing to the first element of the array.
Definition at line 173 of file peak_icv_array_2d.hpp.
◆ cend()
Returns a const iterator to the end of the array.
- Returns
- An iterator pointing to one past the last element of the array.
Definition at line 189 of file peak_icv_array_2d.hpp.
◆ Diagonal()
| static Matrix Diagonal |
( |
const float & | value | ) |
|
|
inlinestaticinherited |
Constructs a uniform diagonal matrix.
- Parameters
-
| value | The scalar value to be placed along the diagonal. |
- Returns
- A
Matrix with value on the diagonal and zeros elsewhere.
- Since
- ids_peak_icv 1.0
Definition at line 58 of file peak_icv_matrix.hpp.
◆ end()
Returns an iterator to the end of the array.
- Returns
- An iterator pointing to one past the last element of the array.
- Since
- ids_peak_icv 1.0
Definition at line 182 of file peak_icv_array_2d.hpp.
◆ GetData()
| const float * GetData |
( |
| ) |
const |
|
inlineconstexprinherited |
◆ GetNumberOfColumns()
| std::size_t GetNumberOfColumns |
( |
| ) |
const |
|
inlineconstexprinherited |
◆ GetNumberOfRows()
| std::size_t GetNumberOfRows |
( |
| ) |
const |
|
inlineconstexprinherited |
◆ Identity()