TIL_Region Class Reference

#include <TIL_Region.h>

Inheritance diagram for TIL_Region:

UT_SmallObject< TIL_Region, UT_SMALLOBJECT_CLEANPAGES_OFF, 32, UT_SMALLOBJECT_THREADSAFE_ON, 1024 > UT_SmallObjectDefaultSuperClass

List of all members.

Public Member Functions

void init (const TIL_Plane *parent, int input_index, int array_index, float time, int xres, int yres, int x1, int y1, int x2, int y2, int bx1, int by1, int bx2, int by2, TIL_RegionExtend hold=TIL_BLACK, int share_count=1, int nid=0, bool output=false, int xpad=0)
void reset ()
void clear ()
int getID () const
int getNodeID () const
int open (void *regionlist[PLANE_MAX_VECTOR_SIZE]=0)
int close ()
const TIL_PlanegetParent () const
int getInputRef () const
int getArrayIndex () const
float getTime () const
void getRegionRes (int &x, int &y) const
void getRegionBounds (int &x1, int &y1, int &x2, int &y2) const
void markFilled (bool filled=true)
int isFilled () const
int remainingTiles () const
bool isInitialized () const
bool workOnRegion ()
int getNextNeededTile (int &xoff, int &yoff, int &xshift, int &yshift)
void finishedTile (int xoff, int yoff)
void checkConstant (const TIL_Tile *tile, int component)
bool isConstantChecked () const
bool isConstant (bool force_check=false)
bool isConstantValue () const
void getConstantColor (float color[4]) const
void setConstantColor (float color[4])
void rejectTile (int xoff, int yoff)
void * getImageData (int index)
const void * getImageData (int index) const
void * getImageData (const char *compname)
const void * getImageData (const char *compname) const
void setImageData (void *data, int index, bool reference=true)
int getImageDataSizePerComponent () const
int getMemSize ()
bool isSharedRegion () const
bool isSharedRegionDone () const
int getCurrentRefCount () const
int getCurrentShareCount () const
void unshareRegion ()
unsigned getHash () const
TIL_TileListgetTilesFromRegion ()
void cleanupTiles (TIL_TileList *&tiles)
void setWorkTime (float cooktime)
float getWorkTime () const

Static Public Member Functions

static TIL_RegionallocRegion ()
static void freeRegion (TIL_Region *&freeme)
static unsigned getHash (const TIL_Plane *plane, int aindex, int inref, float t, int x1, int y1, int x2, int y2, int xres, int yres, int nid, bool output)


Detailed Description

Examples:

COP2/COP2_FullImageFilter.C, COP2/COP2_FullImageFilter.h, COP2/COP2_MultiInputWipe.C, COP2/COP2_MultiInputWipe.h, and COP2/COP2_SampleFilter.C.

Definition at line 42 of file TIL_Region.h.


Member Function Documentation

static TIL_Region* TIL_Region::allocRegion (  )  [static]

void TIL_Region::checkConstant ( const TIL_Tile tile,
int  component 
)

void TIL_Region::cleanupTiles ( TIL_TileList *&  tiles  ) 

void TIL_Region::clear (  ) 

int TIL_Region::close (  ) 

void TIL_Region::finishedTile ( int  xoff,
int  yoff 
)

static void TIL_Region::freeRegion ( TIL_Region *&  freeme  )  [static]

int TIL_Region::getArrayIndex (  )  const [inline]

Definition at line 82 of file TIL_Region.h.

void TIL_Region::getConstantColor ( float  color[4]  )  const

int TIL_Region::getCurrentRefCount (  )  const [inline]

Definition at line 141 of file TIL_Region.h.

int TIL_Region::getCurrentShareCount (  )  const [inline]

Definition at line 142 of file TIL_Region.h.

static unsigned TIL_Region::getHash ( const TIL_Plane plane,
int  aindex,
int  inref,
float  t,
int  x1,
int  y1,
int  x2,
int  y2,
int  xres,
int  yres,
int  nid,
bool  output 
) [static]

