On Apr 29, 2013, at 9:24 AM, Harmanpreet Singh wrote: > Suppose we make an rcc and cut it with plane parallel to horizontal > axis. On seeing from top, we see a circle. Data like radius of rcc > (and so of circle) etc., is already stored in database file during > object creation. What we need to do is just retrieve such information > from database file and write there.
True, but no real models are constructed of only one primitive, or even just a few. They tend to be highly complex and rather arbitrary. The simple values at the primitive level may help in giving the user anchor points to explicitly create annotation objects. > The question is how we can recognize such patterns (like circle or > ellipse in above example) obtained after cutting with plane and seeing > from top? Given the rather arbitrary nature of geometry, I think the best you could do is calculate a bounding sphere and/or a view-aligned bounding box (as opposed to an axis-aligned one). With the dimensions of the box, you could automatically annotate length/width values in a projection. I see this problem as two-fold. You need to be able to visualize the 2D projection. You need to be able to show annotations. They are not the same problem, though, so it may be best to address those two requirements independently (and pick one for GSoC, not both). Cheers! Sean ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr _______________________________________________ BRL-CAD Developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/brlcad-devel
