Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | Related Pages | Examples

polytri.h

00001 //  Copyright (c) 1996-2001 by Autodesk, Inc.
00002 //
00003 //  By using this code, you are agreeing to the terms and conditions of
00004 //  the License Agreement included in the documentation for this code.
00005 //
00006 //  AUTODESK MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AS TO THE CORRECTNESS
00007 //  OF THIS CODE OR ANY DERIVATIVE WORKS WHICH INCORPORATE IT. AUTODESK
00008 //  PROVIDES THE CODE ON AN "AS-IS" BASIS AND EXPLICITLY DISCLAIMS ANY
00009 //  LIABILITY, INCLUDING CONSEQUENTIAL AND INCIDENTAL DAMAGES FOR ERRORS,
00010 //  OMISSIONS, AND OTHER PROBLEMS IN THE CODE.
00011 //
00012 //  Use, duplication, or disclosure by the U.S. Government is subject to
00013 //  restrictions set forth in FAR 52.227-19 (Commercial Computer Software
00014 //  Restricted Rights) and DFAR 252.227-7013(c)(1)(ii) (Rights in Technical
00015 //  Data and Computer Software), as applicable.
00016 //
00017 
00018 #if !defined POLYTRI_HEADER
00019 #define POLYTRI_HEADER
00020 
00021 #include "whiptk/whipcore.h"
00022 #include "whiptk/file.h"
00023 #include "whiptk/drawable.h"
00024 #include "whiptk/pointset.h"
00025 
00030 
00031 
00035 class WHIPTK_API WT_Polytriangle : public WT_Drawable, public WT_Point_Set
00036 {
00037 public:
00038 
00040     WT_Polytriangle ()
00041     { }
00042 
00044     WT_Polytriangle(
00045         int                         count, 
00046         WT_Logical_Point const *    points, 
00047         WT_Boolean                  copy 
00048         )
00049         : WT_Point_Set(count, points, copy)
00050     { }
00051 
00053     ~WT_Polytriangle()
00054     { }
00055 
00057     virtual WT_Result   delay(WT_File & file) const;
00058     virtual WT_Result   dump(WT_File & file) const;
00059     WT_Result        materialize(WT_Opcode const & opcode, WT_File & file);
00060     virtual WT_Boolean  merge(WT_Drawable const & current);
00061     WT_ID            object_id() const;
00062     WT_Result        process(WT_File & file);
00063     WT_Result        serialize(WT_File & file) const;
00064     WT_Result        skip_operand(WT_Opcode const & opcode, WT_File & file);
00065     virtual void     update_bounds(WT_File * file);
00067 
00069 
00071     static WT_Result default_process(
00072         WT_Polytriangle & item, 
00073         WT_File & file 
00074         );
00075 };
00076 
00078 
00079 #endif // POLYTRI_HEADER

Generated on Tue May 17 12:07:44 2005 for Autodesk DWF Whip 2D Toolkit by  doxygen 1.4.1