Changeset 2885 in Sophya for trunk/SophyaLib/NTools/cimage.h
- Timestamp:
- Jan 4, 2006, 2:36:47 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/NTools/cimage.h
r1390 r2885 33 33 34 34 //! Returns the image size along X (corresponding to the number of columns) 35 inline sa_size_t XSize() const {return NCols();}35 inline sa_size_t XSize() const {return this->NCols();} 36 36 //! Returns the image size along Y (corresponding to the number of lines) 37 inline sa_size_t YSize() const {return NRows();}37 inline sa_size_t YSize() const {return this->NRows();} 38 38 39 39 //! Returns the X position, for pixel(0,0) … … 89 89 // virtual ~FIO_Image(); 90 90 virtual void SetDataObj(AnyDataObj & o); 91 inline operator Image<T>() { return(*(dynamic_cast<Image<T> * >( dobj))); }91 inline operator Image<T>() { return(*(dynamic_cast<Image<T> * >(this->dobj))); } 92 92 protected : 93 93 virtual void ReadSelf(PInPersist&);
Note:
See TracChangeset
for help on using the changeset viewer.