Open CASCADE Technology 6.6.0
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

AlienImage_SGIRGBAlienData::AlienImage_SGIRGBAlienData ( )
AlienImage_SGIRGBAlienData::~AlienImage_SGIRGBAlienData ( ) [inline]

Member Function Documentation

void AlienImage_SGIRGBAlienData::Clear ( )
void AlienImage_SGIRGBAlienData::FromImage ( const Handle< Image_Image > &  anImage) [virtual]

Implements AlienImage_AlienImage.

virtual const TCollection_AsciiString& AlienImage_SGIRGBAlienData::Name ( ) const [virtual]

Reimplemented from AlienImage_AlienImageData.

Standard_Boolean AlienImage_SGIRGBAlienData::Read ( OSD_File afile) [virtual]

Implements AlienImage_AlienImage.

virtual void AlienImage_SGIRGBAlienData::SetName ( const TCollection_AsciiString aName) [virtual]

Reimplemented from AlienImage_AlienImageData.

Handle_Image_Image AlienImage_SGIRGBAlienData::ToImage ( ) const [virtual]

Implements AlienImage_AlienImage.

Standard_Boolean AlienImage_SGIRGBAlienData::Write ( OSD_File afile) const [virtual]

Implements AlienImage_AlienImage.


Field Documentation


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines