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

#include <OP_Context.h>

Classes

struct  CurrentEvalContextTag
 
struct  CurrentEvalTimeTag
 

Public Member Functions

 OP_Context ()
 
 OP_Context (fpreal t)
 
 OP_Context (fpreal t, int thread)
 
 OP_Context (CurrentEvalTimeTag)
 
 OP_Context (CurrentEvalContextTag)
 
 OP_Context (const OP_Context &from)
 
 ~OP_Context ()
 
fpreal getTime () const
 
void setTime (fpreal t)
 
int xres () const
 
int yres () const
 
void setXres (int xres)
 
void setYres (int yres)
 
void setRes (int x, int y)
 
exint getFrame () const
 
fpreal getFloatFrame () const
 
void setFrame (fpreal frame)
 
void setThread (int thr)
 
int getThread () const
 
void setCookTask (OP_CookTask *cook_task)
 
OP_CookTaskcookTask ()
 
const OP_CookTaskcookTask () const
 
OP_ContextDatagetData () const
 
void setData (OP_ContextData *data)
 
OP_VERSION getVersion () const
 
void setVersion (OP_VERSION version)
 
bool isCookOverride () const
 
void setCookOverride (bool override)
 
void setCompareOnlyTime ()
 
bool isTimeDep () const
 
void setTimeDep (bool timedep)
 
void setCompareContextOptions (bool compare)
 
bool isCompareContextOptions () const
 
void clearContextOptionDeps ()
 
void addContextOptionDeps (const DEP_ContextOptionDeps &deps)
 
const DEP_ContextOptionsStackgetContextOptionsStack () const
 
DEP_ContextOptionsReadHandle getContextOptions () const
 
DEP_ContextOptionsWriteHandle editContextOptions ()
 
DEP_ContextOptionsWriteHandle pushContextOptions ()
 
bool popContextOptions ()
 
void copyPointer (const OP_Context &from)
 
int operator== (const OP_Context &to) const
 
OP_Contextoperator= (const OP_Context &to)
 
void print (FILE *) const
 

Static Public Attributes

static CurrentEvalTimeTag CurrentEvalTime
 
static CurrentEvalContextTag CurrentEvalContext
 

Detailed Description

Constructor & Destructor Documentation

OP_Context::OP_Context ( )
OP_Context::OP_Context ( fpreal  t)
explicit
OP_Context::OP_Context ( fpreal  t,
int  thread 
)
OP_Context::OP_Context ( CurrentEvalTimeTag  )
OP_Context::OP_Context ( CurrentEvalContextTag  )
OP_Context::OP_Context ( const OP_Context from)
OP_Context::~OP_Context ( )

Member Function Documentation

void OP_Context::addContextOptionDeps ( const DEP_ContextOptionDeps deps)
inline

Definition at line 121 of file OP_Context.h.

void OP_Context::clearContextOptionDeps ( )
inline

Definition at line 119 of file OP_Context.h.

OP_CookTask* OP_Context::cookTask ( )
inline

Definition at line 87 of file OP_Context.h.

const OP_CookTask* OP_Context::cookTask ( ) const
inline

Definition at line 89 of file OP_Context.h.

void OP_Context::copyPointer ( const OP_Context from)
DEP_ContextOptionsWriteHandle OP_Context::editContextOptions ( )
DEP_ContextOptionsReadHandle OP_Context::getContextOptions ( ) const
inline
Examples:
SOP/SOP_PrimVOP.C.

Definition at line 127 of file OP_Context.h.

const DEP_ContextOptionsStack* OP_Context::getContextOptionsStack ( ) const
inline
Examples:
SOP/SOP_PrimVOP.C.

Definition at line 125 of file OP_Context.h.

OP_ContextData* OP_Context::getData ( ) const
inline

Definition at line 92 of file OP_Context.h.

fpreal OP_Context::getFloatFrame ( ) const
exint OP_Context::getFrame ( ) const
int OP_Context::getThread ( ) const
inline

Definition at line 81 of file OP_Context.h.

OP_VERSION OP_Context::getVersion ( ) const
inline

Definition at line 95 of file OP_Context.h.

bool OP_Context::isCompareContextOptions ( ) const
inline

Definition at line 116 of file OP_Context.h.

bool OP_Context::isCookOverride ( ) const
inline

Definition at line 98 of file OP_Context.h.

bool OP_Context::isTimeDep ( ) const
inline

Definition at line 109 of file OP_Context.h.

OP_Context& OP_Context::operator= ( const OP_Context to)
int OP_Context::operator== ( const OP_Context to) const
bool OP_Context::popContextOptions ( )
void OP_Context::print ( FILE *  ) const
DEP_ContextOptionsWriteHandle OP_Context::pushContextOptions ( )
void OP_Context::setCompareContextOptions ( bool  compare)
inline

Definition at line 114 of file OP_Context.h.

void OP_Context::setCompareOnlyTime ( )
inline

Definition at line 103 of file OP_Context.h.

void OP_Context::setCookOverride ( bool  override)
inline

Definition at line 100 of file OP_Context.h.

void OP_Context::setCookTask ( OP_CookTask cook_task)
inline

Definition at line 85 of file OP_Context.h.

void OP_Context::setData ( OP_ContextData data)
inline

Definition at line 93 of file OP_Context.h.

void OP_Context::setFrame ( fpreal  frame)
void OP_Context::setRes ( int  x,
int  y 
)
inline

Definition at line 72 of file OP_Context.h.

void OP_Context::setThread ( int  thr)
inline

Definition at line 80 of file OP_Context.h.

void OP_Context::setTime ( fpreal  t)
inline
Examples:
SOP/SOP_TimeCompare.C.

Definition at line 61 of file OP_Context.h.

void OP_Context::setTimeDep ( bool  timedep)
inline

Definition at line 111 of file OP_Context.h.

void OP_Context::setVersion ( OP_VERSION  version)
inline

Definition at line 96 of file OP_Context.h.

void OP_Context::setXres ( int  xres)
inline

Definition at line 70 of file OP_Context.h.

void OP_Context::setYres ( int  yres)
inline

Definition at line 71 of file OP_Context.h.

int OP_Context::xres ( ) const
inline

Definition at line 68 of file OP_Context.h.

int OP_Context::yres ( ) const
inline

Definition at line 69 of file OP_Context.h.

Member Data Documentation

CurrentEvalContextTag OP_Context::CurrentEvalContext
static

Definition at line 50 of file OP_Context.h.

CurrentEvalTimeTag OP_Context::CurrentEvalTime
static

Definition at line 48 of file OP_Context.h.


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