1 /* NAME: 2 E3FFR_3DMF_Geometry.h 3 4 DESCRIPTION: 5 Header file for E3FFR_3DMF_Geometry.c. 6 7 COPYRIGHT: 8 Copyright (c) 1999-2004, Quesa Developers. All rights reserved. 9 10 For the current release of Quesa, please see: 11 12 <http://www.quesa.org/> 13 14 Redistribution and use in source and binary forms, with or without 15 modification, are permitted provided that the following conditions 16 are met: 17 18 o Redistributions of source code must retain the above copyright 19 notice, this list of conditions and the following disclaimer. 20 21 o Redistributions in binary form must reproduce the above 22 copyright notice, this list of conditions and the following 23 disclaimer in the documentation and/or other materials provided 24 with the distribution. 25 26 o Neither the name of Quesa nor the names of its contributors 27 may be used to endorse or promote products derived from this 28 software without specific prior written permission. 29 30 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 31 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 32 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 33 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 34 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 35 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 36 TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 37 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 38 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 39 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 40 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 41 ___________________________________________________________________________ 42 */ 43 #ifndef E3FFR_3DMF_GEOMETRY_HDR 44 #define E3FFR_3DMF_GEOMETRY_HDR 45 //============================================================================= 46 // Include files 47 //----------------------------------------------------------------------------- 48 // Include files go here 49 50 51 52 53 54 //============================================================================= 55 // C++ preamble 56 //----------------------------------------------------------------------------- 57 #ifdef __cplusplus 58 extern "C" { 59 #endif 60 61 62 63 64 65 //============================================================================= 66 // Function prototypes 67 //----------------------------------------------------------------------------- 68 TQ3Object E3Read_3DMF_String_C(TQ3FileObject theFile); 69 TQ3Object E3Read_3DMF_Unknown_Binary(TQ3FileObject theFile); 70 TQ3Object E3Read_3DMF_Unknown_Text(TQ3FileObject theFile); 71 72 TQ3Status E3Read_3DMF_Attribute_SurfaceUV(TQ3Object parentObject, TQ3FileObject theFile); 73 TQ3Status E3Read_3DMF_Attribute_ShadingUV(TQ3Object parentObject, TQ3FileObject theFile); 74 TQ3Status E3Read_3DMF_Attribute_Normal(TQ3Object parentObject, TQ3FileObject theFile); 75 TQ3Status E3Read_3DMF_Attribute_AmbientCoefficient(TQ3Object parentObject, TQ3FileObject theFile); 76 TQ3Status E3Read_3DMF_Attribute_DiffuseColor(TQ3Object parentObject, TQ3FileObject theFile); 77 TQ3Status E3Read_3DMF_Attribute_SpecularColor(TQ3Object parentObject, TQ3FileObject theFile); 78 TQ3Status E3Read_3DMF_Attribute_SpecularControl(TQ3Object parentObject, TQ3FileObject theFile); 79 TQ3Status E3Read_3DMF_Attribute_TransparencyColor(TQ3Object parentObject, TQ3FileObject theFile); 80 TQ3Status E3Read_3DMF_Attribute_SurfaceTangent(TQ3Object parentObject, TQ3FileObject theFile); 81 TQ3Status E3Read_3DMF_Attribute_HighlightState(TQ3Object parentObject, TQ3FileObject theFile); 82 TQ3Status E3Read_3DMF_Attribute_CSGID(TQ3Object parentObject, TQ3FileObject theFile); 83 84 TQ3Object E3Read_3DMF_Group_Display_IOProxy(TQ3FileObject theFile); 85 TQ3Object E3Read_3DMF_Group_Display(TQ3FileObject theFile); 86 TQ3Object E3Read_3DMF_Group_Display_Ordered(TQ3FileObject theFile); 87 TQ3Object E3Read_3DMF_Group_info(TQ3FileObject theFile); 88 TQ3Object E3Read_3DMF_Group_Light(TQ3FileObject theFile); 89 TQ3Object E3Read_3DMF_Group(TQ3FileObject theFile); 90 91 TQ3Object E3Read_3DMF_Shader_Texture(TQ3FileObject theFile); 92 TQ3Object E3Read_3DMF_Shader_Lambert(TQ3FileObject theFile); 93 TQ3Object E3Read_3DMF_Shader_Phong(TQ3FileObject theFile); 94 TQ3Object E3Read_3DMF_Shader_NULL(TQ3FileObject theFile); 95 96 TQ3Object E3Read_3DMF_Style_Subdivision(TQ3FileObject theFile); 97 TQ3Object E3Read_3DMF_Style_PickID(TQ3FileObject theFile); 98 TQ3Object E3Read_3DMF_Style_PickParts(TQ3FileObject theFile); 99 TQ3Object E3Read_3DMF_Style_CastShadows(TQ3FileObject theFile); 100 TQ3Object E3Read_3DMF_Style_ReceiveShadows(TQ3FileObject theFile); 101 TQ3Object E3Read_3DMF_Style_Fill(TQ3FileObject theFile); 102 TQ3Object E3Read_3DMF_Style_Backfacing(TQ3FileObject theFile); 103 TQ3Object E3Read_3DMF_Style_Interpolation(TQ3FileObject theFile); 104 TQ3Object E3Read_3DMF_Style_Hilight(TQ3FileObject theFile); 105 TQ3Object E3Read_3DMF_Style_Orientation(TQ3FileObject theFile); 106 TQ3Object E3Read_3DMF_Style_AntiAlias(TQ3FileObject theFile); 107 TQ3Object E3Read_3DMF_Style_Fog(TQ3FileObject theFile); 108 109 TQ3Object E3Read_3DMF_Texture_Pixmap(TQ3FileObject theFile); 110 TQ3Object E3Read_3DMF_Texture_Mipmap(TQ3FileObject theFile); 111 112 TQ3Object E3Read_3DMF_Transform_Matrix(TQ3FileObject theFile); 113 TQ3Object E3Read_3DMF_Transform_Rotate(TQ3FileObject theFile); 114 TQ3Object E3Read_3DMF_Transform_RotateAboutPoint(TQ3FileObject theFile); 115 TQ3Object E3Read_3DMF_Transform_RotateAboutAxis(TQ3FileObject theFile); 116 TQ3Object E3Read_3DMF_Transform_Scale(TQ3FileObject theFile); 117 TQ3Object E3Read_3DMF_Transform_Translate(TQ3FileObject theFile); 118 TQ3Object E3Read_3DMF_Transform_Quaternion(TQ3FileObject theFile); 119 TQ3Object E3Read_3DMF_Transform_Reset(TQ3FileObject theFile); 120 121 TQ3Object E3Read_3DMF_Geom_Box(TQ3FileObject theFile); 122 TQ3Object E3Read_3DMF_Geom_Cone(TQ3FileObject theFile); 123 TQ3Object E3Read_3DMF_Geom_Cylinder(TQ3FileObject theFile); 124 TQ3Object E3Read_3DMF_Geom_Disk(TQ3FileObject theFile); 125 TQ3Object E3Read_3DMF_Geom_Ellipse(TQ3FileObject theFile); 126 TQ3Object E3Read_3DMF_Geom_Ellipsoid(TQ3FileObject theFile); 127 TQ3Object E3Read_3DMF_Geom_GeneralPolygon(TQ3FileObject theFile); 128 TQ3Object E3Read_3DMF_Geom_Line(TQ3FileObject theFile); 129 TQ3Object E3Read_3DMF_Geom_Marker(TQ3FileObject theFile); 130 TQ3Object E3Read_3DMF_Geom_Mesh(TQ3FileObject theFile); 131 TQ3Object E3Read_3DMF_Geom_NURBCurve(TQ3FileObject theFile); 132 TQ3Object E3Read_3DMF_Geom_NURBPatch(TQ3FileObject theFile); 133 TQ3Object E3Read_3DMF_Geom_PixmapMarker(TQ3FileObject theFile); 134 TQ3Object E3Read_3DMF_Geom_Point(TQ3FileObject theFile); 135 TQ3Object E3Read_3DMF_Geom_PolyLine(TQ3FileObject theFile); 136 TQ3Object E3Read_3DMF_Geom_Polygon(TQ3FileObject theFile); 137 TQ3Object E3Read_3DMF_Geom_Polyhedron(TQ3FileObject theFile); 138 TQ3Object E3Read_3DMF_Geom_Torus(TQ3FileObject theFile); 139 TQ3Object E3Read_3DMF_Geom_TriGrid(TQ3FileObject theFile); 140 TQ3Object E3Read_3DMF_Geom_TriMesh(TQ3FileObject theFile); 141 TQ3Object E3Read_3DMF_Geom_Triangle(TQ3FileObject theFile); 142 143 TQ3Object E3Read_3DMF_Geom_Box_Default(TQ3FileObject theFile); 144 TQ3Object E3Read_3DMF_Geom_Cone_Default(TQ3FileObject theFile); 145 TQ3Object E3Read_3DMF_Geom_Cylinder_Default(TQ3FileObject theFile); 146 TQ3Object E3Read_3DMF_Geom_Disk_Default(TQ3FileObject theFile); 147 TQ3Object E3Read_3DMF_Geom_Ellipse_Default(TQ3FileObject theFile); 148 TQ3Object E3Read_3DMF_Geom_Ellipsoid_Default(TQ3FileObject theFile); 149 TQ3Object E3Read_3DMF_Geom_Point_Default(TQ3FileObject theFile); 150 TQ3Object E3Read_3DMF_Geom_Torus_Default(TQ3FileObject theFile); 151 152 153 154 155 156 //============================================================================= 157 // C++ postamble 158 //----------------------------------------------------------------------------- 159 #ifdef __cplusplus 160 } 161 #endif 162 163 #endif 164 165