ENDS 375 Foundations of Visualization Geometric Representation 9/30/04.
Published byModified over 6 years ago
Presentation on theme: "ENDS 375 Foundations of Visualization Geometric Representation 9/30/04."— Presentation transcript:
ENDS 375 Foundations of Visualization Geometric Representation 9/30/04
Geometric representation is the fundamental basis for describing or modeling the data, objects and scenes to be visualized.
2D Representation Points the most basic geometric primitive (x,y) coordinate pairs point "clouds", scatter plots,...
Lines - line equations slope/intercept form y = ax + b parametric form x = at + b and y = ct + d where t is the parameter (t is usually in the range 0.0 to 1.0)
Lines between endpoints P a and P b P = P a (1-t) + P b t where 1.0 t 0.0
Vectors Directed line segments x and y components - (x,y)
Polylines connected line segments connect points or vertices can approximate curves
Analytic shapes Circles - center point and radius Rectangles – corner points, or height and width others,...
Splines parametric forms for x and y single parameter t x = f(t) and y = g(t) order of equations - quadratic, cubic,... f(t) = at 2 + bt + c or f(t) = at 3 + bt 2 + ct + d or f(t) = at 4 + bt 3 + ct 2 + dt +e
Splines number of control points (per span) 2 for linear, 3 for quadric, 4 for cubic,... locality of control Local vs infinite depends on basis function – bezier, b-splines,… Extent of basis functions Useful splines are usually local
Splines number of control points - 2 for linear, 3 for quadric, 4 for cubic,...