Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

vpcurve.cpp

Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 // ChangeLog
00006 // Oct 08, 2004 - Bruno de Oliveira Schneider
00007 // - Code typing has been cleaned. DoxyGen documentation started.
00008 // - Changed the type of control points from "VPVertex3D" to "VPPoint4D" in order
00009 //   to compute geometrical transformations easier.
00010 // - Changed the type of "controlPoints" from pointer (C vector) to STL vector in
00011 //   order to enclose memory management control.
00012 // - Changed "controlPoints" visibility from "private" to "protected", so that
00013 //   derived classes may allocate space freely.
00014 // - Removed constructors and the destructor (this is an abstract class).
00015 // - Removed "Render" method which was not implemented.
00016 // - Removed "vp" prefix from every method name.
00017 // - Removed "#include <stdio.h>" from implementation file.
00018 // Aug 10, 2000 - Anderson Maciel
00019 // - Classes declaration.
00020 
00021 #include <vpcurve.h>
00022 
00023 void VPCurve::Transform(const VPTransform& t)
00024 {
00025     unsigned int numCtrlPoints = controlPoints.size();
00026     for (unsigned int i=0; i < numCtrlPoints; ++i)
00027         t.ApplyTo(&controlPoints[i]);
00028 }

Generated on Tue Sep 6 10:00:03 2005 for VPAT by  doxygen 1.4.4