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

#include <TIL_Plane.h>

+ Inheritance diagram for TIL_Plane:

Public Member Functions

 TIL_Plane (const char *name, TIL_DataFormat format, const char *n1=0, const char *n2=0, const char *n3=0, const char *n4=0)
 
 TIL_Plane (const TIL_Plane &)
 
 TIL_Plane ()
 
 ~TIL_Plane ()
 
int64 getMemoryUsage (bool inclusive) const
 
TIL_Planeoperator= (const TIL_Plane &)
 
int operator== (const TIL_Plane &eq) const
 
int operator!= (const TIL_Plane &eq) const
 
bool matches (const TIL_Plane &) const
 
bool isCompatible (const TIL_Plane &) const
 
const char * getName () const
 
void setName (const char *name)
 
bool isAlphaPlane () const
 
bool isColorPlane () const
 
bool isPointPlane () const
 
bool isNormalPlane () const
 
bool isDepthPlane () const
 
bool isGeometricPlane () const
 
TIL_DataFormat getFormat () const
 
void setFormat (TIL_DataFormat format)
 
int getArraySize () const
 
void setArraySize (int n)
 
int getVectorSize () const
 
void setVectorSize (int n)
 
const char * getSubName (int i) const
 
void setSubName (const char *subname, int i)
 
int hasElement (const char *planename)
 
int getPlaneMask (int i) const
 
void setPlaneMask (int enable, int i)
 
void copyPlaneMask (const TIL_Plane &plane)
 
void setScoped (int enable)
 
bool isScoped () const
 
bool isPartiallyScoped () const
 
bool scopeMatches (const TIL_Plane &plane) const
 
int getArrayMask (int i) const
 
void setArrayMask (int start, int end, int step)
 
bool isConstantPlane () const
 
bool isConstantComponent (int i) const
 
bool isAnyComponentConstant () const
 
void setConstantFlag (int i, bool enable)
 
int usesBlackWhitePoints () const
 
void getBlackWhitePoints (unsigned int &b, unsigned int &w) const
 
void getBlackWhitePoints (float &b, float &w) const
 
void setBlackWhitePoints (unsigned int b, unsigned int w)
 
void debugPrint (std::ostream &os) const
 
int64 getMemSize () const
 
unsigned getHash () const
 

Additional Inherited Members

- Static Public Member Functions inherited from UT_SmallObject< TIL_Plane, 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

TIL_Plane::TIL_Plane ( const char *  name,
TIL_DataFormat  format,
const char *  n1 = 0,
const char *  n2 = 0,
const char *  n3 = 0,
const char *  n4 = 0 
)
TIL_Plane::TIL_Plane ( const TIL_Plane )
TIL_Plane::TIL_Plane ( )
TIL_Plane::~TIL_Plane ( )

Member Function Documentation

void TIL_Plane::copyPlaneMask ( const TIL_Plane plane)
void TIL_Plane::debugPrint ( std::ostream &  os) const
int TIL_Plane::getArrayMask ( int  i) const
int TIL_Plane::getArraySize ( ) const
inline

Definition at line 72 of file TIL_Plane.h.

void TIL_Plane::getBlackWhitePoints ( unsigned int b,
unsigned int w 
) const
inline

Definition at line 115 of file TIL_Plane.h.

void TIL_Plane::getBlackWhitePoints ( float &  b,
float &  w 
) const
TIL_DataFormat TIL_Plane::getFormat ( ) const
inline

Definition at line 67 of file TIL_Plane.h.

unsigned TIL_Plane::getHash ( ) const
int64 TIL_Plane::getMemoryUsage ( bool  inclusive) const
int64 TIL_Plane::getMemSize ( ) const
const char* TIL_Plane::getName ( void  ) const
inline
Examples:
COP2/COP2_FullImageFilter.C, and COP2/COP2_MultiInputWipe.C.

Definition at line 56 of file TIL_Plane.h.

int TIL_Plane::getPlaneMask ( int  i) const
inline

Definition at line 91 of file TIL_Plane.h.

const char* TIL_Plane::getSubName ( int  i) const
inline

Definition at line 80 of file TIL_Plane.h.

int TIL_Plane::getVectorSize ( ) const
inline

Definition at line 76 of file TIL_Plane.h.

int TIL_Plane::hasElement ( const char *  planename)
bool TIL_Plane::isAlphaPlane ( ) const
bool TIL_Plane::isAnyComponentConstant ( ) const
bool TIL_Plane::isColorPlane ( ) const
bool TIL_Plane::isCompatible ( const TIL_Plane ) const
bool TIL_Plane::isConstantComponent ( int  i) const
bool TIL_Plane::isConstantPlane ( ) const
bool TIL_Plane::isDepthPlane ( ) const
bool TIL_Plane::isGeometricPlane ( ) const
bool TIL_Plane::isNormalPlane ( ) const
bool TIL_Plane::isPartiallyScoped ( ) const
bool TIL_Plane::isPointPlane ( ) const
bool TIL_Plane::isScoped ( ) const
bool TIL_Plane::matches ( const TIL_Plane ) const
int TIL_Plane::operator!= ( const TIL_Plane eq) const
inline

Definition at line 48 of file TIL_Plane.h.

TIL_Plane& TIL_Plane::operator= ( const TIL_Plane )
int TIL_Plane::operator== ( const TIL_Plane eq) const
inline

Definition at line 45 of file TIL_Plane.h.

bool TIL_Plane::scopeMatches ( const TIL_Plane plane) const
void TIL_Plane::setArrayMask ( int  start,
int  end,
int  step 
)
void TIL_Plane::setArraySize ( int  n)
void TIL_Plane::setBlackWhitePoints ( unsigned int  b,
unsigned int  w 
)
void TIL_Plane::setConstantFlag ( int  i,
bool  enable 
)
void TIL_Plane::setFormat ( TIL_DataFormat  format)
void TIL_Plane::setName ( const char *  name)
void TIL_Plane::setPlaneMask ( int  enable,
int  i 
)
void TIL_Plane::setScoped ( int  enable)
inline

Definition at line 96 of file TIL_Plane.h.

void TIL_Plane::setSubName ( const char *  subname,
int  i 
)
void TIL_Plane::setVectorSize ( int  n)
int TIL_Plane::usesBlackWhitePoints ( ) const

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