<div dir="ltr">I have not had the representations changed for my application. But this may be achieved by using the vtkHandleRepresentation with your vtkContourRepresentation. <br><br>To handle the intermediate nodes, you can initialize a contour with two nodes (with some representation) and allow the user to add more nodes (with some other representation).<br>
<br>Prathamesh<br><br><div class="gmail_quote">On Wed, Jul 21, 2010 at 11:42 PM, Rakesh Patil <span dir="ltr"><<a href="mailto:rakeshthp@in.com">rakeshthp@in.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br><blockquote>Hi Prathamesh,<br><br>What i want is a contour having two end nodes displayed as a big circles or any other shape<br>and all the other points in the contour wherever i have clicked must be displayed in a small size<br>
<br>Is it possible to do that..?? I mean except for the first and the last click all other nodes must be intermediate nodes.<br><br>Any idea, how to do this??<br><br>Thanks<div><div></div><div class="h5"><br><br><br>---------- Original message ----------<br>
From:"Prathamesh Kulkarni"< <a href="mailto:prathameshmkulkarni@gmail.com" target="_blank">prathameshmkulkarni@gmail.com</a> ><br>Date: 21 Jul 10 21:45:46<br>Subject: Re: What is intermediate nodes in vtkContourWidgets?<br>
To: <a href="mailto:rakeshthp@in.com" target="_blank">rakeshthp@in.com</a><br><br><div dir="ltr">Hello Rakesh, <br><br>Going by the default behavior of vtkContourWidget, the representation should not have any nodes (intermediate or not) until you right click (or close the contour). You can verify this by contour_representation->GetNumberOfNodes();<br>
<br>The intermediate nodes should be (though I have not) used to get the nodes within a certain range. <br><br>There are many ways to adding a node to a contour, for example: contour_representation->AddNodeOnContour(x, y);<br>
<br><br>Prathamesh<br><br>Message: 30<br>
Date: Wed, 21 Jul 2010 20:18:51 +0530<br>
From: "Rakesh Patil" <<a href="mailto:rakeshthp@in.com" target="_blank">rakeshthp@in.com</a>><br>
Subject: [vtkusers] What is intermediate nodes in vtkContourWidgets?<br>
To: "vtkusers" <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>><br>
Message-ID: <<a href="mailto:1279723731.8133415ea4647b6345849fb38311cf32@mail.in.com" target="_blank">1279723731.8133415ea4647b6345849fb38311cf32@mail.in.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello,From the documentation of vtkOrientedGlyphContourReprese<div>ntation,
i came across intermediate nodes..?? What are these and how to add
them?? When i get the total number of intermediate nodes, i get the
output as zero..what is this intermediate nodes and how to add them and
display?thanks.Dear vtkusers ! Get Yourself a cool, short @<a href="http://in.com/" target="_blank">in.com</a> Email ID now!</div></div>
</div></div></blockquote><div><div></div><div class="h5"><br><br><div style="border-top: 1px dashed rgb(204, 204, 204); border-bottom: 1px dashed rgb(204, 204, 204); padding: 5px;"><a href="http://mail.in.com/mails/new_reg.php?utm_source=invite&utm_medium=outgoing" style="font: 13px arial; color: rgb(30, 86, 161); text-decoration: none;" target="_blank">Get Yourself a cool, short <b>@in.com</b> Email ID now!</a></div>
</div></div></blockquote></div><br></div>