22#ifndef _vctDynamicMatrixRefOwner_h
23#define _vctDynamicMatrixRefOwner_h
38template<
class _elementType>
65 stride_type rowStride, stride_type colStride,
93 stride_type rowStride, stride_type colStride,
95 this->
SetRef(nsize_type(
rows,
cols), nstride_type(rowStride, colStride), data);
99 stride_type rowStride, stride_type colStride,
101 this->
SetRef(
sizes, nstride_type(rowStride, colStride), data);
115 const nsize_type &
sizes(
void)
const {
139 pointer
Pointer(index_type rowIndex, index_type colIndex) {
147 const_pointer
Pointer(index_type rowIndex, index_type colIndex)
const {
vctDynamicMatrixRefOwner< value_type > ThisType
Definition vctDynamicMatrixRefOwner.h:47
@ DIMENSION
Definition vctDynamicMatrixRefOwner.h:44
void SetRef(const nsize_type &sizes, pointer dataPointer, bool storageOrder)
Definition vctDynamicMatrixRefOwner.h:83
vctVarStrideMatrixIterator< value_type > reverse_iterator
Definition vctDynamicMatrixRefOwner.h:53
size_type rows(void) const
Definition vctDynamicMatrixRefOwner.h:119
iterator end(void)
Definition vctDynamicMatrixRefOwner.h:168
size_type size(void) const
Definition vctDynamicMatrixRefOwner.h:111
const_pointer Pointer(void) const
Definition vctDynamicMatrixRefOwner.h:151
const_iterator begin(void) const
Definition vctDynamicMatrixRefOwner.h:155
bool IsColMajor(void) const
Definition vctDynamicMatrixRefOwner.h:193
bool IsRowMajor(void) const
Definition vctDynamicMatrixRefOwner.h:197
VCT_NARRAY_TRAITS_TYPEDEFS(DIMENSION)
value_type * Data
Definition vctDynamicMatrixRefOwner.h:213
reverse_iterator rend(void)
Definition vctDynamicMatrixRefOwner.h:188
vctVarStrideMatrixConstIterator< value_type > const_reverse_iterator
Definition vctDynamicMatrixRefOwner.h:51
const_iterator end(void) const
Definition vctDynamicMatrixRefOwner.h:159
nsize_type SizesMember
Definition vctDynamicMatrixRefOwner.h:210
const_pointer Pointer(index_type rowIndex, index_type colIndex) const
Definition vctDynamicMatrixRefOwner.h:147
const_reverse_iterator rbegin(void) const
Definition vctDynamicMatrixRefOwner.h:173
bool StorageOrder(void) const
Definition vctDynamicMatrixRefOwner.h:205
bool IsCompact(void) const
Definition vctDynamicMatrixRefOwner.h:201
vctDynamicMatrixRefOwner()
Definition vctDynamicMatrixRefOwner.h:56
vctVarStrideMatrixConstIterator< value_type > const_iterator
Definition vctDynamicMatrixRefOwner.h:50
bool IsCompactMember
Definition vctDynamicMatrixRefOwner.h:212
const nstride_type & strides(void) const
Definition vctDynamicMatrixRefOwner.h:127
vctDynamicMatrixRefOwner(size_type rows, size_type cols, stride_type rowStride, stride_type colStride, pointer data)
Definition vctDynamicMatrixRefOwner.h:64
difference_type row_stride(void) const
Definition vctDynamicMatrixRefOwner.h:131
nstride_type StridesMember
Definition vctDynamicMatrixRefOwner.h:211
void SetRef(const nsize_type &sizes, const nstride_type &strides, pointer data)
Definition vctDynamicMatrixRefOwner.h:104
VCT_CONTAINER_TRAITS_TYPEDEFS(_elementType)
void SetRef(size_type rows, size_type cols, stride_type rowStride, stride_type colStride, pointer data)
Definition vctDynamicMatrixRefOwner.h:92
size_type cols(void) const
Definition vctDynamicMatrixRefOwner.h:123
void SetRef(const nsize_type &sizes, stride_type rowStride, stride_type colStride, pointer data)
Definition vctDynamicMatrixRefOwner.h:98
vctVarStrideMatrixIterator< value_type > iterator
Definition vctDynamicMatrixRefOwner.h:52
difference_type col_stride(void) const
Definition vctDynamicMatrixRefOwner.h:135
const_reverse_iterator rend(void) const
Definition vctDynamicMatrixRefOwner.h:178
void SetRef(size_type rows, size_type cols, pointer dataPointer, bool storageOrder)
Definition vctDynamicMatrixRefOwner.h:74
pointer Pointer(index_type rowIndex, index_type colIndex)
Definition vctDynamicMatrixRefOwner.h:139
iterator begin(void)
Definition vctDynamicMatrixRefOwner.h:164
pointer Pointer(void)
Definition vctDynamicMatrixRefOwner.h:143
reverse_iterator rbegin(void)
Definition vctDynamicMatrixRefOwner.h:183
const nsize_type & sizes(void) const
Definition vctDynamicMatrixRefOwner.h:115
void UpdateCachedData(void)
Definition vctDynamicMatrixRefOwner.h:215
Definition vctVarStrideMatrixIterator.h:40
Definition vctVarStrideMatrixIterator.h:283
#define CMN_UNUSED(argument)
Definition cmnPortability.h:497
vctDynamicConstMatrixBase< _matrixOwnerType, _elementType > ThisType
Definition vctDynamicConstMatrixBase.h:86
Declaration of vctDynamicMatrixOwner.
Forward declarations and #define for cisstVector.
const bool VCT_ROW_MAJOR
Definition vctForwardDeclarations.h:41
Declaration of vctVarStrideMatrixConstIterator and vctVarStrideMatrixIterator.