JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.util.texture.spi.TGAImage.Header Class Reference

This class reads in all of the TGA image header in addition it also reads in the imageID field as it is convenient to handle that here. More...

Collaboration diagram for com.jogamp.opengl.util.texture.spi.TGAImage.Header:

Public Member Functions

int tgaType ()
 
int idLength ()
 initial TGA image data fields More...
 
int colorMapType ()
 
int imageType ()
 
int firstEntryIndex ()
 TGA image colour map fields. More...
 
int colorMapLength ()
 
byte colorMapEntrySize ()
 
int xOrigin ()
 TGA image specification fields. More...
 
int yOrigin ()
 
int width ()
 
int height ()
 
byte pixelDepth ()
 
byte imageDescriptor ()
 
byte attribPerPixel ()
 bitfields in imageDescriptor More...
 
boolean rightToLeft ()
 
boolean topToBottom ()
 
byte interleave ()
 
byte[] imageIDbuf ()
 
String imageID ()
 
String toString ()
 
int size ()
 

Static Public Attributes

static final int TYPE_NEW = 0
 Set of possible file format TGA types. More...
 
static final int TYPE_OLD = 1
 
static final int TYPE_UNK = 2
 
static final int NO_IMAGE = 0
 Set of possible image types in TGA file. More...
 
static final int UCOLORMAPPED = 1
 
static final int UTRUECOLOR = 2
 
static final int UBLACKWHITE = 3
 
static final int COLORMAPPED = 9
 
static final int TRUECOLOR = 10
 
static final int BLACKWHITE = 11
 
static final int ID_ATTRIBPERPIXEL = 0xF
 Field image descriptor bitfield values definitions. More...
 
static final int ID_RIGHTTOLEFT = 0x10
 
static final int ID_TOPTOBOTTOM = 0x20
 
static final int ID_INTERLEAVE = 0xC0
 
static final int I_NOTINTERLEAVED = 0
 Field image descriptor / interleave values. More...
 
static final int I_TWOWAY = 1
 
static final int I_FOURWAY = 2
 

Detailed Description

This class reads in all of the TGA image header in addition it also reads in the imageID field as it is convenient to handle that here.

Author
Robin Luiten
Version
1.1

Definition at line 90 of file TGAImage.java.

Member Function Documentation

◆ attribPerPixel()

byte com.jogamp.opengl.util.texture.spi.TGAImage.Header.attribPerPixel ( )

bitfields in imageDescriptor

Definition at line 194 of file TGAImage.java.

◆ colorMapEntrySize()

byte com.jogamp.opengl.util.texture.spi.TGAImage.Header.colorMapEntrySize ( )

Definition at line 183 of file TGAImage.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ colorMapLength()

int com.jogamp.opengl.util.texture.spi.TGAImage.Header.colorMapLength ( )

Definition at line 182 of file TGAImage.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ colorMapType()

int com.jogamp.opengl.util.texture.spi.TGAImage.Header.colorMapType ( )

Definition at line 177 of file TGAImage.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ firstEntryIndex()

int com.jogamp.opengl.util.texture.spi.TGAImage.Header.firstEntryIndex ( )

TGA image colour map fields.

Definition at line 181 of file TGAImage.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ height()

int com.jogamp.opengl.util.texture.spi.TGAImage.Header.height ( )

Definition at line 189 of file TGAImage.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ idLength()

int com.jogamp.opengl.util.texture.spi.TGAImage.Header.idLength ( )

initial TGA image data fields

Definition at line 176 of file TGAImage.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ imageDescriptor()

byte com.jogamp.opengl.util.texture.spi.TGAImage.Header.imageDescriptor ( )

Definition at line 191 of file TGAImage.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ imageID()

String com.jogamp.opengl.util.texture.spi.TGAImage.Header.imageID ( )

Definition at line 200 of file TGAImage.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ imageIDbuf()

byte[] com.jogamp.opengl.util.texture.spi.TGAImage.Header.imageIDbuf ( )

Definition at line 199 of file TGAImage.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ imageType()

int com.jogamp.opengl.util.texture.spi.TGAImage.Header.imageType ( )

Definition at line 178 of file TGAImage.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ interleave()

byte com.jogamp.opengl.util.texture.spi.TGAImage.Header.interleave ( )

Definition at line 197 of file TGAImage.java.

◆ pixelDepth()

byte com.jogamp.opengl.util.texture.spi.TGAImage.Header.pixelDepth ( )

Definition at line 190 of file TGAImage.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ rightToLeft()

boolean com.jogamp.opengl.util.texture.spi.TGAImage.Header.rightToLeft ( )

Definition at line 195 of file TGAImage.java.

◆ size()

