// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _AlienImage_SunRFAlienImage_HeaderFile #define _AlienImage_SunRFAlienImage_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_AlienImage_SunRFAlienImage_HeaderFile #include #endif #ifndef _Handle_AlienImage_SunRFAlienData_HeaderFile #include #endif #ifndef _AlienImage_AlienUserImage_HeaderFile #include #endif #ifndef _Handle_Image_Image_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _AlienImage_SUNRFFormat_HeaderFile #include #endif class AlienImage_SunRFAlienData; class Image_Image; class OSD_File; //! Defines a SunRF Alien image, i.e. an image using the
//! image format for SUN workstations.
class AlienImage_SunRFAlienImage : public AlienImage_AlienUserImage { public: //! Constructs an empty SunRF alien image.
Standard_EXPORT AlienImage_SunRFAlienImage(); //! Frees memory allocated by SunRFAlienImage
Standard_EXPORT void Clear() ; //! Converts a SunRFAlienImage object to a Image object.
Standard_EXPORT Handle_Image_Image ToImage() const; //! Converts an Image object to a SunRFAlienImage object.
Standard_EXPORT void FromImage(const Handle(Image_Image)& anImage) ; //! Reads the content of a SunRFAlienImage object from a file
//! Returns True if file is a XWD file .
Standard_EXPORT Standard_Boolean Read(OSD_File& afile) ; //! Writes content of a SunRFAlienImage object to a file
Standard_EXPORT Standard_Boolean Write(OSD_File& afile) const; //! Sets the SUN Raster File Format for Write method.
Standard_EXPORT void SetFormat(const AlienImage_SUNRFFormat aFormat) ; //! Returns the SUN Raster File Format .
Standard_EXPORT AlienImage_SUNRFFormat Format() const; DEFINE_STANDARD_RTTI(AlienImage_SunRFAlienImage) protected: private: Handle_AlienImage_SunRFAlienData myData; }; // other Inline functions and methods (like "C++: function call" methods) #endif