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

Defines an X11 Alien image, i.e. an image file to be
used with X11 xwd utility.

#include <AlienImage_XAlienImage.hxx>

Inheritance diagram for AlienImage_XAlienImage:
Inheritance graph
[legend]

Public Member Functions

 AlienImage_XAlienImage ()
 Constructs an empty X11 alien image.

void Clear ()
 Frees memory allocated by XAlienImage

 ~AlienImage_XAlienImage ()
void SetName (const TCollection_AsciiString &aName)
 Sets the Image name for the Name function.

const TCollection_AsciiStringName () const
 Returns the Image name.

Handle_Image_Image ToImage () const
 Converts an XAlienImage object to a Image object.

void FromImage (const Handle< Image_Image > &anImage)
 Converts an Image object to a XAlienImage object.

Standard_Boolean Read (OSD_File &afile)
 Reads the content of a XAlienImage object from a file .
Returns True if file is a XWD file .

Standard_Boolean Write (OSD_File &afile) const
 Writes the content of a XAlienImage object to a file .


Constructor & Destructor Documentation


Member Function Documentation

Handle_Image_Image AlienImage_XAlienImage::ToImage ( ) const [virtual]

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