|
HDK
|
#include <GEO_ImplicitSurfaceOp.h>
Public Member Functions | |
| GEO_ImplicitSurfaceOp ()=default | |
| GEO_ImplicitSurfaceOp (GEO_ImplicitSurfaceOpID op_id, const UT_Vector4T< VEXfloat< PREC >> &op_parms={0, 0, 0, 0}) | |
| GEO_ImplicitSurfaceOp (const char *name, const VEXmat3< PREC > &transform, const VEXvec4< PREC > &op_parms={0, 0, 0, 0}) | |
| bool | isUnary () const |
| bool | isBinary () const |
| void | scale (VEXfloat< PREC > s) |
| VEXfloat< PREC > | evalUnary (VEXfloat< PREC > a) const |
| Evaluate unary operation. More... | |
| VEXfloat< PREC > | evalUnary (VEXfloat< PREC > a, UT_Vector4T< VEXfloat< PREC >> &op_dparms, VEXfloat< PREC > &da) const |
| void | evalUnaryBatched (int npts, VEXfloat< PREC > *a) const |
| void | evalUnaryBatched (int npts, VEXfloat< PREC > *a, UT_Vector4T< VEXfloat< PREC >> *op_dparms, VEXfloat< PREC > *da) const |
| UT_IntervalT< VEXfloat< PREC > > | evalUnary (const UT_IntervalT< VEXfloat< PREC >> &a) const |
| VEXfloat< PREC > | evalBinary (VEXfloat< PREC > a, VEXfloat< PREC > b, int a_id, int b_id, int &out_id) const |
| Evaluate binary operation. More... | |
| VEXfloat< PREC > | evalBinary (VEXfloat< PREC > a, VEXfloat< PREC > b, int a_id, int b_id, int &out_id, UT_Vector4T< VEXfloat< PREC >> &op_dparms, VEXfloat< PREC > &da, VEXfloat< PREC > &db) const |
| void | evalBinaryBatched (int npts, const VEXfloat< PREC > *a, const VEXfloat< PREC > *b, const int *a_id, const int *b_id, int *out_id, VEXfloat< PREC > *result) const |
| void | evalBinaryBatched (int npts, const VEXfloat< PREC > *a, const VEXfloat< PREC > *b, const int *a_id, const int *b_id, int *out_id, UT_Vector4T< VEXfloat< PREC >> *op_dparms, VEXfloat< PREC > *da, VEXfloat< PREC > *db, VEXfloat< PREC > *result) const |
| UT_IntervalT< VEXfloat< PREC > > | evalBinary (const UT_IntervalT< VEXfloat< PREC >> &a, const UT_IntervalT< VEXfloat< PREC >> &b) const |
| UT_IntervalT< VEXfloat< PREC > > | evalBinary (const UT_IntervalT< VEXfloat< PREC >> &a, const UT_IntervalT< VEXfloat< PREC >> &b, GEO_ImplicitSurfaceOptFlag &can_optimize) const |
Public Attributes | |
| GEO_ImplicitSurfaceOpID | myId = GEO_ImplicitSurfaceOpID::Invalid |
| UT_Vector4T< VEXfloat< PREC > > | myParms = {0, 0, 0, 0} |
Definition at line 75 of file GEO_ImplicitSurfaceOp.h.
|
default |
|
inline |
Definition at line 81 of file GEO_ImplicitSurfaceOp.h.
|
inline |
Definition at line 85 of file GEO_ImplicitSurfaceOp.h.
| VEXfloat<PREC> GEO_ImplicitSurfaceOp< PREC >::evalBinary | ( | VEXfloat< PREC > | a, |
| VEXfloat< PREC > | b, | ||
| int | a_id, | ||
| int | b_id, | ||
| int & | out_id | ||
| ) | const |
Evaluate binary operation.
| VEXfloat<PREC> GEO_ImplicitSurfaceOp< PREC >::evalBinary | ( | VEXfloat< PREC > | a, |
| VEXfloat< PREC > | b, | ||
| int | a_id, | ||
| int | b_id, | ||
| int & | out_id, | ||
| UT_Vector4T< VEXfloat< PREC >> & | op_dparms, | ||
| VEXfloat< PREC > & | da, | ||
| VEXfloat< PREC > & | db | ||
| ) | const |
| UT_IntervalT<VEXfloat<PREC> > GEO_ImplicitSurfaceOp< PREC >::evalBinary | ( | const UT_IntervalT< VEXfloat< PREC >> & | a, |
| const UT_IntervalT< VEXfloat< PREC >> & | b | ||
| ) | const |
| UT_IntervalT<VEXfloat<PREC> > GEO_ImplicitSurfaceOp< PREC >::evalBinary | ( | const UT_IntervalT< VEXfloat< PREC >> & | a, |
| const UT_IntervalT< VEXfloat< PREC >> & | b, | ||
| GEO_ImplicitSurfaceOptFlag & | can_optimize | ||
| ) | const |
| void GEO_ImplicitSurfaceOp< PREC >::evalBinaryBatched | ( | int | npts, |
| const VEXfloat< PREC > * | a, | ||
| const VEXfloat< PREC > * | b, | ||
| const int * | a_id, | ||
| const int * | b_id, | ||
| int * | out_id, | ||
| VEXfloat< PREC > * | result | ||
| ) | const |
| void GEO_ImplicitSurfaceOp< PREC >::evalBinaryBatched | ( | int | npts, |
| const VEXfloat< PREC > * | a, | ||
| const VEXfloat< PREC > * | b, | ||
| const int * | a_id, | ||
| const int * | b_id, | ||
| int * | out_id, | ||
| UT_Vector4T< VEXfloat< PREC >> * | op_dparms, | ||
| VEXfloat< PREC > * | da, | ||
| VEXfloat< PREC > * | db, | ||
| VEXfloat< PREC > * | result | ||
| ) | const |
| VEXfloat<PREC> GEO_ImplicitSurfaceOp< PREC >::evalUnary | ( | VEXfloat< PREC > | a | ) | const |
Evaluate unary operation.
| VEXfloat<PREC> GEO_ImplicitSurfaceOp< PREC >::evalUnary | ( | VEXfloat< PREC > | a, |
| UT_Vector4T< VEXfloat< PREC >> & | op_dparms, | ||
| VEXfloat< PREC > & | da | ||
| ) | const |
| UT_IntervalT<VEXfloat<PREC> > GEO_ImplicitSurfaceOp< PREC >::evalUnary | ( | const UT_IntervalT< VEXfloat< PREC >> & | a | ) | const |
| void GEO_ImplicitSurfaceOp< PREC >::evalUnaryBatched | ( | int | npts, |
| VEXfloat< PREC > * | a | ||
| ) | const |
| void GEO_ImplicitSurfaceOp< PREC >::evalUnaryBatched | ( | int | npts, |
| VEXfloat< PREC > * | a, | ||
| UT_Vector4T< VEXfloat< PREC >> * | op_dparms, | ||
| VEXfloat< PREC > * | da | ||
| ) | const |
|
inline |
Definition at line 99 of file GEO_ImplicitSurfaceOp.h.
|
inline |
Definition at line 98 of file GEO_ImplicitSurfaceOp.h.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Convert operation ID to name string.
|
static |
Convert operation name string to ID.
|
inline |
Scale distance-valued operation parameters by uniform factor. Operations without distance parameters (Union, Intersect, etc.) are unchanged.
Definition at line 107 of file GEO_ImplicitSurfaceOp.h.
| GEO_ImplicitSurfaceOpID GEO_ImplicitSurfaceOp< PREC >::myId = GEO_ImplicitSurfaceOpID::Invalid |
Definition at line 77 of file GEO_ImplicitSurfaceOp.h.
| UT_Vector4T<VEXfloat<PREC> > GEO_ImplicitSurfaceOp< PREC >::myParms = {0, 0, 0, 0} |
Definition at line 78 of file GEO_ImplicitSurfaceOp.h.