Open CASCADE Technology 6.6.0
|
Defines a SunRF Alien image, i.e. an image using the
image format for SUN workstations.
#include <AlienImage_SunRFAlienImage.hxx>
Public Member Functions | |
AlienImage_SunRFAlienImage () | |
Constructs an empty SunRF alien image. | |
void | Clear () |
Frees memory allocated by SunRFAlienImage | |
Handle_Image_Image | ToImage () const |
Converts a SunRFAlienImage object to a Image object. | |
void | FromImage (const Handle< Image_Image > &anImage) |
Converts an Image object to a SunRFAlienImage object. | |
Standard_Boolean | Read (OSD_File &afile) |
Reads the content of a SunRFAlienImage object from a file Returns True if file is a XWD file . | |
Standard_Boolean | Write (OSD_File &afile) const |
Writes content of a SunRFAlienImage object to a file | |
void | SetFormat (const AlienImage_SUNRFFormat aFormat) |
Sets the SUN Raster File Format for Write method. | |
AlienImage_SUNRFFormat | Format () const |
Returns the SUN Raster File Format . |
AlienImage_SunRFAlienImage::AlienImage_SunRFAlienImage | ( | ) |
void AlienImage_SunRFAlienImage::Clear | ( | ) |
AlienImage_SUNRFFormat AlienImage_SunRFAlienImage::Format | ( | ) | const |
void AlienImage_SunRFAlienImage::FromImage | ( | const Handle< Image_Image > & | anImage | ) | [virtual] |
Implements AlienImage_AlienUserImage.
Standard_Boolean AlienImage_SunRFAlienImage::Read | ( | OSD_File & | afile | ) | [virtual] |
Implements AlienImage_AlienUserImage.
void AlienImage_SunRFAlienImage::SetFormat | ( | const AlienImage_SUNRFFormat | aFormat | ) |
Handle_Image_Image AlienImage_SunRFAlienImage::ToImage | ( | ) | const [virtual] |
Implements AlienImage_AlienUserImage.
Standard_Boolean AlienImage_SunRFAlienImage::Write | ( | OSD_File & | afile | ) | const [virtual] |
Implements AlienImage_AlienUserImage.