<div dir="ltr">Hi vtkusers,<div>Greetings!</div><div><br></div><div>I am trying to find 'normal' vector in polydata under cursor.</div><div>For this I plan to first find snap cursor point on given polydata and then try to figure out normal.</div><div><br></div><div>I am using picker to pick point on polydata but it gives me offsettted point from polydata surface. Point returned by picker is not exactly on surface. </div><div>// ----------------------------------------------<br></div><div><div> this->Interactor->GetPicker()->Pick(this->Interactor->GetEventPosition()[0],</div><div> this->Interactor->GetEventPosition()[1],</div><div> 0, // always zero.</div><div> this->Interactor->GetRenderWindow()->GetRenderers()->GetFirstRenderer());</div><div> double picked[3];</div><div> this->Interactor->GetPicker()->GetPickPosition(picked);</div></div><div><br></div><div><br></div><div><div>Basically I want to know how to get snap point on polydata and find normal at that position .</div><div><br>-- </div><div class="gmail_signature"><div dir="ltr">thanks & regards,<div>Girish</div><div><br></div></div></div>
</div></div>