SeExpr
Public Types | Public Member Functions | Private Attributes | List of all members
SeExpr2::CachedVoronoiFunc Class Reference
Inheritance diagram for SeExpr2::CachedVoronoiFunc:
SeExpr2::ExprFuncSimple SeExpr2::ExprFuncX

Public Types

typedef Vec3d VoronoiFunc (VoronoiPointData &data, int n, const Vec3d *args)
 

Public Member Functions

 CachedVoronoiFunc (VoronoiFunc *vfunc)
 
virtual ExprType prep (ExprFuncNode *node, bool scalarWanted, ExprVarEnvBuilder &envBuilder) const
 
virtual ExprFuncNode::DataevalConstant (const ExprFuncNode *node, ArgHandle args) const
 
virtual void eval (ArgHandle args)
 
virtual ~CachedVoronoiFunc ()
 
- Public Member Functions inherited from SeExpr2::ExprFuncSimple
 ExprFuncSimple (const bool threadSafe)
 
virtual int buildInterpreter (const ExprFuncNode *node, Interpreter *interpreter) const
 Build an interpreter to evaluate the expression. More...
 
- Public Member Functions inherited from SeExpr2::ExprFuncX
 ExprFuncX (const bool threadSafe)
 
virtual ExprType type () const
 
virtual ~ExprFuncX ()
 
bool isThreadSafe () const
 
virtual size_t sizeInBytes () const
 Return memory usage of a funcX in bytes. More...
 
virtual void statistics (Statistics &) const
 Give this function a chance to populate its statistics. More...
 

Private Attributes

VoronoiFunc_vfunc
 

Additional Inherited Members

- Protected Attributes inherited from SeExpr2::ExprFuncX
bool _isScalar
 
ExprType _type
 

Detailed Description

Definition at line 1009 of file ExprBuiltins.cpp.

Member Typedef Documentation

typedef Vec3d SeExpr2::CachedVoronoiFunc::VoronoiFunc(VoronoiPointData &data, int n, const Vec3d *args)

Definition at line 1011 of file ExprBuiltins.cpp.

Constructor & Destructor Documentation

SeExpr2::CachedVoronoiFunc::CachedVoronoiFunc ( VoronoiFunc vfunc)
inline

Definition at line 1012 of file ExprBuiltins.cpp.

virtual SeExpr2::CachedVoronoiFunc::~CachedVoronoiFunc ( )
inlinevirtual

Definition at line 1045 of file ExprBuiltins.cpp.

Member Function Documentation

virtual void SeExpr2::CachedVoronoiFunc::eval ( ArgHandle  args)
inlinevirtual
virtual ExprFuncNode::Data* SeExpr2::CachedVoronoiFunc::evalConstant ( const ExprFuncNode node,
ArgHandle  args 
) const
inlinevirtual

Implements SeExpr2::ExprFuncSimple.

Definition at line 1028 of file ExprBuiltins.cpp.

virtual ExprType SeExpr2::CachedVoronoiFunc::prep ( ExprFuncNode node,
bool  scalarWanted,
ExprVarEnvBuilder env 
) const
inlinevirtual

prep the expression by doing all type checking argument checking, etc.

Implements SeExpr2::ExprFuncSimple.

Definition at line 1014 of file ExprBuiltins.cpp.

References SeExpr2::ExprNode::addError(), SeExpr2::ExprType::Error(), and SeExpr2::ExprNode::numChildren().

Member Data Documentation

VoronoiFunc* SeExpr2::CachedVoronoiFunc::_vfunc
private

Definition at line 1048 of file ExprBuiltins.cpp.


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