Open CASCADE Technology
7.7.0
|
Compressed pixmap data definition. It is defined independently from Image_PixMap, which defines only uncompressed formats. More...
#include <Image_CompressedPixMap.hxx>
Public Member Functions | |
Image_Format | BaseFormat () const |
Return base (uncompressed) pixel format. More... | |
void | SetBaseFormat (Image_Format theFormat) |
Set base (uncompressed) pixel format. More... | |
Image_CompressedFormat | CompressedFormat () const |
Return compressed format. More... | |
void | SetCompressedFormat (Image_CompressedFormat theFormat) |
Set compressed format. More... | |
const Handle< NCollection_Buffer > & | FaceData () const |
Return raw (compressed) data. More... | |
void | SetFaceData (const Handle< NCollection_Buffer > &theBuffer) |
Set raw (compressed) data. More... | |
const NCollection_Array1< Standard_Integer > & | MipMaps () const |
Return Array of mipmap sizes, including base level. More... | |
NCollection_Array1< Standard_Integer > & | ChangeMipMaps () |
Return Array of mipmap sizes, including base level. More... | |
Standard_Boolean | IsCompleteMipMapSet () const |
Return TRUE if complete mip map level set (up to 1x1 resolution). More... | |
void | SetCompleteMipMapSet (Standard_Boolean theIsComplete) |
Set if complete mip map level set (up to 1x1 resolution). More... | |
Standard_Size | FaceBytes () const |
Return surface length in bytes. More... | |
void | SetFaceBytes (Standard_Size theSize) |
Set surface length in bytes. More... | |
Standard_Integer | SizeX () const |
Return surface width. More... | |
Standard_Integer | SizeY () const |
Return surface height. More... | |
void | SetSize (Standard_Integer theSizeX, Standard_Integer theSizeY) |
Set surface width x height. More... | |
bool | IsTopDown () const |
Return TRUE if image layout is top-down (always true). More... | |
Standard_Integer | NbFaces () const |
Return number of faces in the file; should be 6 for cubemap. More... | |
void | SetNbFaces (Standard_Integer theSize) |
Set number of faces in the file. More... | |
Image_CompressedPixMap () | |
Empty constructor. More... | |
Public Member Functions inherited from Standard_Transient | |
Standard_Transient () | |
Empty constructor. More... | |
Standard_Transient (const Standard_Transient &) | |
Copy constructor – does nothing. More... | |
Standard_Transient & | operator= (const Standard_Transient &) |
Assignment operator, needed to avoid copying reference counter. More... | |
virtual | ~Standard_Transient () |
Destructor must be virtual. More... | |
virtual void | Delete () const |
Memory deallocator for transient classes. More... | |
virtual const opencascade::handle< Standard_Type > & | DynamicType () const |
Returns a type descriptor about this object. More... | |
Standard_Boolean | IsInstance (const opencascade::handle< Standard_Type > &theType) const |
Returns a true value if this is an instance of Type. More... | |
Standard_Boolean | IsInstance (const Standard_CString theTypeName) const |
Returns a true value if this is an instance of TypeName. More... | |
Standard_Boolean | IsKind (const opencascade::handle< Standard_Type > &theType) const |
Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More... | |
Standard_Boolean | IsKind (const Standard_CString theTypeName) const |
Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More... | |
Standard_Transient * | This () const |
Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero. More... | |
Standard_Integer | GetRefCount () const |
Get the reference counter of this object. More... | |
void | IncrementRefCounter () const |
Increments the reference counter of this object. More... | |
Standard_Integer | DecrementRefCounter () const |
Decrements the reference counter of this object; returns the decremented value. More... | |
Protected Attributes | |
NCollection_Array1< Standard_Integer > | myMipMaps |
Array of mipmap sizes, including base level. More... | |
Handle< NCollection_Buffer > | myFaceData |
raw compressed data More... | |
Standard_Size | myFaceBytes |
surface length in bytes More... | |
Standard_Integer | myNbFaces |
number of faces in the file More... | |
Standard_Integer | mySizeX |
surface width More... | |
Standard_Integer | mySizeY |
surface height More... | |
Image_Format | myBaseFormat |
base (uncompressed) pixel format More... | |
Image_CompressedFormat | myFormat |
compressed format More... | |
Standard_Boolean | myIsCompleteMips |
flag indicating complete mip map level set (up to 1x1 resolution) More... | |
Additional Inherited Members | |
Public Types inherited from Standard_Transient | |
typedef void | base_type |
Returns a type descriptor about this object. More... | |
Static Public Member Functions inherited from Standard_Transient | |
static const char * | get_type_name () |
Returns a type descriptor about this object. More... | |
static const opencascade::handle< Standard_Type > & | get_type_descriptor () |
Returns type descriptor of Standard_Transient class. More... | |
Compressed pixmap data definition. It is defined independently from Image_PixMap, which defines only uncompressed formats.
|
inline |
Empty constructor.
|
inline |
Return base (uncompressed) pixel format.
|
inline |
Return Array of mipmap sizes, including base level.
|
inline |
Return compressed format.
|
inline |
Return surface length in bytes.
|
inline |
Return raw (compressed) data.
|
inline |
Return TRUE if complete mip map level set (up to 1x1 resolution).
|
inline |
Return TRUE if image layout is top-down (always true).
|
inline |
Return Array of mipmap sizes, including base level.
|
inline |
Return number of faces in the file; should be 6 for cubemap.
|
inline |
Set base (uncompressed) pixel format.
|
inline |
Set if complete mip map level set (up to 1x1 resolution).
|
inline |
Set compressed format.
|
inline |
Set surface length in bytes.
|
inline |
Set raw (compressed) data.
|
inline |
Set number of faces in the file.
|
inline |
Set surface width x height.
|
inline |
Return surface width.
|
inline |
Return surface height.
|
protected |
base (uncompressed) pixel format
|
protected |
surface length in bytes
|
protected |
raw compressed data
|
protected |
compressed format
|
protected |
flag indicating complete mip map level set (up to 1x1 resolution)
|
protected |
Array of mipmap sizes, including base level.
|
protected |
number of faces in the file
|
protected |
surface width
|
protected |
surface height