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

This class defines a SGI .rgb Alien image.

#include <AlienImage_SGIRGBAlienData.hxx>

Inheritance diagram for AlienImage_SGIRGBAlienData:
Inheritance graph
[legend]

Public Member Functions

 AlienImage_SGIRGBAlienData ()
void Clear ()
 Frees memory allocated by SGIRGBAlienData

 ~AlienImage_SGIRGBAlienData ()
Standard_Boolean Read (OSD_File &afile)
 Read content of a SGIRGBAlienData object from a file .
Returns True if file is a SGI .rgb file .

Standard_Boolean Write (OSD_File &afile) const
 Write content of a SGIRGBAlienData object to a file .

virtual void SetName (const TCollection_AsciiString &aName)
 Set Image name .

virtual const
TCollection_AsciiString
Name () const
 Get Image name .

Handle_Image_Image ToImage () const
 convert a SGIRGBAlienData object to a Image object.

void FromImage (const Handle< Image_Image > &anImage)
 convert a Image object to a SGIRGBAlienData object.

Protected Attributes

AlienImage_SGIRGBFileHeader myHeader
Standard_Address myRedData
Standard_Address myGreenData
Standard_Address myBlueData

Constructor & Destructor Documentation


Member Function Documentation

Implements AlienImage_AlienImage.

Reimplemented from AlienImage_AlienImageData.

Implements AlienImage_AlienImage.

Reimplemented from AlienImage_AlienImageData.

Handle_Image_Image AlienImage_SGIRGBAlienData::ToImage ( ) const [virtual]

Implements AlienImage_AlienImage.

Implements AlienImage_AlienImage.


Field Documentation


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