12 #ifndef __IMG_PLANE_INFO_H__
13 #define __IMG_PLANE_INFO_H__
58 int64 getMemoryUsage(
bool inclusive)
const;
62 void setName(
const char *name);
63 const char *getName()
const;
94 fpreal getColorSpaceGamma()
const;
100 void setComponentNames(
const char *c1,
104 void setComponentName(
int comp,
const char *name);
107 const char *getComponentName(
int comp)
const;
118 bool hasBlackWhitePoints()
const;
119 void getBlackWhitePoints(
int64 &b,
int64 &w)
const;
124 int getPixelSize()
const;
132 {
return IMGvectorSize(myColorModel); }
139 void setParentStat(
IMG_Stat *stat) { myStat = stat; }
140 void setPlaneIndex(
int index) { myIndex =
index; }
141 void updateComponentNames();
GLboolean GLboolean GLboolean b
IMG_TypeInfo
How the channel data should be interpreted.
int getComponentCount() const
Returns the number of components this plane consists of.
Class which writes ASCII or binary JSON streams.
GLuint const GLchar * name
static const char * Opacity
Describes the format and layout of a single plane in an image The plane specifies the format and name...
static const char * DepthComplexity
For deep images, this plane contains the sample count for each pixel.
GLubyte GLubyte GLubyte GLubyte w
static const char * Depth
static const char * Normal
static const char * Color
Contains the details of a specific image file, used by IMG_File. This class contains all the high-lev...
static const char * Alpha
int getPlaneIndex() const
static const char * Position