Hello ITK users. I write for one question.<div><br></div><div>I have : </div><div><br></div><div><font face="arial, helvetica, sans-serif">typedef itk::Point<ScalarType,3> Point3D</font></div><div><font face="arial, helvetica, sans-serif">Point3D Origin;</font></div>
<div><font face="arial, helvetica, sans-serif">vtkPolyData* Surface;</font></div><div><font face="arial, helvetica, sans-serif">std::vector< Point3D > obstaclePoints;</font></div><div><br></div><div>Imagine a camera looking for the <i>Origin</i> point to a cell in the <i>Surface</i>. I want to know If one point belonging to <i>obstaclePoints</i> is between this two things (the <i>Origin</i> and the cell).</div>
<div>My idea was to generate a pyramid between the <i>Origin </i>and the three points of the cell. And then look if any point of the vector is inside this pyramid.</div><div><br></div><div>Someone know anything to make this?</div>
<div>Or any ideas?</div><div><br></div><div>Thank you in advance!<br clear="all"><div><br></div>-- <br>--------<br>Gonzalo<br><br>
</div>