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

#include <GU_CESnippet.h>

Public Member Functions

 GU_CESnippetBindOp (GU_Detail *gdp=nullptr)
 
void setGdp (GU_Detail *gdp)
 
void setRefVol (const GEO_PrimVolume *vol)
 
bool requiresHas (const CE_Snippet::Binding &binding, CE_Precision precision) const
 Is this binding optional, and if so, does it exist in the geometry? More...
 
bool operator() (const CE_Snippet::Binding &binding, int p, cl::Kernel &kernel, int &argidx, UT_ErrorManager *error, CE_Precision precision) const
 

Protected Member Functions

bool setAttribute (const CE_Snippet::Binding &binding, int p, cl::Kernel &kernel, int &argidx, UT_ErrorManager *error, CE_Precision precision) const
 
bool setVolume (const CE_Snippet::Binding &binding, int p, cl::Kernel &kernel, int &argidx, UT_ErrorManager *error, CE_Precision precision) const
 
bool setVDB (const CE_Snippet::Binding &binding, int p, cl::Kernel &kernel, int &argidx, UT_ErrorManager *error, CE_Precision precision) const
 

Protected Attributes

GU_DetailmyGdp
 
const GEO_PrimVolumemyRefVol
 

Detailed Description

Definition at line 21 of file GU_CESnippet.h.

Constructor & Destructor Documentation

GU_CESnippetBindOp::GU_CESnippetBindOp ( GU_Detail gdp = nullptr)
inline

Definition at line 24 of file GU_CESnippet.h.

Member Function Documentation

bool GU_CESnippetBindOp::operator() ( const CE_Snippet::Binding binding,
int  p,
cl::Kernel kernel,
int argidx,
UT_ErrorManager error,
CE_Precision  precision 
) const
bool GU_CESnippetBindOp::requiresHas ( const CE_Snippet::Binding binding,
CE_Precision  precision 
) const

Is this binding optional, and if so, does it exist in the geometry?

bool GU_CESnippetBindOp::setAttribute ( const CE_Snippet::Binding binding,
int  p,
cl::Kernel kernel,
int argidx,
UT_ErrorManager error,
CE_Precision  precision 
) const
protected
void GU_CESnippetBindOp::setGdp ( GU_Detail gdp)
inline

Definition at line 29 of file GU_CESnippet.h.

void GU_CESnippetBindOp::setRefVol ( const GEO_PrimVolume vol)
inline

Definition at line 30 of file GU_CESnippet.h.

bool GU_CESnippetBindOp::setVDB ( const CE_Snippet::Binding binding,
int  p,
cl::Kernel kernel,
int argidx,
UT_ErrorManager error,
CE_Precision  precision 
) const
protected
bool GU_CESnippetBindOp::setVolume ( const CE_Snippet::Binding binding,
int  p,
cl::Kernel kernel,
int argidx,
UT_ErrorManager error,
CE_Precision  precision 
) const
protected

Member Data Documentation

GU_Detail* GU_CESnippetBindOp::myGdp
protected

Definition at line 57 of file GU_CESnippet.h.

const GEO_PrimVolume* GU_CESnippetBindOp::myRefVol
protected

Definition at line 58 of file GU_CESnippet.h.


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