<<<<<<<<<<<<<<<<<

curvature(display) Filter curvature(display)

NAME

Curvature - compute accumulated dihedral angles about each point

DESCRIPTION

Curvature takes as input a display_data object (or filter) and on output passes through input data along with a scalar curvature measure. The curvature around a point is defined as the sum of the absolute value (in degrees) of the dihedral angles of the polygons and/or triangle strips using the point.

SUPERCLASS

adjacency_filter

INSTANCE VARIABLES

(all inherited)

MESSAGES

generate_data! method to compute curvature.

EXAMPLE

display_data new: dd points=( 0,0,0, 1,0,1, 2,0,1, 3,0,0, 3,1,0, 2,1,1, 1,1,1, 0,1,0, ) polygons=( 4, 1,2,7,8, 4, 2,3,6,7, 4, 3,4,5,6, ) ; curvature new: curva data_in= dd ; display_all new: draw_curva data_in= curva ; actor new: a modeller= draw_curva ;

renderer new: aren actors=[actor instances?] render! ;

SEE ALSO

adjacency_filter, triangle_strip_filter, decimate, feature_edges, feature_normals, display_filter, display_data


Please send comments and suggestions to
consult@rpi.edu