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

#include <OP_Context.h>

Classes

struct  CurrentEvalTimeTag
 
struct  StateLessTag
 

Public Member Functions

 OP_Context ()
 
 OP_Context (fpreal t)
 
 OP_Context (fpreal t, int thread, bool use_eval_context_options=true)
 
 OP_Context (CurrentEvalTimeTag)
 
 OP_Context (const OP_DataMicroNode &micronode)
 
 OP_Context (const OP_Context &from)
 
 OP_Context (StateLessTag, 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
 
OP_ContextDatagetData () const
 
void setData (OP_ContextData *data)
 
OP_VERSION getVersionParms () const
 
void setVersionParms (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
 
void setContextOptionsFromMicroNode (const OP_DataMicroNode &micronode)
 
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 StateLessTag StateLess
 

Detailed Description

Constructor & Destructor Documentation

OP_Context::OP_Context ( )
OP_Context::OP_Context ( fpreal  t)
explicit
OP_Context::OP_Context ( fpreal  t,
int  thread,
bool  use_eval_context_options = true 
)
OP_Context::OP_Context ( CurrentEvalTimeTag  )
OP_Context::OP_Context ( const OP_DataMicroNode micronode)
OP_Context::OP_Context ( const OP_Context from)
OP_Context::OP_Context ( StateLessTag  ,
const OP_Context from 
)
OP_Context::~OP_Context ( )

Member Function Documentation

void OP_Context::addContextOptionDeps ( const DEP_ContextOptionDeps deps)
inline

Definition at line 116 of file OP_Context.h.

void OP_Context::clearContextOptionDeps ( )
inline

Definition at line 114 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 122 of file OP_Context.h.

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

Definition at line 120 of file OP_Context.h.

OP_ContextData* OP_Context::getData ( ) const
inline

Definition at line 85 of file OP_Context.h.

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

Definition at line 83 of file OP_Context.h.

OP_VERSION OP_Context::getVersionParms ( ) const
inline

Definition at line 88 of file OP_Context.h.

bool OP_Context::isCompareContextOptions ( ) const
inline

Definition at line 111 of file OP_Context.h.

bool OP_Context::isCookOverride ( ) const
inline

Definition at line 93 of file OP_Context.h.

bool OP_Context::isTimeDep ( ) const
inline

Definition at line 104 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 109 of file OP_Context.h.

void OP_Context::setCompareOnlyTime ( )
inline

Definition at line 98 of file OP_Context.h.

void OP_Context::setContextOptionsFromMicroNode ( const OP_DataMicroNode micronode)
void OP_Context::setCookOverride ( bool  override)
inline

Definition at line 95 of file OP_Context.h.

void OP_Context::setData ( OP_ContextData data)
inline

Definition at line 86 of file OP_Context.h.

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

Definition at line 74 of file OP_Context.h.

void OP_Context::setThread ( int  thr)
inline

Definition at line 82 of file OP_Context.h.

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

Definition at line 63 of file OP_Context.h.

void OP_Context::setTimeDep ( bool  timedep)
inline

Definition at line 106 of file OP_Context.h.

void OP_Context::setVersionParms ( OP_VERSION  version)
inline

Definition at line 90 of file OP_Context.h.

void OP_Context::setXres ( int  xres)
inline

Definition at line 72 of file OP_Context.h.

void OP_Context::setYres ( int  yres)
inline

Definition at line 73 of file OP_Context.h.

int OP_Context::xres ( ) const
inline

Definition at line 70 of file OP_Context.h.

int OP_Context::yres ( ) const
inline

Definition at line 71 of file OP_Context.h.

Member Data Documentation

CurrentEvalTimeTag OP_Context::CurrentEvalTime
static

Definition at line 48 of file OP_Context.h.

StateLessTag OP_Context::StateLess
static

Definition at line 50 of file OP_Context.h.


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