<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi fellow VTK enthusiasts,<o:p></o:p></p>
<p class="MsoNormal">I have what is in essence a 3D graph of vtkCubeSource objects from which I select one at a time, sometimes using the standard vtkPicker approach, sometimes using other mechanisms I’ve coded myself. Whichever mechanism I use to do the picking,
I’ve also coded how I visually highlight/indicate what’s been selected; thus, the red wireframe box that the vtkPicker approach leaves around the picked object is at best irrelevant. However, if I follow a vtkPicker-based pick A with a non-vtkPicker-based
pick B, that red wireframe box remains around picked object A, even though by the internal logic of my application it’s no longer picked.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">That the vtkPicker object thinks it’s still picked doesn’t matter to me – I track picking independently of that – but I can’t figure out how to remove that red wireframe box that is a consequence of the vtkPicker’s “picked” state. I’d
imagine it’s just a wireframe vtkCubeSource or the like and that it would have something to do with the vtkPicker’s vtkActor’s vtkProperty’s bounds (as in picker->GetActor()->GetProperty->GetBounds(bounds), where bounds is an array of 6 floats and picker is
a vtkPicker *), but snooping around in the source code hasn’t gotten me to find where that red bounding box is drawn. Any suggestions on how I can turn it off and just generally access it? Thanks.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Steve<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:black">-Steve Chall<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> Senior Research Software Developer<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> Renaissance Computing Institute (RENCI)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> Phone: 919-681-9639<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black"> Email: <a href="mailto:stevec@renci.org">
<span style="color:blue">stevec@renci.org</span></a></span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>