Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

Name

function — Manipulate data with mathematical expression

...

No Format
bgColor#eeeeee
borderWidth1

function "x = x + 100 ; y = x + y"

...

No Format
bgColor#eeeeee
borderWidth1

function "z = if(z<0, 5, z)"

...

Common Function variables:

The following variables are available to all datasets:

x = the x value of the current point
y = the y value of the current point
z = the z value of the current point

...

No Format
bgColor#eeeeee
borderWidth1

function "x=y ; y=x"

Example 2: Multiply z by 1000 (Structured Points or Poly Data)

No Format
bgColor#eeeeee
borderWidth1

function "z=z*1000"

Example 3: Translate polydata 100 in x direction

No Format
bgColor#eeeeee
borderWidth1

function "x=x+100"

Example 4: Translate structured points dataset100 in x direction

No Format
bgColor#eeeeee
borderWidth1

function "origo_x=origo_x+100"

...

No Format
bgColor#eeeeee
borderWidth1

function "z=dy*sin(sqrt(x*x +y*y)/(dx*10))"

...