int com.jogamp.opengl.util.texture.spi.TGAImage.Header.size ( )

Definition at line 220 of file TGAImage.java.

Here is the caller graph for this function:

◆ tgaType()

int com.jogamp.opengl.util.texture.spi.TGAImage.Header.tgaType ( )

Definition at line 173 of file TGAImage.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ topToBottom()

boolean com.jogamp.opengl.util.texture.spi.TGAImage.Header.topToBottom ( )

Definition at line 196 of file TGAImage.java.

◆ toString()

String com.jogamp.opengl.util.texture.spi.TGAImage.Header.toString ( )

Definition at line 203 of file TGAImage.java.

◆ width()

int com.jogamp.opengl.util.texture.spi.TGAImage.Header.width ( )

Definition at line 188 of file TGAImage.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ xOrigin()

int com.jogamp.opengl.util.texture.spi.TGAImage.Header.xOrigin ( )

TGA image specification fields.

Definition at line 186 of file TGAImage.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yOrigin()

int com.jogamp.opengl.util.texture.spi.TGAImage.Header.yOrigin ( )

Definition at line 187 of file TGAImage.java.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ BLACKWHITE

final int com.jogamp.opengl.util.texture.spi.TGAImage.Header.BLACKWHITE = 11
static

Definition at line 103 of file TGAImage.java.

◆ COLORMAPPED

final int com.jogamp.opengl.util.texture.spi.TGAImage.Header.COLORMAPPED = 9
static

Definition at line 101 of file TGAImage.java.

◆ I_FOURWAY

final int com.jogamp.opengl.util.texture.spi.TGAImage.Header.I_FOURWAY = 2
static

Definition at line 114 of file TGAImage.java.

◆ I_NOTINTERLEAVED

final int com.jogamp.opengl.util.texture.spi.TGAImage.Header.I_NOTINTERLEAVED = 0
static

Field image descriptor / interleave values.

Definition at line 112 of file TGAImage.java.

◆ I_TWOWAY

final int com.jogamp.opengl.util.texture.spi.TGAImage.Header.I_TWOWAY = 1
static

Definition at line 113 of file TGAImage.java.

◆ ID_ATTRIBPERPIXEL

final int com.jogamp.opengl.util.texture.spi.TGAImage.Header.ID_ATTRIBPERPIXEL = 0xF
static

Field image descriptor bitfield values definitions.

Definition at line 106 of file TGAImage.java.

◆ ID_INTERLEAVE

final int com.jogamp.opengl.util.texture.spi.TGAImage.Header.ID_INTERLEAVE = 0xC0
static

Definition at line 109 of file TGAImage.java.

◆ ID_RIGHTTOLEFT

final int com.jogamp.opengl.util.texture.spi.TGAImage.Header.ID_RIGHTTOLEFT = 0x10
static

Definition at line 107 of file TGAImage.java.

◆ ID_TOPTOBOTTOM

final int com.jogamp.opengl.util.texture.spi.TGAImage.Header.ID_TOPTOBOTTOM = 0x20
static

Definition at line 108 of file TGAImage.java.

◆ NO_IMAGE

final int com.jogamp.opengl.util.texture.spi.TGAImage.Header.NO_IMAGE = 0
static

Set of possible image types in TGA file.

Definition at line 97 of file TGAImage.java.

◆ TRUECOLOR

final int com.jogamp.opengl.util.texture.spi.TGAImage.Header.TRUECOLOR = 10
static

Definition at line 102 of file TGAImage.java.

◆ TYPE_NEW

final int com.jogamp.opengl.util.texture.spi.TGAImage.Header.TYPE_NEW = 0
static

Set of possible file format TGA types.

Definition at line 92 of file TGAImage.java.

◆ TYPE_OLD

final int com.jogamp.opengl.util.texture.spi.TGAImage.Header.TYPE_OLD = 1
static

Definition at line 93 of file TGAImage.java.

◆ TYPE_UNK

final int com.jogamp.opengl.util.texture.spi.TGAImage.Header.TYPE_UNK = 2
static

Definition at line 94 of file TGAImage.java.

◆ UBLACKWHITE

final int com.jogamp.opengl.util.texture.spi.TGAImage.Header.UBLACKWHITE = 3
static

Definition at line 100 of file TGAImage.java.

◆ UCOLORMAPPED

final int com.jogamp.opengl.util.texture.spi.TGAImage.Header.UCOLORMAPPED = 1
static

Definition at line 98 of file TGAImage.java.

◆ UTRUECOLOR

final int com.jogamp.opengl.util.texture.spi.TGAImage.Header.UTRUECOLOR = 2
static

Definition at line 99 of file TGAImage.java.


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