| 1 |
/* |
| 2 |
* |
| 3 |
* Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved. |
| 4 |
* |
| 5 |
* This library is free software; you can redistribute it and/or |
| 6 |
* modify it under the terms of the GNU Lesser General Public |
| 7 |
* License as published by the Free Software Foundation; either |
| 8 |
* version 2.1 of the License, or (at your option) any later version. |
| 9 |
* |
| 10 |
* This library is distributed in the hope that it will be useful, |
| 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 |
* Lesser General Public License for more details. |
| 14 |
* |
| 15 |
* Further, this software is distributed without any warranty that it is |
| 16 |
* free of the rightful claim of any third person regarding infringement |
| 17 |
* or the like. Any license provided herein, whether implied or |
| 18 |
* otherwise, applies only to this software file. Patent licenses, if |
| 19 |
* any, provided herein do not apply to combinations of this program with |
| 20 |
* other software, or any other product whatsoever. |
| 21 |
* |
| 22 |
* You should have received a copy of the GNU Lesser General Public |
| 23 |
* License along with this library; if not, write to the Free Software |
| 24 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 25 |
* |
| 26 |
* Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy, |
| 27 |
* Mountain View, CA 94043, or: |
| 28 |
* |
| 29 |
* http://www.sgi.com |
| 30 |
* |
| 31 |
* For further information regarding this notice, see: |
| 32 |
* |
| 33 |
* http://oss.sgi.com/projects/GenInfo/NoticeExplan/ |
| 34 |
* |
| 35 |
*/ |
| 36 |
|
| 37 |
/* |
| 38 |
* basicsurfaceevaluator.c++ - $Revision: 1.1.1.1 $ |
| 39 |
* Derrick Burns - 1992 |
| 40 |
*/ |
| 41 |
|
| 42 |
#include "mystdio.h" |
| 43 |
#include "types.h" |
| 44 |
#include "basicsurfeval.h" |
| 45 |
#include <cstdio> |
| 46 |
|
| 47 |
void |
| 48 |
BasicSurfaceEvaluator::domain2f( REAL, REAL, REAL, REAL ) |
| 49 |
{ |
| 50 |
#ifndef NDEBUG |
| 51 |
dprintf( "domain2f\n" ); |
| 52 |
#endif |
| 53 |
} |
| 54 |
|
| 55 |
void |
| 56 |
BasicSurfaceEvaluator::polymode( long ) |
| 57 |
{ |
| 58 |
#ifndef NDEBUG |
| 59 |
dprintf( "polymode\n" ); |
| 60 |
#endif |
| 61 |
} |
| 62 |
|
| 63 |
void |
| 64 |
BasicSurfaceEvaluator::range2f( long type, REAL *from, REAL *to ) |
| 65 |
{ |
| 66 |
#ifndef NDEBUG |
| 67 |
dprintf( "range2f type %ld, from (%g,%g), to (%g,%g)\n", |
| 68 |
type, from[0], from[1], to[0], to[1] ); |
| 69 |
#endif |
| 70 |
} |
| 71 |
|
| 72 |
void |
| 73 |
BasicSurfaceEvaluator::enable( long ) |
| 74 |
{ |
| 75 |
#ifndef NDEBUG |
| 76 |
dprintf( "enable\n" ); |
| 77 |
#endif |
| 78 |
} |
| 79 |
|
| 80 |
void |
| 81 |
BasicSurfaceEvaluator::disable( long ) |
| 82 |
{ |
| 83 |
#ifndef NDEBUG |
| 84 |
dprintf( "disable\n" ); |
| 85 |
#endif |
| 86 |
} |
| 87 |
|
| 88 |
void |
| 89 |
BasicSurfaceEvaluator::bgnmap2f( long ) |
| 90 |
{ |
| 91 |
#ifndef NDEBUG |
| 92 |
dprintf( "bgnmap2f\n" ); |
| 93 |
#endif |
| 94 |
} |
| 95 |
|
| 96 |
void |
| 97 |
BasicSurfaceEvaluator::endmap2f( void ) |
| 98 |
{ |
| 99 |
#ifndef NDEBUG |
| 100 |
dprintf( "endmap2f\n" ); |
| 101 |
#endif |
| 102 |
} |
| 103 |
|
| 104 |
void |
| 105 |
BasicSurfaceEvaluator::map2f( long, REAL, REAL, long, long, |
| 106 |
REAL, REAL, long, long, |
| 107 |
REAL * ) |
| 108 |
{ |
| 109 |
#ifndef NDEBUG |
| 110 |
dprintf( "map2f\n" ); |
| 111 |
#endif |
| 112 |
} |
| 113 |
|
| 114 |
void |
| 115 |
BasicSurfaceEvaluator::mapgrid2f( long, REAL, REAL, long, REAL, REAL ) |
| 116 |
{ |
| 117 |
#ifndef NDEBUG |
| 118 |
dprintf( "mapgrid2f\n" ); |
| 119 |
#endif |
| 120 |
} |
| 121 |
|
| 122 |
void |
| 123 |
BasicSurfaceEvaluator::mapmesh2f( long, long, long, long, long ) |
| 124 |
{ |
| 125 |
#ifndef NDEBUG |
| 126 |
dprintf( "mapmesh2f\n" ); |
| 127 |
#endif |
| 128 |
} |
| 129 |
|
| 130 |
void |
| 131 |
BasicSurfaceEvaluator::evalcoord2f( long, REAL, REAL ) |
| 132 |
{ |
| 133 |
#ifndef NDEBUG |
| 134 |
dprintf( "evalcoord2f\n" ); |
| 135 |
#endif |
| 136 |
} |
| 137 |
|
| 138 |
void |
| 139 |
BasicSurfaceEvaluator::evalpoint2i( long, long ) |
| 140 |
{ |
| 141 |
#ifndef NDEBUG |
| 142 |
dprintf( "evalpoint2i\n" ); |
| 143 |
#endif |
| 144 |
} |
| 145 |
|
| 146 |
void |
| 147 |
BasicSurfaceEvaluator::bgnline( void ) |
| 148 |
{ |
| 149 |
#ifndef NDEBUG |
| 150 |
dprintf( "bgnline\n" ); |
| 151 |
#endif |
| 152 |
} |
| 153 |
|
| 154 |
void |
| 155 |
BasicSurfaceEvaluator::endline( void ) |
| 156 |
{ |
| 157 |
#ifndef NDEBUG |
| 158 |
dprintf( "endline\n" ); |
| 159 |
#endif |
| 160 |
} |
| 161 |
|
| 162 |
void |
| 163 |
BasicSurfaceEvaluator::bgnclosedline( void ) |
| 164 |
{ |
| 165 |
#ifndef NDEBUG |
| 166 |
dprintf( "bgnclosedline\n" ); |
| 167 |
#endif |
| 168 |
} |
| 169 |
|
| 170 |
void |
| 171 |
BasicSurfaceEvaluator::endclosedline( void ) |
| 172 |
{ |
| 173 |
#ifndef NDEBUG |
| 174 |
dprintf( "endclosedline\n" ); |
| 175 |
#endif |
| 176 |
} |
| 177 |
|
| 178 |
void |
| 179 |
BasicSurfaceEvaluator::bgntmesh( void ) |
| 180 |
{ |
| 181 |
#ifndef NDEBUG |
| 182 |
dprintf( "bgntmesh\n" ); |
| 183 |
#endif |
| 184 |
} |
| 185 |
|
| 186 |
void |
| 187 |
BasicSurfaceEvaluator::swaptmesh( void ) |
| 188 |
{ |
| 189 |
#ifndef NDEBUG |
| 190 |
dprintf( "swaptmesh\n" ); |
| 191 |
#endif |
| 192 |
} |
| 193 |
|
| 194 |
void |
| 195 |
BasicSurfaceEvaluator::endtmesh( void ) |
| 196 |
{ |
| 197 |
#ifndef NDEBUG |
| 198 |
dprintf( "endtmesh\n" ); |
| 199 |
#endif |
| 200 |
} |
| 201 |
|
| 202 |
void |
| 203 |
BasicSurfaceEvaluator::bgnqstrip( void ) |
| 204 |
{ |
| 205 |
#ifndef NDEBUG |
| 206 |
dprintf( "bgnqstrip\n" ); |
| 207 |
#endif |
| 208 |
} |
| 209 |
|
| 210 |
void |
| 211 |
BasicSurfaceEvaluator::endqstrip( void ) |
| 212 |
{ |
| 213 |
#ifndef NDEBUG |
| 214 |
dprintf( "endqstrip\n" ); |
| 215 |
#endif |
| 216 |
} |
| 217 |
|