|
Open CASCADE Technology
6.5.4
|
This class defines a SUN Raster File .rs Alien image.
#include <AlienImage_SunRFAlienData.hxx>

Public Member Functions | |
| AlienImage_SunRFAlienData () | |
| void | Clear () |
| Frees memory allocated by SunRFAlienData and reset Object fields. | |
| ~AlienImage_SunRFAlienData () | |
| void | FreeData () |
| Frees memory allocated by SunRFAlienData | |
| Standard_Boolean | Read (OSD_File &afile) |
| Read content of a SunRFAlienData object from a file . Returns True if file is a Sun Raster file . | |
| Standard_Boolean | Write (OSD_File &afile) const |
| Write content of a SunRFAlienData object to a file . | |
| void | SetFormat (const AlienImage_SUNRFFormat aFormat) |
| Set SUN Raster File Format for Write method. | |
| AlienImage_SUNRFFormat | Format () const |
| Get SUN Raster File Format . | |
| Handle_Image_Image | ToImage () const |
| convert a SunRFAlienData object to a Image object. | |
| void | FromImage (const Handle< Image_Image > &anImage) |
| convert a Image object to a SunRFAlienData object. | |
| void | FromPseudoColorImage (const Handle< Image_PseudoColorImage > &anImage) |
| convert a Image object to a SunRFAlienData object. | |
| void | FromColorImage (const Handle< Image_ColorImage > &anImage) |
| convert a Image object to a SunRFAlienData object. | |
| Standard_Boolean | ReadPixelRow (OSD_File &afile, const Standard_Address aAddress, const Standard_Integer TheRowSize) |
| Read a Image row from a file and store TheRowSize byte at aAddress returns True if Success. | |
| Standard_Boolean | WritePixelRow (OSD_File &afile, const Standard_Address aAddress, const Standard_Integer TheRowSize) const |
| Write a Image row to a file from TheRowSize byte at aAddress returns True if Success. | |
Protected Attributes | |
| AlienImage_SUNRFFileHeader | myHeader |
| Standard_Address | myData |
| Standard_Address | myRedData |
| Standard_Address | myGreenData |
| Standard_Address | myBlueData |
| void AlienImage_SunRFAlienData::FromColorImage | ( | const Handle< Image_ColorImage > & | anImage | ) |
| void AlienImage_SunRFAlienData::FromImage | ( | const Handle< Image_Image > & | anImage | ) | [virtual] |
Implements AlienImage_AlienImage.
| void AlienImage_SunRFAlienData::FromPseudoColorImage | ( | const Handle< Image_PseudoColorImage > & | anImage | ) |
| Standard_Boolean AlienImage_SunRFAlienData::Read | ( | OSD_File & | afile | ) | [virtual] |
Implements AlienImage_AlienImage.
| Standard_Boolean AlienImage_SunRFAlienData::ReadPixelRow | ( | OSD_File & | afile, |
| const Standard_Address | aAddress, | ||
| const Standard_Integer | TheRowSize | ||
| ) |
| Handle_Image_Image AlienImage_SunRFAlienData::ToImage | ( | ) | const [virtual] |
Implements AlienImage_AlienImage.
| Standard_Boolean AlienImage_SunRFAlienData::Write | ( | OSD_File & | afile | ) | const [virtual] |
Implements AlienImage_AlienImage.
| Standard_Boolean AlienImage_SunRFAlienData::WritePixelRow | ( | OSD_File & | afile, |
| const Standard_Address | aAddress, | ||
| const Standard_Integer | TheRowSize | ||
| ) | const |
Standard_Address AlienImage_SunRFAlienData::myData [protected] |
Standard_Address AlienImage_SunRFAlienData::myRedData [protected] |
1.8.0