TIL_Tile Class Reference

#include <TIL_Tile.h>

Inheritance diagram for TIL_Tile:

TIL_HoldingNode

List of all members.

Public Member Functions

void reset ()
void clear (float value=0.0F, int scanstep=1, int scanoff=0)
void lineDouble (bool odd)
int matches (const UT_TokenString *image_id, int tilex, int tiley) const
int compare (const UT_TokenString *image_id, int tilex, int tiley) const
void setVectorName (const char *name, int vector=0)
const char * getVectorName () const
void setCompName (const char *name)
const char * getCompName () const
int getVectorIndex () const
void setFormat (TIL_DataFormat f)
TIL_DataFormat getFormat () const
void setStorage (TIL_Storage storage)
TIL_Storage getStorage () const
void setImageNum (int n)
int getImageNum () const
void setBlackWhitePoints (int black, int white)
int usesBlackWhitePoints () const
void getBlackWhitePoints (unsigned int &black, unsigned int &white) const
void setOffset (int x, int y)
void getOffset (int &x, int &y) const
void setSize (int x, int y)
void getSize (int &x, int &y) const
int getNumPixels () const
void setParent (void *parent)
void * getParent () const
void setNodePath (const char *path)
const char * getNodePath () const
void setImageIdentifier (UT_TokenString *token)
const UT_TokenStringgetImageIdentifier () const
void setCooked (bool done=true)
bool isCooked () const
bool isCheckpoint () const
int getCheckpointCount () const
void incrementCheckpointCount ()
void decrementCheckpointCount ()
bool determineIfConstant ()
bool isConstantTile () const
float getConstantColor () const
void setConstantTile (bool constant)
int lock (int access, int block=1)
void lockWriteToRead (int score)
void unlock (int access)
void setProxyHold (bool on)
int getMemSize () const
unsigned int getTotalSize () const
void setImageData (til_AlignedBlock *data)
void getImageData (const unsigned char *&data) const
void getImageData (const unsigned short *&data) const
void getImageData (const unsigned int *&data) const
void getImageData (const float *&data) const
void getImageData (const fpreal16 *&data) const
const void * getImageData () const
void getImageData (unsigned char *&data)
void getImageData (unsigned short *&data)
void getImageData (unsigned int *&data)
void getImageData (float *&data)
void getImageData (fpreal16 *&data)
void * getImageData ()
til_AlignedBlockgetImageBlock ()
void setPriority (unsigned int p)
int getPriority () const
int isCacheLocked () const
bool isReadLocked () const
bool isWriteLocked () const
bool isBorrowedImage () const
void setBorrowedImage (bool b)
void print (ostream &os) const

Static Public Member Functions

static void setNewTileSize (int xsize, int ysize)
static int getTileSizeX ()
static int getTileSizeY ()
static int getTile8Mem ()
static int getTile16Mem ()
static int getTile32Mem ()
static void setTileCachePtr (TIL_TileCache *tc)
static void setCopPrintCallback (void(*callback)(void *, ostream &))

Friends

class TIL_TileCache


Detailed Description

Examples:

COP2/COP2_MultiInputWipe.C, COP2/COP2_SampleFilter.C, and COP2/COP2_SampleGenerator.C.

Definition at line 41 of file TIL_Tile.h.


Member Function Documentation

void TIL_Tile::clear ( float  value = 0.0F,
int  scanstep = 1,
int  scanoff = 0 
)

int TIL_Tile::compare ( const UT_TokenString image_id,
int  tilex,
int  tiley 
) const

void TIL_Tile::decrementCheckpointCount (  ) 

bool TIL_Tile::determineIfConstant (  ) 

void TIL_Tile::getBlackWhitePoints ( unsigned int &  black,
unsigned int &  white 
) const [inline]

Definition at line 87 of file TIL_Tile.h.

int TIL_Tile::getCheckpointCount (  )  const [inline]

Definition at line 123 of file TIL_Tile.h.

const char* TIL_Tile::getCompName (  )  const [inline]

Definition at line 69 of file TIL_Tile.h.

float TIL_Tile::getConstantColor (  )  const

TIL_DataFormat TIL_Tile::getFormat (  )  const [inline]

Definition at line 74 of file TIL_Tile.h.

til_AlignedBlock* TIL_Tile::getImageBlock (  )  [inline]

Definition at line 170 of file TIL_Tile.h.

void* TIL_Tile::getImageData (  )  [inline]

Definition at line 168 of file TIL_Tile.h.

void TIL_Tile::getImageData ( fpreal16 *&  data  ) 

void TIL_Tile::getImageData ( float *&  data  ) 

void TIL_Tile::getImageData ( unsigned int *&  data  ) 

void TIL_Tile::getImageData ( unsigned short *&  data  ) 

void TIL_Tile::getImageData ( unsigned char *&  data  ) 

const void* TIL_Tile::getImageData (  )  const [inline]

Definition at line 161 of file TIL_Tile.h.

void TIL_Tile::getImageData ( const fpreal16 *&  data  )  const

void TIL_Tile::getImageData ( const float *&  data  )  const

void TIL_Tile::getImageData ( const unsigned int *&  data  )  const

void TIL_Tile::getImageData ( const unsigned short *&  data  )  const

void TIL_Tile::getImageData ( const unsigned char *&  data  )  const

const UT_TokenString* TIL_Tile::getImageIdentifier (  )  const [inline]

Definition at line 115 of file TIL_Tile.h.

int TIL_Tile::getImageNum (  )  const [inline]

