Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
AlienImage_SunRFAlienImage Class Reference

Defines a SunRF Alien image, i.e. an image using the
image format for SUN workstations.

#include <AlienImage_SunRFAlienImage.hxx>

Inheritance diagram for AlienImage_SunRFAlienImage:
Inheritance graph
[legend]

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 .


Constructor & Destructor Documentation


Member Function Documentation

Handle_Image_Image AlienImage_SunRFAlienImage::ToImage ( ) const [virtual]

The documentation for this class was generated from the following file: