24 #ifndef PXR_BASE_GF_MATRIX_DATA_H 25 #define PXR_BASE_GF_MATRIX_DATA_H 28 #include "pxr/base/gf/api.h" 30 PXR_NAMESPACE_OPEN_SCOPE
35 template <
class T,
int Rows,
int Columns>
41 return _data + (row * Columns);
46 return _data + (row * Columns);
61 T _data[Rows * Columns];
64 PXR_NAMESPACE_CLOSE_SCOPE
66 #endif // PXR_BASE_GF_MATRIX_DATA_H T * GetData()
Return a pointer to the start of all the data.
A class template used by GfMatrixXX to store values.
T * operator[](int row)
Return a pointer to a row of data.
T const * GetData() const
Return a const pointer to the start of all the data.
T const * operator[](int row) const
Return a const pointer to a row of data.