Nodes ▸ Functions ▸ Dataset

Volume Patch

Interpolates a cube-shaped patch from a 3-D grid, centered at a position, for volume rendering with Plot.

Volume Patchx

Inputs

PortAcceptsRequiredDescription
x dataset required The 3-D grid to interpolate the patch from

Parameter ports

Added from the Parameters pane (⊕). While connected, each drives its parameter.

PortAcceptsModeDescription
pos
Pos
primitive(array) dataset(stack) dataset(surface) opt-in pos position; overrides the pos parameter while connected
size primitive(number) opt-in
drives size
Drives the Edge Length parameter while connected
resolution primitive(number) opt-in
drives resolution
Drives the Samples per Axis parameter while connected

Outputs

dataset(volume)

Parameters

ParameterKindDefaultChoices / rangeUnitNotes
Pos
pos
vector none
Edge Length
size
float 0.2 0.000001 to R_sun ⇄ port
Samples per Axis
resolution
int 64 2 to 256 ⇄ port

Used by

Browse all templates using Volume Patch