1 /***********************************************************************/ 2 /* Open Visualization Data Explorer */ 3 /* (C) Copyright IBM Corp. 1989,1999 */ 4 /* ALL RIGHTS RESERVED */ 5 /* This code licensed under the */ 6 /* "IBM PUBLIC LICENSE - Open Visualization Data Explorer" */ 7 /***********************************************************************/ 8 9 10 /* 11 \section{Xform class} 12 An xform object specifies a transformation matrix to be applied to 13 a renderable object. 14 */ 15 16 INCLUDE objectClass.X 17 18 SUBCLASS Xform OF Object 19 IMPLEMENTS Copy BoundingBox Delete GetType 20 IMPLEMENTS Shade Paint Gather 21 22 struct xform { /* xform object */ 23 struct object object; /* object preamble */ 24 Matrix m; /* xform to apply */ 25 Object o; /* transformed object */ 26 }; 27 28