template<typename _T>
struct sofa::defaulttype::Image< _T >
5d-image structure on top of a shared memory CImgList
|
| | Image () |
| | constructors/destructors More...
|
| |
| | Image (const Image< T > &_img, bool shared=false) |
| |
| | Image (const cimg_library::CImg< T > &_img) |
| |
| Image< T > & | operator= (const Image< T > &im) |
| | copy operators More...
|
| |
| Image< T > & | assign (const Image< T > &im, const bool shared=false) |
| |
| void | clear () |
| |
| | ~Image () override |
| |
| cimg_library::CImgList< T > & | getCImgList () |
| |
| const cimg_library::CImgList< T > & | getCImgList () const |
| |
| cimg_library::CImg< T > & | getCImg (const unsigned int t=0) |
| |
| const cimg_library::CImg< T > & | getCImg (const unsigned int t=0) const |
| |
| bool | isEmpty () const |
| |
| template<class t > |
| bool | isInside (t x, t y, t z) const |
| | check if image coordinates are inside bounds More...
|
| |
| imCoord | getDimensions () const |
| |
| void | setDimensions (const imCoord &dim) override |
| |
| void | fill (const SReal val) override |
| |
| bool | operator== (const Image< T > &other) const |
| |
| bool | operator!= (const Image< T > &other) const |
| |
| cimg_library::CImg< unsigned int > | get_histogram (T &value_min, T &value_max, const unsigned int dimx, const bool mergeChannels=false) const |
| |
| cimg_library::CImg< T > | get_plane (const unsigned int coord, const unsigned int axis, const type::Mat< 2, 3, unsigned int > &ROI, const unsigned int t=0, const bool mergeChannels=false) const |
| |
| template<typename Real > |
| cimg_library::CImg< bool > | get_slicedModels (const unsigned int coord, const unsigned int axis, const type::Mat< 2, 3, unsigned int > &ROI, const type::vector< type::Vec< 3, Real > > &position, const type::vector< sofa::component::visual::VisualModelImpl::VisualTriangle > &triangles, const type::vector< sofa::component::visual::VisualModelImpl::VisualQuad > &quads) const |
| |
| size_t | approximativeSizeInBytes () const |
| |
| virtual | ~BaseImage () |
| |