36 UT_SMALLOBJECT_CLEANPAGES_OFF, 32,
37 UT_SMALLOBJECT_THREADSAFE_ON, 1024>
47 void init(
const TIL_Plane *parent,
int input_index,
48 int array_index,
float time,
int xres,
int yres,
49 int x1,
int y1,
int x2,
int y2,
50 int bx1,
int by1,
int bx2,
int by2,
52 int share_count = 1,
int nid = 0,
53 bool output =
false,
int xpad = 0);
60 int getID()
const {
return myID; }
75 float getTime()
const {
return myCookTime; }
77 { x=myXres; y=myYres; }
80 { x1 = myX1+myXShift; y1 = myY1+myYShift;
81 x2 = myX2+myXShift; y2 = myY2+myYShift; }
84 void markFilled(
bool filled =
true) { myRemainingTiles = filled ? 0 : 1; }
87 int isFilled()
const {
return myRemainingTiles == 0; }
95 int getNextNeededTile(
int &xoff,
int &yoff,
96 int &xshift,
int &yshift);
100 void finishedTile(
int xoff,
int yoff);
103 void checkConstant(
const TIL_Tile *tile,
int component);
105 bool isConstant(
bool force_check =
false);
106 bool isConstantValue()
const;
107 void getConstantColor(
float color[4])
const;
109 void setConstantColor(
float color[4]);
113 void rejectTile(
int xoff,
int yoff);
116 void * getImageData(
int index);
117 const void *getImageData(
int index)
const;
119 void * getImageData(
const char *compname);
120 const void *getImageData(
const char *compname)
const;
126 exint getImageDataSizePerComponent()
const;
135 void unshareRegion();
138 unsigned getHash()
const {
return myHashCode; }
142 static unsigned getHash(
const TIL_Plane *plane,
int aindex,
int inref,
143 float t,
int x1,
int y1,
int x2,
int y2,
144 int xres,
int yres,
int nid,
bool output);
164 void fillOutsideData();
165 float fillOutsideBlack(
unsigned char *region);
166 void fillOutsideHold(
unsigned char *region);
167 void determineIfConstant();
198 int myXShift, myYShift;
216 int myRemainingTiles;
217 int myAvailableTiles;
219 unsigned char *myTileStates;
222 float myConstantColor[4];
225 unsigned int myRegionOutside :1,
227 myConstantChecked : 1,
229 myConstantColorSetR : 1,
230 myConstantColorSetG : 1,
231 myConstantColorSetB : 1,
232 myConstantColorSetA : 1,
234 myRegionWorkFlag : 1,
236 myRegionUnshared : 1;
GT_API const UT_StringHolder time
bool isInitialized() const
int getArrayIndex() const
void getRegionBounds(int &x1, int &y1, int &x2, int &y2) const
const TIL_Plane * getParent() const
int getCurrentShareCount() const
int remainingTiles() const
void setWorkTime(float cooktime)
#define PLANE_MAX_VECTOR_SIZE
int getCurrentRefCount() const
const TIL_Plane * myParent
bool isConstantChecked() const
void getRegionRes(int &x, int &y) const
bool isSharedRegion() const
GLdouble GLdouble GLdouble y2
float getWorkTime() const
that also have some descendant prim *whose name begins with which in turn has a child named baz where *the predicate and *a name There is also one special expression reference
bool isSharedRegionDone() const
void markFilled(bool filled=true)