<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body dir="auto">
<div></div>
<div>Hi Tom,</div>
<div><br>
</div>
<div>Thanks a lot!</div>
<div><br>
</div>
<div>Ben</div>
<div><br>
Le 14 déc. 2015 à 23:49, Tom Goddard <<a href="mailto:goddard@sonic.net">goddard@sonic.net</a>> a écrit :<br>
<br>
</div>
<div>Hi Ben,
<div class=""><br class="">
</div>
<div class="">  You can set multiple solid rendering thresholds with the volume command, for example,</div>
<div class=""><br class="">
</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>vol #0 style solid level .5,0 level 1.5,1</div>
<div class=""><br class="">
</div>
<div class="">For solid style the level is two numbers, the first being the density map value and the second is from 0 to 1 indicating the brightness (and also opacity).  To specify more than one level you repeat the option.</div>
<div class=""><br class="">
</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>Tom</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Dec 14, 2015, at 2:13 PM, <<a href="mailto:benoit.zuber@ana.unibe.ch" class="">benoit.zuber@ana.unibe.ch</a>> <<a href="mailto:benoit.zuber@ana.unibe.ch" class="">benoit.zuber@ana.unibe.ch</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="auto" class="">
<div class=""><span class=""></span></div>
<div class="">
<div class=""><span style="background-color: rgba(255, 255, 255, 0);" class="">Hello</span></div>
<div class=""><span style="background-color: rgba(255, 255, 255, 0);" class=""><br class="">
</span></div>
<div class=""><span style="background-color: rgba(255, 255, 255, 0);" class="">I would like to add several threshold markers for volume solid rendering. I would like to do it in a script. I guess the only way is to do it through a python script.</span></div>
<div class=""><span style="background-color: rgba(255, 255, 255, 0);" class="">I tried modifying the solid_levels and solid_colors attributes of the active volume but I could not find how I can then get the depending volume attributes, such as transfer_function
 and the gui (both rendered volume and the volume viewer dialog) to be correctly updated. Could anyone please give me a few pointers?</span></div>
<div class=""><span style="background-color: rgba(255, 255, 255, 0);" class=""><br class="">
</span></div>
<div class=""><span style="background-color: rgba(255, 255, 255, 0);" class="">Thanks in advance</span></div>
<div class=""><span style="background-color: rgba(255, 255, 255, 0);" class="">Ben </span></div>
<div class="">
<div id="" class="">
<div class="">
<div class=""><span style="background-color: rgba(255, 255, 255, 0);" class="">-- </span></div>
<div class=""><span style="background-color: rgba(255, 255, 255, 0);" class="">Prof. Benoît Zuber</span></div>
</div>
<div class=""><span style="background-color: rgba(255, 255, 255, 0);" class="">Institute of Anatomy</span></div>
<div class=""><span style="background-color: rgba(255, 255, 255, 0);" class="">University of Bern</span></div>
<div class=""><a dir="ltr" href="x-apple-data-detectors://1" x-apple-data-detectors="true" x-apple-data-detectors-type="address" x-apple-data-detectors-result="1" style="background-color: rgba(255, 255, 255, 0);" class=""><font class="">Baltzerstrasse 2</font></a></div>
<div class=""><a dir="ltr" href="x-apple-data-detectors://2/0" x-apple-data-detectors="true" x-apple-data-detectors-type="address" x-apple-data-detectors-result="2/0" style="background-color: rgba(255, 255, 255, 0);" class=""><font class="">Postfach 922</font></a></div>
<div class=""><font class=""><span style="background-color: rgba(255, 255, 255, 0);" class=""><a dir="ltr" href="x-apple-data-detectors://2/0" x-apple-data-detectors="true" x-apple-data-detectors-type="address" x-apple-data-detectors-result="2/0" class="">3000
 Bern</a> 9</span></font></div>
<div class=""><span style="background-color: rgba(255, 255, 255, 0);" class="">Switzerland</span></div>
<div class=""><a dir="ltr" href="mailto:benoit.zuber@ana.unibe.ch" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="2/1" style="background-color: rgba(255, 255, 255, 0);" class=""><font class="">benoit.zuber@ana.unibe.ch</font></a></div>
<div class=""><a dir="ltr" href="tel:+41%2031%20631%2084%2040" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="2/2" style="background-color: rgba(255, 255, 255, 0);" class=""><font class="">+41 31 631 84
 40</font></a></div>
<div class=""><a dir="ltr" href="http://www.ana.unibe.ch/research/experimental_morphology/index_eng.html" x-apple-data-detectors="true" x-apple-data-detectors-type="link" x-apple-data-detectors-result="2/3" style="background-color: rgba(255, 255, 255, 0);" class=""><font class="">http://www.ana.unibe.ch/research/experimental_morphology/index_eng.html</font></a></div>
</div>
</div>
<div class=""></div>
</div>
</div>
_______________________________________________<br class="">
Chimera-users mailing list<br class="">
<a href="mailto:Chimera-users@cgl.ucsf.edu" class="">Chimera-users@cgl.ucsf.edu</a><br class="">
<a href="http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users">http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>