unsigned TIL_Region::getHash (  )  const [inline]

Definition at line 146 of file TIL_Region.h.

int TIL_Region::getID (  )  const [inline]

Definition at line 68 of file TIL_Region.h.

const void* TIL_Region::getImageData ( const char *  compname  )  const

void* TIL_Region::getImageData ( const char *  compname  ) 

const void* TIL_Region::getImageData ( int  index  )  const

void* TIL_Region::getImageData ( int  index  ) 

int TIL_Region::getImageDataSizePerComponent (  )  const

int TIL_Region::getInputRef (  )  const [inline]

Definition at line 81 of file TIL_Region.h.

int TIL_Region::getMemSize (  ) 

int TIL_Region::getNextNeededTile ( int &  xoff,
int &  yoff,
int &  xshift,
int &  yshift 
)

int TIL_Region::getNodeID (  )  const [inline]

Definition at line 69 of file TIL_Region.h.

const TIL_Plane* TIL_Region::getParent (  )  const [inline]

Definition at line 80 of file TIL_Region.h.

void TIL_Region::getRegionBounds ( int &  x1,
int &  y1,
int &  x2,
int &  y2 
) const [inline]

Definition at line 87 of file TIL_Region.h.

void TIL_Region::getRegionRes ( int &  x,
int &  y 
) const [inline]

Definition at line 84 of file TIL_Region.h.

TIL_TileList* TIL_Region::getTilesFromRegion (  ) 

float TIL_Region::getTime (  )  const [inline]

Definition at line 83 of file TIL_Region.h.

float TIL_Region::getWorkTime (  )  const [inline]

Definition at line 166 of file TIL_Region.h.

void TIL_Region::init ( const TIL_Plane parent,
int  input_index,
int  array_index,
float  time,
int  xres,
int  yres,
int  x1,
int  y1,
int  x2,
int  y2,
int  bx1,
int  by1,
int  bx2,
int  by2,
TIL_RegionExtend  hold = TIL_BLACK,
int  share_count = 1,
int  nid = 0,
bool  output = false,
int  xpad = 0 
)

bool TIL_Region::isConstant ( bool  force_check = false  ) 

bool TIL_Region::isConstantChecked (  )  const [inline]

Definition at line 112 of file TIL_Region.h.

bool TIL_Region::isConstantValue (  )  const

int TIL_Region::isFilled (  )  const [inline]

Definition at line 95 of file TIL_Region.h.

bool TIL_Region::isInitialized (  )  const [inline]

Definition at line 97 of file TIL_Region.h.

bool TIL_Region::isSharedRegion (  )  const [inline]

Definition at line 139 of file TIL_Region.h.

bool TIL_Region::isSharedRegionDone (  )  const [inline]

Definition at line 140 of file TIL_Region.h.

void TIL_Region::markFilled ( bool  filled = true  )  [inline]

Definition at line 92 of file TIL_Region.h.

int TIL_Region::open ( void *  regionlist[PLANE_MAX_VECTOR_SIZE] = 0  ) 

void TIL_Region::rejectTile ( int  xoff,
int  yoff 
)

int TIL_Region::remainingTiles (  )  const [inline]

Definition at line 96 of file TIL_Region.h.

void TIL_Region::reset (  ) 

void TIL_Region::setConstantColor ( float  color[4]  ) 

void TIL_Region::setImageData ( void *  data,
int  index,
bool  reference = true 
)

void TIL_Region::setWorkTime ( float  cooktime  )  [inline]

Definition at line 165 of file TIL_Region.h.

void TIL_Region::unshareRegion (  ) 

bool TIL_Region::workOnRegion (  ) 


Member Data Documentation

Definition at line 181 of file TIL_Region.h.

Definition at line 180 of file TIL_Region.h.


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

Generated on Thu Jan 31 00:32:12 2013 for HDK by  doxygen 1.5.9