Visual Servoing Platform
version 3.6.1 under development (2024-11-21)
|
#include <visp3/core/vpIoTools.h>
Public Member Functions | |
NpyArray (const std::vector< size_t > &_shape, size_t _word_size, bool _fortran_order) | |
NpyArray () | |
template<typename T > | |
T * | data () |
template<typename T > | |
const T * | data () const |
template<typename T > | |
std::vector< T > | as_vec () const |
size_t | num_bytes () const |
Public Attributes | |
std::shared_ptr< std::vector< char > > | data_holder |
std::vector< size_t > | shape |
size_t | word_size |
bool | fortran_order |
size_t | num_vals |
Definition at line 86 of file vpIoTools.h.
|
inline |
Definition at line 88 of file vpIoTools.h.
References data_holder, num_vals, shape, and word_size.
|
inline |
Definition at line 97 of file vpIoTools.h.
|
inline |
Definition at line 112 of file vpIoTools.h.
References num_vals.
|
inline |
Definition at line 100 of file vpIoTools.h.
|
inline |
Definition at line 106 of file vpIoTools.h.
|
inline |
Definition at line 118 of file vpIoTools.h.
References data_holder.
std::shared_ptr<std::vector<char> > visp::cnpy::NpyArray::data_holder |
Definition at line 123 of file vpIoTools.h.
Referenced by NpyArray(), and num_bytes().
bool visp::cnpy::NpyArray::fortran_order |
Definition at line 126 of file vpIoTools.h.
size_t visp::cnpy::NpyArray::num_vals |
Definition at line 127 of file vpIoTools.h.
Referenced by as_vec(), and NpyArray().
std::vector<size_t> visp::cnpy::NpyArray::shape |
Definition at line 124 of file vpIoTools.h.
Referenced by NpyArray().
size_t visp::cnpy::NpyArray::word_size |
Definition at line 125 of file vpIoTools.h.
Referenced by NpyArray().