SeExpr
varblocks.txt File Reference

Functions

<!-- Copyright Disney Enterprises, Inc. All rights reserved. Licensed under the Apache License, Version 2.0(the "License");you may not use this file except in compliance with the License and the following modification to it:Section 6 Trademarks. deleted and replaced with:6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor and its affiliates, except as required for reproducing the content of the NOTICE file. You may obtain a copy of the License at http:-->< p > You can still define resolveVar () and resolveFunc() methods in your custom expression classes
 
with numParticles numAttributes A variable block contains variable names and types but doesn t care what the values are< pre > void f (const std::string &s, MyParticleData *p, int outputDim=3)
 
</pre > To parallelize evaluation per a simple parallel_for can be p numParticles ())
 
<!-- Copyright Disney Enterprises, Inc. All rights reserved. Licensed under the Apache License, Version 2.0(the "License");you may not use this file except in compliance with the License and the following modification to it:Section 6 Trademarks. deleted and replaced with:6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor and its affiliates, except as required for reproducing the content of the NOTICE file. You may obtain a copy of the License at http:-->< p > You can still define resolveVar () and resolveFunc() methods in your custom expression classes
 

Variables

</pre > To parallelize evaluation per particle
 
</pre > To parallelize evaluation per a simple parallel_for can be used
 
</pre > To parallelize evaluation per a simple parallel_for can be p blocked_range r
 
e evalMultiple & myblock
 
</pre > Once we have this we need an instance to store our variable and provide a reference to that We make it because it may be useful to use the same ExprVarRef from multiple expressions !For if you have expressions that all have access to the same variables
 
For a multi line expression
 

Function Documentation

◆ f()

◆ numParticles()

</pre > To parallelize evaluation per a simple parallel_for can be p numParticles ( )

References p, and r.

◆ resolveVar() [1/2]

<!-- Copyright Disney Enterprises, Inc. All rights reserved. Licensed under the Apache License, Version 2.0(the "License");you may not use this file except in compliance with the License and the following modification to it:Section 6 Trademarks. deleted and replaced with:6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor and its affiliates, except as required for reproducing the content of the NOTICE file. You may obtain a copy of the License at http:-->< p > You can still define resolveVar ( )

◆ resolveVar() [2/2]

<!-- Copyright Disney Enterprises, Inc. All rights reserved. Licensed under the Apache License, Version 2.0(the "License");you may not use this file except in compliance with the License and the following modification to it:Section 6 Trademarks. deleted and replaced with:6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor and its affiliates, except as required for reproducing the content of the NOTICE file. You may obtain a copy of the License at http:-->< p > You can still define resolveVar ( )

Variable Documentation

◆ expression

For a multi line expression

Definition at line 551 of file userdoc.txt.

◆ myblock

e evalMultiple& myblock

Definition at line 78 of file varblocks.txt.

◆ particle

</pre> To parallelize evaluation per particle

Definition at line 73 of file varblocks.txt.

◆ r

</pre > To parallelize evaluation per a simple parallel_for can be p blocked_range r
Initial value:
{
VarBlock myBlock=block.clone()

Definition at line 76 of file varblocks.txt.

Referenced by ExprSlider::mouseMoveEvent(), numParticles(), ExprSlider::paintEvent(), and VectorControl::updateControl().

◆ used

</pre> To parallelize evaluation per a simple parallel_for can be used

Definition at line 73 of file varblocks.txt.

◆ variables

</pre > Once we have this we need an instance to store our variable and provide a reference to that We make it because it may be useful to use the same ExprVarRef from multiple expressions !For if you have expressions that all have access to the same variables

Definition at line 129 of file tutorial.txt.