Home | nevrax.com |
|
NL3D::CPSAttribMakerBinOp Class Template ReferenceAn attribute maker that compute an attribute in a particle system. More...
Inheritance diagram for NL3D::CPSAttribMakerBinOp:
Detailed Descriptiontemplate<class T>
An attribute maker that compute an attribute in a particle system.
|
|
default ctor It construct an selectArg1 operator. The 2 argument are set to NULL, Which mean that an assertion will happen if get, make ... are called before setArg is called Definition at line 133 of file ps_attrib_maker_bin_op_inline.h. References _Arg, and NL3D::CPSAttribMaker::_HasMemory. |
|
copy ctor.
Definition at line 120 of file ps_attrib_maker_bin_op_inline.h. |
|
dtor.
Definition at line 149 of file ps_attrib_maker_bin_op_inline.h. References clean. |
|
Definition at line 141 of file ps_attrib_maker_bin_op_inline.h. References _Arg. Referenced by ~CPSAttribMakerBinOp. |
|
delete an element, given its index. this must be called only if memory management is used.
Reimplemented from NL3D::CPSAttribMaker. Definition at line 553 of file ps_attrib_maker_bin_op_inline.h. |
|
compute one value of the attribute from the given located at the given index.
Implements NL3D::CPSAttribMaker. Definition at line 164 of file ps_attrib_maker_bin_op_inline.h. References _Arg, index, nlstop, NL3D::PSBinOpAdd, NL3D::PSBinOpModulate, and NL3D::PSBinOpSubtract. |
|
get an argument, const version.
Definition at line 148 of file ps_attrib_maker_bin_op.h. |
|
get an argument.
Definition at line 139 of file ps_attrib_maker_bin_op.h. |
|
get the current operator.
Definition at line 170 of file ps_attrib_maker_bin_op.h. |
|
Fill tab with an attribute by using the given stride. It fills numAttrib attributes.
Implements NL3D::CPSAttribMaker. Definition at line 273 of file ps_attrib_maker_bin_op_inline.h. References makePrivate, NL3D::PSBinOpBufSize, and stride. |
|
The same as make, but it replicate each attribute 4 times, thus filling 4*numAttrib. Useful for facelookat and the like
Implements NL3D::CPSAttribMaker. Definition at line 386 of file ps_attrib_maker_bin_op_inline.h. References make4Private, NL3D::PSBinOpBufSize, and stride. |
|
Definition at line 346 of file ps_attrib_maker_bin_op_inline.h. References _Arg, _Op, NL3D::Make4Private, nlassert, NL3D::PSBinOpBufSize, and stride. Referenced by make4. |
|
The same as make4, but with n replication instead of 4.
Implements NL3D::CPSAttribMaker. Definition at line 516 of file ps_attrib_maker_bin_op_inline.h. References makeNPrivate, NL3D::PSBinOpBufSize, and stride. |
|
Definition at line 476 of file ps_attrib_maker_bin_op_inline.h. References _Arg, _Op, NL3D::MakeNPrivate, nlassert, NL3D::PSBinOpBufSize, and stride. Referenced by makeN. |
|
Definition at line 232 of file ps_attrib_maker_bin_op_inline.h. References _Arg, _Op, NL3D::MakePrivate, nlassert, NL3D::PSBinOpBufSize, and stride. Referenced by make. |
|
create a new element, and provides the emitter, this must be called only if this attribute maker has its own memory.
Reimplemented from NL3D::CPSAttribMaker. Definition at line 563 of file ps_attrib_maker_bin_op_inline.h. |
|
set a new capacity for the memorized attribute, and a number of used element. This usually is 0 , but during edition, this may not be ... so new element are created. this must be called only if this attribute maker has its own memory Reimplemented from NL3D::CPSAttribMaker. Definition at line 575 of file ps_attrib_maker_bin_op_inline.h. |
|
init the tab used for computations. we use a trick to avoid ctor calls, but they may be used for some types in the future , so a specilization of this method could be added in these case. Reimplemented from NL3D::CPSAttribMaker. Definition at line 537 of file ps_attrib_maker_bin_op_inline.h. |
|
set an argument for the operator.
Definition at line 125 of file ps_attrib_maker_bin_op.h. |
|
Set the operator to use An assertion is thrown when no available.
Definition at line 160 of file ps_attrib_maker_bin_op.h. |
|
return true if an operation is supported. The default support all ops.
Definition at line 167 of file ps_attrib_maker_bin_op.h. Referenced by NL3D::CPSAttribMakerBinOp< sint32 >::setOp. |
|
Definition at line 207 of file ps_attrib_maker_bin_op.h. Referenced by clean, CPSAttribMakerBinOp, deleteElement, get, NL3D::CPSAttribMakerBinOp< sint32 >::getArg, make4Private, makeNPrivate, makePrivate, newElement, resize, and NL3D::CPSAttribMakerBinOp< sint32 >::setArg. |
|
Definition at line 209 of file ps_attrib_maker_bin_op.h. Referenced by CPSAttribMakerBinOp, newElement, resize, and NL3D::CPSAttribMakerBinOp< sint32 >::setArg. |
|
Definition at line 206 of file ps_attrib_maker_bin_op.h. Referenced by CPSAttribMakerBinOp, NL3D::CPSAttribMakerBinOp< sint32 >::getOp, make4Private, makeNPrivate, makePrivate, and NL3D::CPSAttribMakerBinOp< sint32 >::setOp. |
|
Definition at line 209 of file ps_attrib_maker_bin_op.h. Referenced by CPSAttribMakerBinOp, deleteElement, newElement, resize, and NL3D::CPSAttribMakerBinOp< sint32 >::setArg. |