HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
COP2_CookAreaInfo Class Reference

#include <COP2_CookAreaInfo.h>

+ Inheritance diagram for COP2_CookAreaInfo:

Public Member Functions

 COP2_CookAreaInfo (COP2_Node &node, const TIL_Plane &plane, int array_index, int bounds_xstart, int bounds_ystart, int bounds_xend, int bounds_yend, int frame_xres, int frame_yres, float time)
 
 COP2_CookAreaInfo (COP2_Node &node, const TIL_Plane &ref_plane, int array_index, float time)
 
 COP2_CookAreaInfo (COP2_Node &node, const TIL_Plane &plane, int array_index, int bounds_xstart, int bounds_ystart, int bounds_xend, int bounds_yend, int frame_xres, int frame_yres, float time, int needed_xstart, int needed_ystart, int needed_xend, int needed_yend)
 
COP2_CookAreaInfoclone (int array_index) const
 
bool enlargeNeededArea (int xstart, int ystart, int xend, int yend)
 
bool enlargeNeededArea (COP2_CookAreaInfo &area, int pixels_left=0, int pixels_down=0, int pixels_right=0, int pixels_up=0)
 
bool enlargeNeededAreaToBounds ()
 
bool expandNeededArea (int pixels_left, int pixels_down, int pixels_right, int pixels_up)
 
COP2_ContextgetNodeContextData ()
 
bool matchPlaneInfo (const COP2_CookAreaInfo &match, bool node_too=true) const
 
const COP2_NodegetNode () const
 
COP2_NodegetNode ()
 
const TIL_PlanegetPlane () const
 
int getArrayIndex () const
 
int getBoundsXStart () const
 
int getBoundsYStart () const
 
int getBoundsXEnd () const
 
int getBoundsYEnd () const
 
int getFrameXRes () const
 
int getFrameYRes () const
 
void setTime (fpreal t)
 
fpreal getTime () const
 
bool isNeeded () const
 
int getNeededXStart () const
 
int getNeededYStart () const
 
int getNeededXEnd () const
 
int getNeededYEnd () const
 
void print (std::ostream &os) const
 

Additional Inherited Members

- Static Public Member Functions inherited from UT_SmallObject< COP2_CookAreaInfo, UT_SMALLOBJECT_CLEANPAGES_OFF, 250, UT_SMALLOBJECT_THREADSAFE_ON >
static voidoperator new (size_t size)
 Regular new/delete operators. More...
 
static void operator delete (void *p, size_t size)
 Regular new/delete operators. More...
 
static voidoperator new (size_t, void *p)
 
static void operator delete (void *, void *)
 

Detailed Description

Constructor & Destructor Documentation

COP2_CookAreaInfo::COP2_CookAreaInfo ( COP2_Node node,
const TIL_Plane plane,
int  array_index,
int  bounds_xstart,
int  bounds_ystart,
int  bounds_xend,
int  bounds_yend,
int  frame_xres,
int  frame_yres,
float  time 
)
COP2_CookAreaInfo::COP2_CookAreaInfo ( COP2_Node node,
const TIL_Plane ref_plane,
int  array_index,
float  time 
)
COP2_CookAreaInfo::COP2_CookAreaInfo ( COP2_Node node,
const TIL_Plane plane,
int  array_index,
int  bounds_xstart,
int  bounds_ystart,
int  bounds_xend,
int  bounds_yend,
int  frame_xres,
int  frame_yres,
float  time,
int  needed_xstart,
int  needed_ystart,
int  needed_xend,
int  needed_yend 
)

Member Function Documentation

COP2_CookAreaInfo* COP2_CookAreaInfo::clone ( int  array_index) const
bool COP2_CookAreaInfo::enlargeNeededArea ( int  xstart,
int  ystart,
int  xend,
int  yend 
)
bool COP2_CookAreaInfo::enlargeNeededArea ( COP2_CookAreaInfo area,
int  pixels_left = 0,
int  pixels_down = 0,
int  pixels_right = 0,
int  pixels_up = 0 
)
bool COP2_CookAreaInfo::enlargeNeededAreaToBounds ( )
bool COP2_CookAreaInfo::expandNeededArea ( int  pixels_left,
int  pixels_down,
int  pixels_right,
int  pixels_up 
)
int COP2_CookAreaInfo::getArrayIndex ( ) const
inline
Examples:
COP2/COP2_FullImageFilter.C.

Definition at line 95 of file COP2_CookAreaInfo.h.

int COP2_CookAreaInfo::getBoundsXEnd ( ) const
inline

Definition at line 100 of file COP2_CookAreaInfo.h.

int COP2_CookAreaInfo::getBoundsXStart ( ) const
inline

Definition at line 98 of file COP2_CookAreaInfo.h.

int COP2_CookAreaInfo::getBoundsYEnd ( ) const
inline

Definition at line 101 of file COP2_CookAreaInfo.h.

int COP2_CookAreaInfo::getBoundsYStart ( ) const
inline

Definition at line 99 of file COP2_CookAreaInfo.h.

int COP2_CookAreaInfo::getFrameXRes ( ) const
inline

Definition at line 104 of file COP2_CookAreaInfo.h.

int COP2_CookAreaInfo::getFrameYRes ( ) const
inline

Definition at line 105 of file COP2_CookAreaInfo.h.

int COP2_CookAreaInfo::getNeededXEnd ( ) const
inline

Definition at line 117 of file COP2_CookAreaInfo.h.

int COP2_CookAreaInfo::getNeededXStart ( ) const
inline

Definition at line 115 of file COP2_CookAreaInfo.h.

int COP2_CookAreaInfo::getNeededYEnd ( ) const
inline

Definition at line 118 of file COP2_CookAreaInfo.h.

int COP2_CookAreaInfo::getNeededYStart ( ) const
inline

Definition at line 116 of file COP2_CookAreaInfo.h.

const COP2_Node& COP2_CookAreaInfo::getNode ( ) const
inline

Definition at line 90 of file COP2_CookAreaInfo.h.

COP2_Node& COP2_CookAreaInfo::getNode ( )
inline

Definition at line 91 of file COP2_CookAreaInfo.h.

COP2_Context* COP2_CookAreaInfo::getNodeContextData ( )
const TIL_Plane& COP2_CookAreaInfo::getPlane ( ) const
inline
Examples:
COP2/COP2_FullImageFilter.C.

Definition at line 93 of file COP2_CookAreaInfo.h.

fpreal COP2_CookAreaInfo::getTime ( ) const
inline
Examples:
COP2/COP2_FullImageFilter.C.

Definition at line 109 of file COP2_CookAreaInfo.h.

bool COP2_CookAreaInfo::isNeeded ( ) const
inline

Definition at line 112 of file COP2_CookAreaInfo.h.

bool COP2_CookAreaInfo::matchPlaneInfo ( const COP2_CookAreaInfo match,
bool  node_too = true 
) const
void COP2_CookAreaInfo::print ( std::ostream &  os) const
void COP2_CookAreaInfo::setTime ( fpreal  t)
inline

Definition at line 108 of file COP2_CookAreaInfo.h.


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