Definition at line 82 of file TIL_Tile.h.

int TIL_Tile::getMemSize (  )  const [inline]

Definition at line 146 of file TIL_Tile.h.

const char* TIL_Tile::getNodePath (  )  const [inline]

Definition at line 110 of file TIL_Tile.h.

int TIL_Tile::getNumPixels (  )  const

void TIL_Tile::getOffset ( int &  x,
int &  y 
) const [inline]

Definition at line 93 of file TIL_Tile.h.

void* TIL_Tile::getParent (  )  const [inline]

Definition at line 105 of file TIL_Tile.h.

int TIL_Tile::getPriority (  )  const [inline]

Definition at line 176 of file TIL_Tile.h.

void TIL_Tile::getSize ( int &  x,
int &  y 
) const [inline]

Definition at line 98 of file TIL_Tile.h.

TIL_Storage TIL_Tile::getStorage (  )  const [inline]

Definition at line 78 of file TIL_Tile.h.

static int TIL_Tile::getTile16Mem (  )  [static]

static int TIL_Tile::getTile32Mem (  )  [static]

static int TIL_Tile::getTile8Mem (  )  [static]

static int TIL_Tile::getTileSizeX (  )  [static]

static int TIL_Tile::getTileSizeY (  )  [static]

unsigned int TIL_Tile::getTotalSize (  )  const

int TIL_Tile::getVectorIndex (  )  const [inline]

Definition at line 70 of file TIL_Tile.h.

const char* TIL_Tile::getVectorName (  )  const [inline]

Definition at line 67 of file TIL_Tile.h.

void TIL_Tile::incrementCheckpointCount (  ) 

bool TIL_Tile::isBorrowedImage (  )  const [inline]

Definition at line 183 of file TIL_Tile.h.

int TIL_Tile::isCacheLocked (  )  const

bool TIL_Tile::isCheckpoint (  )  const [inline]

Definition at line 122 of file TIL_Tile.h.

bool TIL_Tile::isConstantTile (  )  const [inline]

Definition at line 128 of file TIL_Tile.h.

bool TIL_Tile::isCooked (  )  const [inline]

Definition at line 120 of file TIL_Tile.h.

bool TIL_Tile::isReadLocked (  )  const

bool TIL_Tile::isWriteLocked (  )  const

void TIL_Tile::lineDouble ( bool  odd  ) 

int TIL_Tile::lock ( int  access,
int  block = 1 
)

void TIL_Tile::lockWriteToRead ( int  score  ) 

int TIL_Tile::matches ( const UT_TokenString image_id,
int  tilex,
int  tiley 
) const

void TIL_Tile::print ( ostream &  os  )  const

void TIL_Tile::reset (  ) 

void TIL_Tile::setBlackWhitePoints ( int  black,
int  white 
)

void TIL_Tile::setBorrowedImage ( bool  b  )  [inline]

Definition at line 184 of file TIL_Tile.h.

void TIL_Tile::setCompName ( const char *  name  ) 

void TIL_Tile::setConstantTile ( bool  constant  ) 

void TIL_Tile::setCooked ( bool  done = true  )  [inline]

Definition at line 119 of file TIL_Tile.h.

static void TIL_Tile::setCopPrintCallback ( void(*)(void *, ostream &)  callback  )  [static]

void TIL_Tile::setFormat ( TIL_DataFormat  f  ) 

void TIL_Tile::setImageData ( til_AlignedBlock data  )  [inline]

Definition at line 153 of file TIL_Tile.h.

void TIL_Tile::setImageIdentifier ( UT_TokenString token  )  [inline]

Definition at line 113 of file TIL_Tile.h.

void TIL_Tile::setImageNum ( int  n  )  [inline]

Definition at line 81 of file TIL_Tile.h.

static void TIL_Tile::setNewTileSize ( int  xsize,
int  ysize 
) [static]

void TIL_Tile::setNodePath ( const char *  path  ) 

void TIL_Tile::setOffset ( int  x,
int  y 
) [inline]

Definition at line 92 of file TIL_Tile.h.

void TIL_Tile::setParent ( void *  parent  )  [inline]

Definition at line 104 of file TIL_Tile.h.

void TIL_Tile::setPriority ( unsigned int  p  )  [inline]

Definition at line 175 of file TIL_Tile.h.

void TIL_Tile::setProxyHold ( bool  on  )  [inline]

Definition at line 143 of file TIL_Tile.h.

void TIL_Tile::setSize ( int  x,
int  y 
)

void TIL_Tile::setStorage ( TIL_Storage  storage  )  [inline]

Definition at line 77 of file TIL_Tile.h.

static void TIL_Tile::setTileCachePtr ( TIL_TileCache tc  )  [static]

void TIL_Tile::setVectorName ( const char *  name,
int  vector = 0 
)

void TIL_Tile::unlock ( int  access  ) 

int TIL_Tile::usesBlackWhitePoints (  )  const


Friends And Related Function Documentation

friend class TIL_TileCache [friend]

Definition at line 261 of file TIL_Tile.h.


Member Data Documentation

unsigned short TIL_Tile::myConstantVal16

Definition at line 247 of file TIL_Tile.h.

Definition at line 248 of file TIL_Tile.h.

unsigned char TIL_Tile::myConstantVal8

Definition at line 246 of file TIL_Tile.h.

Definition at line 249 of file TIL_Tile.h.


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

Generated on Fri May 25 00:10:45 2012 for HDK by  doxygen 1.5.9