Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Add X-ray volume rendering preset #1209

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 6 additions & 5 deletions Modules/Loadable/VolumeRendering/Resources/presets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@
<VolumeProperty selected="false" hideFromEditors="false" name="CT-Pulmonary-Arteries" gradientOpacity="4 0 1 255 1" userTags="" specularPower="1" scalarOpacity="14 -2048 0 -568.625 0 -364.081 0.0714286 -244.813 0.401786 18.2775 0.607143 447.798 0.830357 3592.73 0.839286" id="vtkMRMLVolumePropertyNode19" specular="0" shade="1" ambient="0.2" colorTransfer="28 -2048 0 0 0 -568.625 0 0 0 -364.081 0.396078 0.301961 0.180392 -244.813 0.611765 0.352941 0.0705882 18.2775 0.843137 0.0156863 0.156863 447.798 0.752941 0.752941 0.752941 3592.73 1 1 1" selectable="true" diffuse="1" interpolation="1" effectiveRange="-568.625 447.798"/>
<VolumeProperty selected="false" hideFromEditors="false" name="CT-Soft-Tissue" gradientOpacity="4 0 1 255 1" userTags="" specularPower="1" scalarOpacity="10 -2048 0 -167.01 0 -160 1 240 1 3661 1" id="vtkMRMLVolumePropertyNode20" specular="0" shade="0" ambient="0.2" colorTransfer="20 -2048 0 0 0 -167.01 0 0 0 -160 0.0556356 0.0556356 0.0556356 240 1 1 1 3661 1 1 1" selectable="true" diffuse="1" interpolation="1" effectiveRange="-167.01 240"/>
<VolumeProperty selected="false" hideFromEditors="false" name="CT-Air" gradientOpacity="4 0 1 255 1" userTags="" specularPower="10" scalarOpacity="8 -3024 0.705882 -900.0 0.715686 -500.0 0 3071 0" id="vtkMRMLVolumePropertyNode21" specular="0.2" shade="1" ambient="0.1" colorTransfer="16 -3024 1 1 1 -900.0 0.2 1.0 1.0 -500.0 0.3 0.3 1.0 3071 0 0 0 " selectable="true" diffuse="0.9" interpolation="1" effectiveRange="-1200.0 -200.0"/>
<VolumeProperty selected="false" hideFromEditors="false" name="MR-Angio" gradientOpacity="4 0 1 255 1" userTags="" specularPower="1" scalarOpacity="12 -2048 0 151.354 0 158.279 0.4375 190.112 0.580357 200.873 0.732143 3661 0.741071" id="vtkMRMLVolumePropertyNode22" specular="0" shade="1" ambient="0.2" colorTransfer="24 -2048 0 0 0 151.354 0 0 0 158.279 0.74902 0.376471 0 190.112 1 0.866667 0.733333 200.873 0.937255 0.937255 0.937255 3661 1 1 1" selectable="true" diffuse="1" interpolation="1" effectiveRange="151.354 200.873"/>
<VolumeProperty selected="false" hideFromEditors="false" name="MR-Default" gradientOpacity="4 0 1 255 1" userTags="" specularPower="1" scalarOpacity="12 0 0 20 0 40 0.15 120 0.3 220 0.375 1024 0.5" id="vtkMRMLVolumePropertyNode23" specular="0" shade="1" ambient="0.2" colorTransfer="24 0 0 0 0 20 0.168627 0 0 40 0.403922 0.145098 0.0784314 120 0.780392 0.607843 0.380392 220 0.847059 0.835294 0.788235 1024 1 1 1" selectable="true" diffuse="1" interpolation="1" effectiveRange="0 220"/>
<VolumeProperty selected="false" hideFromEditors="false" name="MR-MIP" gradientOpacity="4 0 1 255 1" userTags="" specularPower="1" scalarOpacity="8 0 0 98.3725 0 416.637 1 2800 1" id="vtkMRMLVolumePropertyNode24" specular="0" shade="0" ambient="0.2" colorTransfer="16 0 1 1 1 98.3725 1 1 1 416.637 1 1 1 2800 1 1 1" selectable="true" diffuse="1" interpolation="1" effectiveRange="0 416.637"/>
<VolumeProperty selected="false" hideFromEditors="false" name="MR-T2-Brain" gradientOpacity="4 0 1 160.25 1" userTags="" specularPower="40" scalarOpacity="10 0 0 36.05 0 218.302 0.171429 412.406 1 641 1" id="vtkMRMLVolumePropertyNode25" specular="0.5" shade="1" ambient="0.3" colorTransfer="16 0 0 0 0 98.7223 0.956863 0.839216 0.192157 412.406 0 0.592157 0.807843 641 1 1 1" selectable="true" diffuse="0.6" interpolation="1" effectiveRange="0 412.406"/>
<VolumeProperty selected="false" hideFromEditors="false" name="DTI-FA-Brain" gradientOpacity="4 0 1 0.9950 1" userTags="" specularPower="40" scalarOpacity="16 0 0 0 0 0.3501 0.0158 0.49379 0.7619 0.6419 1 0.9920 1 0.9950 0 0.9950 0" id="vtkMRMLVolumePropertyNode26" specular="0.5" shade="1" ambient="0.3" colorTransfer="28 0 1 0 0 0 1 0 0 0.24974 0.4941 1 0 0.49949 0 0.9882 1 0.7492 0.51764 0 1 0.9950 1 0 0 0.9950 1 0 0" selectable="true" diffuse="0.9" interpolation="1" effectiveRange="0 1"/>
<VolumeProperty selected="false" hideFromEditors="false" name="CT-X-ray" gradientOpacity="4 0 1 255 1" userTags="" specularPower="10" scalarOpacity="8 -3024 0 -200.0 0.0 1500.0 0.05 3071 0.05" id="vtkMRMLVolumePropertyNode22" specular="0.2" shade="0" ambient="0.1" colorTransfer="8 -3024 1 1 1 3071 1 1 1 " selectable="true" diffuse="0.9" interpolation="1" effectiveRange="-250.0.0 1550.0"/>
<VolumeProperty selected="false" hideFromEditors="false" name="MR-Angio" gradientOpacity="4 0 1 255 1" userTags="" specularPower="1" scalarOpacity="12 -2048 0 151.354 0 158.279 0.4375 190.112 0.580357 200.873 0.732143 3661 0.741071" id="vtkMRMLVolumePropertyNode23" specular="0" shade="1" ambient="0.2" colorTransfer="24 -2048 0 0 0 151.354 0 0 0 158.279 0.74902 0.376471 0 190.112 1 0.866667 0.733333 200.873 0.937255 0.937255 0.937255 3661 1 1 1" selectable="true" diffuse="1" interpolation="1" effectiveRange="151.354 200.873"/>
<VolumeProperty selected="false" hideFromEditors="false" name="MR-Default" gradientOpacity="4 0 1 255 1" userTags="" specularPower="1" scalarOpacity="12 0 0 20 0 40 0.15 120 0.3 220 0.375 1024 0.5" id="vtkMRMLVolumePropertyNode24" specular="0" shade="1" ambient="0.2" colorTransfer="24 0 0 0 0 20 0.168627 0 0 40 0.403922 0.145098 0.0784314 120 0.780392 0.607843 0.380392 220 0.847059 0.835294 0.788235 1024 1 1 1" selectable="true" diffuse="1" interpolation="1" effectiveRange="0 220"/>
<VolumeProperty selected="false" hideFromEditors="false" name="MR-MIP" gradientOpacity="4 0 1 255 1" userTags="" specularPower="1" scalarOpacity="8 0 0 98.3725 0 416.637 1 2800 1" id="vtkMRMLVolumePropertyNode25" specular="0" shade="0" ambient="0.2" colorTransfer="16 0 1 1 1 98.3725 1 1 1 416.637 1 1 1 2800 1 1 1" selectable="true" diffuse="1" interpolation="1" effectiveRange="0 416.637"/>
<VolumeProperty selected="false" hideFromEditors="false" name="MR-T2-Brain" gradientOpacity="4 0 1 160.25 1" userTags="" specularPower="40" scalarOpacity="10 0 0 36.05 0 218.302 0.171429 412.406 1 641 1" id="vtkMRMLVolumePropertyNode26" specular="0.5" shade="1" ambient="0.3" colorTransfer="16 0 0 0 0 98.7223 0.956863 0.839216 0.192157 412.406 0 0.592157 0.807843 641 1 1 1" selectable="true" diffuse="0.6" interpolation="1" effectiveRange="0 412.406"/>
<VolumeProperty selected="false" hideFromEditors="false" name="DTI-FA-Brain" gradientOpacity="4 0 1 0.9950 1" userTags="" specularPower="40" scalarOpacity="16 0 0 0 0 0.3501 0.0158 0.49379 0.7619 0.6419 1 0.9920 1 0.9950 0 0.9950 0" id="vtkMRMLVolumePropertyNode27" specular="0.5" shade="1" ambient="0.3" colorTransfer="28 0 1 0 0 0 1 0 0 0.24974 0.4941 1 0 0.49949 0 0.9882 1 0.7492 0.51764 0 1 0.9950 1 0 0 0.9950 1 0 0" selectable="true" diffuse="0.9" interpolation="1" effectiveRange="0 1"/>
</MRML>
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<file alias="CT-Pulmonary-Arteries">Icons/CT-Pulmonary-Arteries.png</file>
<file alias="CT-Soft-Tissue">Icons/CT-Soft-Tissue.png</file>
<file alias="CT-Air">Icons/CT-Air.png</file>
<file alias="CT-X-ray">Icons/CT-X-ray.png</file>
<file alias="DTI-FA-Brain">Icons/DTI-FA-Brain.png</file>
<file alias="MR-Angio">Icons/MR-Angio.png</file>
<file alias="MR-Default">Icons/MR-Default.png</file>
Expand Down