{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Namespace: SinglePassRenderingVolume","description":"Accelerate E&P application development and protect your innovation by consuming our Data and Domain APIs / Platform APIs.","lang":"en-US","meta":[{"name":"robots","content":"noindex"}],"llmstxt":{"hide":true,"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/readme"},"children":["API"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d"},"children":["geotoolkit3d"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3"},"children":["scene"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric"},"children":["volumetric"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume"},"children":["SinglePassRenderingVolume"]}," / SinglePassRenderingVolume"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"namespace-singlepassrenderingvolume","__idx":0},"children":["Namespace: SinglePassRenderingVolume"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric"},"children":["volumetric"]},".",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume"},"children":["SinglePassRenderingVolume"]},".SinglePassRenderingVolume"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"table-of-contents","__idx":1},"children":["Table of contents"]},{"$$mdtype":"Tag","name":"details","attributes":{"open":"true"},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"fontSize":"1.25em","fontWeight":"bold"}},"children":["Type Aliases"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#data3d"},"children":["Data3D"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#data4d"},"children":["Data4D"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#data4doptionsout"},"children":["Data4DOptionsOut"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#dataoptions"},"children":["DataOptions"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#dataoptionsout"},"children":["DataOptionsOut"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#datasize3d"},"children":["DataSize3D"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#datasize4d"},"children":["DataSize4D"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#datasizecommon"},"children":["DataSizeCommon"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#datatypedarray"},"children":["DataTypedArray"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#initoptions"},"children":["InitOptions"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#materialoptions"},"children":["MaterialOptions"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#options"},"children":["Options"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#optionsbase"},"children":["OptionsBase"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#optionsbaseout"},"children":["OptionsBaseOut"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#pointset"},"children":["PointSet"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#rawvolumedata"},"children":["RawVolumeData"]}]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"contents","__idx":2},"children":["Contents"]},{"$$mdtype":"Tag","name":"details","attributes":{"open":"true"},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"fontSize":"1.25em","fontWeight":"bold"}},"children":["Type Aliases"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"data3d","__idx":3},"children":["Data3D"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ƭ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data3D"]},": ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#rawvolumedata"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["RawVolumeData"]}]}," | ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#pointset"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PointSet"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Define the data format for 3D volume, either a raw volume data (user specify individual sample of the 3D volume), or a weighted pointset which will be interpolated into a voxel grid internally."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"data4d","__idx":4},"children":["Data4D"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ƭ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data4D"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Object"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The format for defining a 4D volume, where each sample is defined by the user (as opposed to the PointSet data).",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ","The 4D volume is represented by an array of 3D volumes, in which the array index represent the 4th dimension. Each individual 3D volume data is then represented by a single-dimension typed array."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"type-declaration","__idx":5},"children":["Type declaration"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["index"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["The index of 4th dimension of the 4D volume."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["rawdata"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#datatypedarray"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DataTypedArray"]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["A typed 1D array that contains the volume 3D voxel data at the specific index on the 4th dimension.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"data4doptionsout","__idx":6},"children":["Data4DOptionsOut"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ƭ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data4DOptionsOut"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Object"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The output option of 4D volume data."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"type-declaration-1","__idx":7},"children":["Type declaration"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["rawdataarray"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#datatypedarray"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DataTypedArray"]}]},"[]"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["An array of typed 1D array that contains the volume 3D voxel data in different timestamps.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"dataoptions","__idx":8},"children":["DataOptions"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ƭ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["DataOptions"]},": ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#data3d"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Data3D"]}]}," & { ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]},": ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/enums/geotoolkit3d.scene-3.volumetric.constants.datatype#volume3d"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Volume3D"]}]},"  } | ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#data4d"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Data4D"]}]}," & { ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]},": ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/enums/geotoolkit3d.scene-3.volumetric.constants.datatype#volume4d"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Volume4D"]}]},"  }"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The accepted options for the .setData method.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ","Please note that the accepted options differ based on the 3D or 4D dimensionality of the volume defined by the user."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"dataoptionsout","__idx":9},"children":["DataOptionsOut"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ƭ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["DataOptionsOut"]},": ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#data3d"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Data3D"]}]}," & ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#datasize3d"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DataSize3D"]}]}," & { ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]},": ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/enums/geotoolkit3d.scene-3.volumetric.constants.datatype#volume3d"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Volume3D"]}]},"  } | ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#data4doptionsout"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Data4DOptionsOut"]}]}," & ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#datasize4d"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DataSize4D"]}]}," & { ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]},": ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/enums/geotoolkit3d.scene-3.volumetric.constants.datatype#volume4d"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Volume4D"]}]},"  }"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The data returned by the getData method.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ","Please note that the returned format differ based on the 3D or 4D dimensionality of the volume defined by the user."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"datasize3d","__idx":10},"children":["DataSize3D"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ƭ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["DataSize3D"]},": { ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["datadimensions"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Vector3"]},"  } & ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#datasizecommon"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DataSizeCommon"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Data descriptor if the volume is 3D."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"datasize4d","__idx":11},"children":["DataSize4D"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ƭ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["DataSize4D"]},": { ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["datadimensions"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Vector4"]},"  } & ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#datasizecommon"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DataSizeCommon"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Data descriptor if the volume is 4D.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ","The 4th dimension can represent the 'time' axis, and is achieved by storing an array of 3D Volumes instead of a single 3D Volume.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ","The volume to visualize can then be selected by setting the 4D index via .set4DVolumeIndex(), and can accept non-integer values in order to interpolate between two volume indices."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"datasizecommon","__idx":12},"children":["DataSizeCommon"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ƭ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["DataSizeCommon"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Object"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The common options for data descriptor."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"type-declaration-2","__idx":13},"children":["Type declaration"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["datamax?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["The original minimum value of the data in float.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," When using Uint8Array data arrays, specify the maximum value of the data.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," Uint arrays encode values as [0, 1] normalized floats then apply the datamin / datamax range to each value."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["datamin?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["The original minimum value of the data in float.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," When using Uint8Array data arrays, specify the minimum value of the data.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," Uint arrays encode values as [0, 1] normalized floats then apply the datamin / datamax range to each value."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["dataorder?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/enums/geotoolkit3d.scene-3.volumetric.constants.dataorder"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DataOrder"]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Data order and coordinate system of the provided raw data.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," This class supports two data orders, ZUpZYX and YUpXYZ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," Please see the enum documentation ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/enums/geotoolkit3d.scene-3.volumetric.constants.dataorder"},"children":["DataOrder"]}," for more details.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," Default value is DataOrder.ZUpZYX"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"datatypedarray","__idx":14},"children":["DataTypedArray"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ƭ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["DataTypedArray"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Float32Array"]}," | ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Uint8Array"]}," | ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Uint8ClampedArray"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Typed array formats accepted by the volume class.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ","If desired, and to save network bandwidth, values can be passed as Uint8Array directly: the values will be interpreted as normalized float encoded to integers.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ","In this case, be sure to specify the data range via the datamin and datamax parameters.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"initoptions","__idx":15},"children":["InitOptions"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ƭ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["InitOptions"]},": ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#datasize3d"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DataSize3D"]}]}," & { ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]},": ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/enums/geotoolkit3d.scene-3.volumetric.constants.datatype#volume3d"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Volume3D"]}]},"  } | ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#datasize4d"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DataSize4D"]}]}," & { ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]},": ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/enums/geotoolkit3d.scene-3.volumetric.constants.datatype#volume4d"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Volume4D"]}]},"  }"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Volume initialization options, they determine the volume dimensionality (3D or 4D), its data size (how many sample on each axis), and optionally the data loading order (Y-up or Z-up)."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"materialoptions","__idx":16},"children":["MaterialOptions"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ƭ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["MaterialOptions"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Object"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The volume options related to rendering, such as the colormap, sampling rate, raytracing modes and more."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"type-declaration-3","__idx":17},"children":["Type declaration"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["alphacorrectionfactor?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["The corrective factor for the alpha transparency.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," This alpha factor affects the opacity of each raytraced sample, higher alpha means the volume becomes more opaque.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," Default value is 1.0."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["clipintersection?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["boolean"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Define clip intersection see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://threejs.org/docs/#api/en/materials/Material.clipIntersection"},"children":["https://threejs.org/docs/#api/en/materials/Material.clipIntersection"]},")"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["clippingplanes?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Plane"]},"[]"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Defines the clipping planes see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://threejs.org/docs/#api/en/materials/Material.clippingPlanes"},"children":["https://threejs.org/docs/#api/en/materials/Material.clippingPlanes"]},")"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["enablelighting?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["boolean"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Enable the simulation of lighting/shading of the volume rendering, by interpreting the differences in values as 3D surfaces the light can bounce off.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," This can improve the sense of depth/surface in some cases.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," The rendering might become slower when enabled."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["raysamplingrate?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Ray sampling rate multiplier, affects how many samples per voxel are computed in each ray, default is 1.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," The sampling rate can be set to anything between 0.1 and 10.0, but bear in mind a higher sampling rate will result in worse performances.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," If it is set to 2, it means 2x the usual sampling (higher quality, slower)",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," If it is set to 0.5, it means 0.5x the usual sampling (lower quality, faster).",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," Higher samplings above 1x have diminishing returns, with virtually no improvement after 2x (excepted for Surface mode which is specific).",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," In Surface mode, when using linear/cubic interpolation, more samples increase the accuracy of the interpolation and can reduce the noise artifacts. ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Deprecated"]}]}," Deprecated since 5.0, please use options.samplingrateoptions.raysamplingrate instead."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["renderingmode?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/enums/geotoolkit3d.scene-3.volumetric.constants.renderingmode"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["RenderingMode"]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["The mode of the volume rendering.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," Default value is RenderingMode.DVR."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["samplingmode?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/enums/geotoolkit3d.scene-3.volumetric.constants.samplingmode"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SamplingMode"]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Data texture sampling mode.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," Default value is SamplingMode.Liner."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["samplingrateoptions?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["{ ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["enableadaptiverate?"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["boolean"]}," ; ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["enablequalitypass?"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["boolean"]}," ; ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["maxsamplingrate?"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}," ; ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["raysamplingrate?"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]},"  }"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Options for the sampling rate"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["samplingrateoptions.enableadaptiverate?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["boolean"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Enable adaptively adjusting the rendering quality based on the hardware capabilities.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," Faster GPUs will use a higher sampling rate (up to maxsamplingrate).",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," User can set the target GPU frame time (the time needed to render a frame) in 3D Plot option.advancedrendering.performancemetrics.targetgpuframetime.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," Default is false."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["samplingrateoptions.enablequalitypass?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["boolean"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Enable quality pass rendering, when enabled:",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," During plot's FastRendering pass the volume will use 'raysamplingrate' as sampling rate value for increased performances.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," Once the plot starts Quality Rendering Pass, it will use 'maxsamplingrate' for increased quality on the still image.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," plot quality pass needs to be enabled by Plot option.advancedrendering.qualityrenderpass.enable.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," Default is true."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["samplingrateoptions.maxsamplingrate?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["The sampling rate on QualityRendering pass. Default is 1.0."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["samplingrateoptions.raysamplingrate?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Ray sampling rate multiplier, affects how many samples per voxel are computed in each ray, default is 1.0.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," The sampling rate can be set to anything between 0.1 and 10.0, but bear in mind a higher sampling rate will result in worse performances.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," If it is set to 2, it means 2x the usual sampling (higher quality, slower)",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," If it is set to 0.5, it means 0.5x the usual sampling (lower quality, faster).",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," Higher samplings above 1x have diminishing returns, with virtually no improvement after 2x (excepted for Surface mode which is specific).",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," In Surface mode, when using linear/cubic interpolation, more samples increase the accuracy of the interpolation and can reduce the noise artifacts."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["surfaceranges?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Vector2"]},"[]"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["When in Surface rendering mode, define the visible value ranges.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," Up to 4 range (datamin, datamax) can be defined.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," When multiple ranges are defined, the final visible range will be the Union of all ranges.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," Default is one range from datamin to datamax if data has been set.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," If data is empty, default value is null.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Example"]}]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ts import {Vector2} from 'three'; import {RenderingMode} from '@int/geotoolkit3d/scene/volumetric/Constants'; // Change rendering to surface mode, turn on lighting, and filter values so that // only values in the union of ranges [0, 3] U [5, 7] U [9, 10] will be rendered. renderingVolume.setOptions({ renderingmode: RenderingMode.Surface, surfaceranges: [ new Vector2(0, 3), new Vector2(5, 7), new Vector2(9, 10) ] }); "]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transferfunc?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["{ ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["colormap?"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]},"[] | ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Texture"]}," ; ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["maxvalue?"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}," ; ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["minvalue?"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]},"  }"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Transfer function option",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," User can use either a texture as transfer function or an array of color string",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," User can also specify the value range that maps to the transfer function by setting minvalue and maxvalue",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," Note that these values need to be in the original float type.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," By default, minvalue will be 'datamin' of the data, maxvalue will be 'datamax' of the data."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transferfunc.colormap?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]},"[] | ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Texture"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["An array of color string or a texture that represents the transfer function"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transferfunc.maxvalue?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["The max value of the data map to the transfer function.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," By default, the min value of data will be used."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transferfunc.minvalue?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["The min value of the data map to the transfer function.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," By default, the min value of data will be used."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["volumedimension?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Vector3"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["The volume dimensions in world space coordinates.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," (Not to be confused with the data dimensions, ie: how many voxels on each axis does the data contain).",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," Default value is (1.0, 1.0, 1.0), and will be scaled equally proportioned to the data dimensions."]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"options","__idx":18},"children":["Options"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ƭ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Options"]},": ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.object3d.object3d#options"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Options"]}]}," & ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#materialoptions"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["MaterialOptions"]}]}," & { ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data?"]},": { ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["datamax?"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}," ; ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["datamin?"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}," ; ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["dimension?"]},": { ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["x"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}," ; ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["y"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}," ; ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["z"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]},"  } ; ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["points?"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Vector4"]},"[] ; ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["rawdata?"]},": ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#datatypedarray"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DataTypedArray"]}]},"  } ; ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["datainitialization?"]},": ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#initoptions"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["InitOptions"]}]},"  }"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The options for constructor"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"optionsbase","__idx":19},"children":["OptionsBase"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ƭ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["OptionsBase"]},": ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.object3d.object3d#options"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Options"]}]}," & ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#materialoptions"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["MaterialOptions"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The options"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"optionsbaseout","__idx":20},"children":["OptionsBaseOut"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ƭ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["OptionsBaseOut"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Required"]},"<",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.object3d.object3d#options"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Options"]}]},"> & ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#materialoptions"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["MaterialOptions"]}]}," & { ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["datamax"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}," ; ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["datamin"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]},"  }"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"pointset","__idx":21},"children":["PointSet"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ƭ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["PointSet"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Object"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The format defining a 3D volume, from an irregular set of 3D weighted points.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ","The volume class will then generate the voxel grid based on these points, the resolution of the voxel grid being defined by the user in the Volume dimentions initialization step (.initializeVolume method)"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"type-declaration-4","__idx":22},"children":["Type declaration"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["points"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Vector4"]},"[]"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Each point in the point set is defined by a Vector4, where the x/y/z component define the point position, and the w component define the point value. Values can then be mapped to color with a colormap for better visualization of the data.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," The interpolation step used to generate the voxel grid will then use this w component and interpolate it based on distance, using the inverse distance weighting algorithm."]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"rawvolumedata","__idx":23},"children":["RawVolumeData"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ƭ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["RawVolumeData"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Object"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The format for defining a 3D volume, where each sample is defined by the user (as opposed to the PointSet data).",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ","The volume data is passed as a single-dimension typed array."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"type-declaration-5","__idx":24},"children":["Type declaration"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["rawdata"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume#datatypedarray"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DataTypedArray"]}]}]}]}]}]}]}]}]},"headings":[{"value":"Namespace: SinglePassRenderingVolume","id":"namespace-singlepassrenderingvolume","depth":1},{"value":"Table of contents","id":"table-of-contents","depth":2},{"value":"Contents","id":"contents","depth":2},{"value":"Data3D","id":"data3d","depth":4},{"value":"Data4D","id":"data4d","depth":4},{"value":"Type declaration","id":"type-declaration","depth":4},{"value":"Data4DOptionsOut","id":"data4doptionsout","depth":4},{"value":"Type declaration","id":"type-declaration-1","depth":4},{"value":"DataOptions","id":"dataoptions","depth":4},{"value":"DataOptionsOut","id":"dataoptionsout","depth":4},{"value":"DataSize3D","id":"datasize3d","depth":4},{"value":"DataSize4D","id":"datasize4d","depth":4},{"value":"DataSizeCommon","id":"datasizecommon","depth":4},{"value":"Type declaration","id":"type-declaration-2","depth":4},{"value":"DataTypedArray","id":"datatypedarray","depth":4},{"value":"InitOptions","id":"initoptions","depth":4},{"value":"MaterialOptions","id":"materialoptions","depth":4},{"value":"Type declaration","id":"type-declaration-3","depth":4},{"value":"Options","id":"options","depth":4},{"value":"OptionsBase","id":"optionsbase","depth":4},{"value":"OptionsBaseOut","id":"optionsbaseout","depth":4},{"value":"PointSet","id":"pointset","depth":4},{"value":"Type declaration","id":"type-declaration-4","depth":4},{"value":"RawVolumeData","id":"rawvolumedata","depth":4},{"value":"Type declaration","id":"type-declaration-5","depth":4}],"frontmatter":{"seo":{"title":"Namespace: SinglePassRenderingVolume"}},"lastModified":"2026-02-11T19:54:32.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/solutions/geotoolkit/apis/modules/geotoolkit3d.scene-3.volumetric.singlepassrenderingvolume.singlepassrenderingvolume","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}