12 #ifndef __COP2_CookAreaInfo_h__
13 #define __COP2_CookAreaInfo_h__
28 UT_SMALLOBJECT_CLEANPAGES_OFF, 250,
29 UT_SMALLOBJECT_THREADSAFE_ON>
36 int bounds_xstart,
int bounds_ystart,
37 int bounds_xend,
int bounds_yend,
38 int frame_xres,
int frame_yres,
52 int bounds_xstart,
int bounds_ystart,
53 int bounds_xend,
int bounds_yend,
54 int frame_xres,
int frame_yres,
56 int needed_xstart,
int needed_ystart,
57 int needed_xend,
int needed_yend);
64 bool enlargeNeededArea(
int xstart,
int ystart,
int xend,
int yend);
70 bool enlargeNeededAreaToBounds();
76 bool expandNeededArea(
int pixels_left,
int pixels_down,
77 int pixels_right,
int pixels_up);
87 bool node_too =
true)
const;
120 void print(std::ostream &os)
const;
123 void alignNeededAreaToTileBoundaries();
155 inline std::ostream &
174 unsigned int entries()
const {
return myList.entries(); }
177 void resize(
int entries) { myList.setCapacity(entries); }
178 void entries(
int entries) { myList.entries(entries); }
COP2_CookAreaInfo * operator()(unsigned int i) const
std::ostream & operator<<(std::ostream &os, const COP2_CookAreaInfo &area)
GT_API const UT_StringHolder time
int getBoundsYEnd() const
COP2_CookAreaList(unsigned int sz=0)
unsigned int entries() const
int getNeededXStart() const
int getBoundsXStart() const
const COP2_Node & getNode() const
void print(std::ostream &os) const
int getNeededYEnd() const
int getBoundsXEnd() const
int getNeededXEnd() const
const TIL_Plane & getPlane() const
void entries(int entries)
int getArrayIndex() const
int getBoundsYStart() const
FMT_INLINE void print(format_string< T...> fmt, T &&...args)
int getNeededYStart() const
GA_API const UT_StringHolder area