| 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 | #ifndef __glunurbstess_h_ |
| 38 | #define __glunurbstess_h_cxx . . $ `lib/database/src/so/nodes/nurbs/head/nurbstess.h:38:9`! |
| 39 | |
| 40 | #include "../SoAddPrefix.h"cxx . . $ `<file>/lib/database/src/so/nodes/nurbs/SoAddPrefix.h`/ |
| 41 | /* |
| 42 | * nurbstess.h - $Revision: 1.1.1.1 $ |
| 43 | */ |
| 44 | |
| 45 | #include "mysetjmp.h"cxx . . $ `<file>/lib/database/src/so/nodes/nurbs/head/mysetjmp.h`/ |
| 46 | #include "subdivider.h"cxx . . $ `<file>/lib/database/src/so/nodes/nurbs/head/subdivider.h`/ |
| 47 | #include "renderhints.h"cxx . . $ `<file>/lib/database/src/so/nodes/nurbs/head/renderhints.h`/ |
| 48 | #include "backend.h"cxx . . $ `<file>/lib/database/src/so/nodes/nurbs/head/backend.h`/ |
| 49 | #include "maplist.h"cxx . . $ `<file>/lib/database/src/so/nodes/nurbs/head/maplist.h`/ |
| 50 | #include "reader.h"cxx . . $ `<file>/lib/database/src/so/nodes/nurbs/head/reader.h`/ |
| 51 | #include "nurbsconsts.h"cxx . . $ `<file>/lib/database/src/so/nodes/nurbs/head/nurbsconsts.h`/ |
| 52 | |
| 53 | class Knotvectorcxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:67:9`!; |
| 54 | class Quiltcxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:88:9`!; |
| 55 | class DisplayListcxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:54:9`!; |
| 56 | class BasicCurveEvaluatorcxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:43:9`!; |
| 57 | class BasicSurfaceEvaluatorcxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:44:9`!; |
| 58 | |
| 59 | class NurbsTessellatorcxx . . $ _SoNurbsNurbsTessellator# { |
| 60 | public: |
| 61 | NurbsTessellatorcxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:72:9`!( BasicCurveEvaluatorcxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:43:9`! &c, |
| 62 | BasicSurfaceEvaluatorcxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:44:9`! &e ); |
| 63 | ~cxx . . $ _SoNurbsNurbsTessellator#`~_SoNurbsNurbsTessellator`(49f6e7a06ebc5aa8).NurbsTessellatorcxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:72:9`!( void ); |
| 64 | |
| 65 | void getnurbspropertycxx . . $ _SoNurbsNurbsTessellator#getnurbsproperty(a88997072fe067b9).( long, INREALcxx . . $ `lib/database/src/so/nodes/nurbs/head/types.h:46:9`! * ); |
| 66 | void getnurbspropertycxx . . $ _SoNurbsNurbsTessellator#getnurbsproperty(457b007d4a7aeffd).( long, long, INREALcxx . . $ `lib/database/src/so/nodes/nurbs/head/types.h:46:9`! * ); |
| 67 | void setnurbspropertycxx . . $ _SoNurbsNurbsTessellator#setnurbsproperty(8cdf330d7f01661).( long, INREALcxx . . $ `lib/database/src/so/nodes/nurbs/head/types.h:46:9`! ); |
| 68 | void setnurbspropertycxx . . $ _SoNurbsNurbsTessellator#setnurbsproperty(796cb56005eb5818).( long, long, INREALcxx . . $ `lib/database/src/so/nodes/nurbs/head/types.h:46:9`! ); |
| 69 | void setnurbspropertycxx . . $ _SoNurbsNurbsTessellator#setnurbsproperty(457b007d4a7aeffd).( long, long, INREALcxx . . $ `lib/database/src/so/nodes/nurbs/head/types.h:46:9`! * ); |
| 70 | void setnurbspropertycxx . . $ _SoNurbsNurbsTessellator#setnurbsproperty(2bfa3cd52de87ebe).( long, long, INREALcxx . . $ `lib/database/src/so/nodes/nurbs/head/types.h:46:9`! *, long, long ); |
| 71 | |
| 72 | // called before a tessellation begins/ends |
| 73 | virtual void bgnrendercxx . . $ _SoNurbsNurbsTessellator#bgnrender(49f6e7a06ebc5aa8).( void ); |
| 74 | virtual void endrendercxx . . $ _SoNurbsNurbsTessellator#endrender(49f6e7a06ebc5aa8).( void ); |
| 75 | |
| 76 | // called to make a display list of the output vertices |
| 77 | virtual void makeobjcxx . . $ _SoNurbsNurbsTessellator#makeobj(d4f767463ce0a6b3).( int n ); |
| 78 | virtual void closeobjcxx . . $ _SoNurbsNurbsTessellator#closeobj(49f6e7a06ebc5aa8).( void ); |
| 79 | |
| 80 | // called when a error occurs |
| 81 | virtual void errorHandlercxx . . $ _SoNurbsNurbsTessellator#errorHandler(d4f767463ce0a6b3).( int ); |
| 82 | |
| 83 | void bgnsurfacecxx . . $ _SoNurbsNurbsTessellator#bgnsurface(1624ee8275b10bda).( long ); |
| 84 | void endsurfacecxx . . $ _SoNurbsNurbsTessellator#endsurface(49f6e7a06ebc5aa8).( void ); |
| 85 | void bgntrimcxx . . $ _SoNurbsNurbsTessellator#bgntrim(49f6e7a06ebc5aa8).( void ); |
| 86 | void endtrimcxx . . $ _SoNurbsNurbsTessellator#endtrim(49f6e7a06ebc5aa8).( void ); |
| 87 | void bgncurvecxx . . $ _SoNurbsNurbsTessellator#bgncurve(1624ee8275b10bda).( long ); |
| 88 | void endcurvecxx . . $ _SoNurbsNurbsTessellator#endcurve(49f6e7a06ebc5aa8).( void ); |
| 89 | void pwlcurvecxx . . $ _SoNurbsNurbsTessellator#pwlcurve(688f409d9ffcbc2d).( long, INREALcxx . . $ `lib/database/src/so/nodes/nurbs/head/types.h:46:9`![], long, long ); |
| 90 | void nurbscurvecxx . . $ _SoNurbsNurbsTessellator#nurbscurve(68c443770fef4d8f).( long, INREALcxx . . $ `lib/database/src/so/nodes/nurbs/head/types.h:46:9`![], long, INREALcxx . . $ `lib/database/src/so/nodes/nurbs/head/types.h:46:9`![], long, long ); |
| 91 | void nurbssurfacecxx . . $ _SoNurbsNurbsTessellator#nurbssurface(52ba3722ef29deca).( long, INREALcxx . . $ `lib/database/src/so/nodes/nurbs/head/types.h:46:9`![], long, INREALcxx . . $ `lib/database/src/so/nodes/nurbs/head/types.h:46:9`![], long, long, |
| 92 | INREALcxx . . $ `lib/database/src/so/nodes/nurbs/head/types.h:46:9`![], long, long, long ); |
| 93 | |
| 94 | void defineMapcxx . . $ _SoNurbsNurbsTessellator#defineMap(1accef8d191cd3cf).( long, long, long ); |
| 95 | void redefineMapscxx . . $ _SoNurbsNurbsTessellator#redefineMaps(49f6e7a06ebc5aa8).( void ); |
| 96 | |
| 97 | // recording of input description |
| 98 | void discardRecordingcxx . . $ _SoNurbsNurbsTessellator#discardRecording(5d22bdacc48458e8).( void * ); |
| 99 | void * beginRecordingcxx . . $ _SoNurbsNurbsTessellator#beginRecording(50c7df7de5344ebb).( void ); |
| 100 | void endRecordingcxx . . $ _SoNurbsNurbsTessellator#endRecording(49f6e7a06ebc5aa8).( void ); |
| 101 | void playRecordingcxx . . $ _SoNurbsNurbsTessellator#playRecording(5d22bdacc48458e8).( void * ); |
| 102 | |
| 103 | protected: |
| 104 | Renderhintscxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:90:9`! renderhintscxx . . $ _SoNurbsNurbsTessellator#renderhints.; |
| 105 | Maplistcxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:69:9`! maplistcxx . . $ _SoNurbsNurbsTessellator#maplist.; |
| 106 | Backendcxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:42:9`! backendcxx . . $ _SoNurbsNurbsTessellator#backend.; |
| 107 | |
| 108 | private: |
| 109 | |
| 110 | void resetObjectscxx . . $ _SoNurbsNurbsTessellator#resetObjects(49f6e7a06ebc5aa8).( void ); |
| 111 | int do_check_knotscxx . . $ _SoNurbsNurbsTessellator#do_check_knots(7c7180e47b3c7481).( Knotvectorcxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:67:9`! *, char * ); |
| 112 | void do_nurbserrorcxx . . $ _SoNurbsNurbsTessellator#do_nurbserror(d4f767463ce0a6b3).( int ); |
| 113 | void do_bgncurvecxx . . $ _SoNurbsNurbsTessellator#do_bgncurve(6065c836d8bda6e4).( O_curvecxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:73:9`! * ); |
| 114 | void do_endcurvecxx . . $ _SoNurbsNurbsTessellator#do_endcurve(49f6e7a06ebc5aa8).( void ); |
| 115 | void do_freeallcxx . . $ _SoNurbsNurbsTessellator#do_freeall(49f6e7a06ebc5aa8).( void ); |
| 116 | void do_freecurveallcxx . . $ _SoNurbsNurbsTessellator#do_freecurveall(6065c836d8bda6e4).( O_curvecxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:73:9`! * ); |
| 117 | void do_freebgntrimcxx . . $ _SoNurbsNurbsTessellator#do_freebgntrim(88ee1801ce010c89).( O_trimcxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:78:9`! * ); |
| 118 | void do_freebgncurvecxx . . $ _SoNurbsNurbsTessellator#do_freebgncurve(6065c836d8bda6e4).( O_curvecxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:73:9`! * ); |
| 119 | void do_freepwlcurvecxx . . $ _SoNurbsNurbsTessellator#do_freepwlcurve(fc6a0dc275e9b231).( O_pwlcurvecxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:76:9`! * ); |
| 120 | void do_freenurbscurvecxx . . $ _SoNurbsNurbsTessellator#do_freenurbscurve(d68af50fc9715485).( O_nurbscurvecxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:74:9`! * ); |
| 121 | void do_freenurbssurfacecxx . . $ _SoNurbsNurbsTessellator#do_freenurbssurface(8c1a28bc09e2e03b).( O_nurbssurfacecxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:75:9`! * ); |
| 122 | void do_freebgnsurfacecxx . . $ _SoNurbsNurbsTessellator#do_freebgnsurface(16c875b5f0cf6619).( O_surfacecxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:77:9`! * ); |
| 123 | void do_bgnsurfacecxx . . $ _SoNurbsNurbsTessellator#do_bgnsurface(16c875b5f0cf6619).( O_surfacecxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:77:9`! * ); |
| 124 | void do_endsurfacecxx . . $ _SoNurbsNurbsTessellator#do_endsurface(49f6e7a06ebc5aa8).( void ); |
| 125 | void do_bgntrimcxx . . $ _SoNurbsNurbsTessellator#do_bgntrim(88ee1801ce010c89).( O_trimcxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:78:9`! * ); |
| 126 | void do_endtrimcxx . . $ _SoNurbsNurbsTessellator#do_endtrim(49f6e7a06ebc5aa8).( void ); |
| 127 | void do_pwlcurvecxx . . $ _SoNurbsNurbsTessellator#do_pwlcurve(fc6a0dc275e9b231).( O_pwlcurvecxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:76:9`! * ); |
| 128 | void do_nurbscurvecxx . . $ _SoNurbsNurbsTessellator#do_nurbscurve(d68af50fc9715485).( O_nurbscurvecxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:74:9`! * ); |
| 129 | void do_nurbssurfacecxx . . $ _SoNurbsNurbsTessellator#do_nurbssurface(8c1a28bc09e2e03b).( O_nurbssurfacecxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:75:9`! * ); |
| 130 | void do_freenurbspropertycxx . . $ _SoNurbsNurbsTessellator#do_freenurbsproperty(a76d4939f112756c).( Propertycxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:84:9`! * ); |
| 131 | void do_setnurbspropertycxx . . $ _SoNurbsNurbsTessellator#do_setnurbsproperty(a76d4939f112756c).( Propertycxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:84:9`! * ); |
| 132 | void do_setnurbsproperty2cxx . . $ _SoNurbsNurbsTessellator#do_setnurbsproperty2(a76d4939f112756c).( Propertycxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:84:9`! * ); |
| 133 | |
| 134 | Subdividercxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:94:9`! subdividercxx . . $ _SoNurbsNurbsTessellator#subdivider.; |
| 135 | JumpBuffercxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:65:9`!* jumpbuffercxx . . $ _SoNurbsNurbsTessellator#jumpbuffer.; |
| 136 | Poolcxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:82:9`! o_pwlcurvePoolcxx . . $ _SoNurbsNurbsTessellator#o_pwlcurvePool.; |
| 137 | Poolcxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:82:9`! o_nurbscurvePoolcxx . . $ _SoNurbsNurbsTessellator#o_nurbscurvePool.; |
| 138 | Poolcxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:82:9`! o_curvePoolcxx . . $ _SoNurbsNurbsTessellator#o_curvePool.; |
| 139 | Poolcxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:82:9`! o_trimPoolcxx . . $ _SoNurbsNurbsTessellator#o_trimPool.; |
| 140 | Poolcxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:82:9`! o_surfacePoolcxx . . $ _SoNurbsNurbsTessellator#o_surfacePool.; |
| 141 | Poolcxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:82:9`! o_nurbssurfacePoolcxx . . $ _SoNurbsNurbsTessellator#o_nurbssurfacePool.; |
| 142 | Poolcxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:82:9`! propertyPoolcxx . . $ _SoNurbsNurbsTessellator#propertyPool.; |
| 143 | Poolcxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:82:9`! quiltPoolcxx . . $ _SoNurbsNurbsTessellator#quiltPool.; |
| 144 | TrimVertexPoolcxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:97:9`! extTrimVertexPoolcxx . . $ _SoNurbsNurbsTessellator#extTrimVertexPool.; |
| 145 | |
| 146 | int inSurfacecxx . . $ _SoNurbsNurbsTessellator#inSurface.; /* bgnsurface seen */ |
| 147 | int inCurvecxx . . $ _SoNurbsNurbsTessellator#inCurve.; /* bgncurve seen */ |
| 148 | int inTrimcxx . . $ _SoNurbsNurbsTessellator#inTrim.; /* bgntrim seen */ |
| 149 | int isCurveModifiedcxx . . $ _SoNurbsNurbsTessellator#isCurveModified.; /* curve changed */ |
| 150 | int isTrimModifiedcxx . . $ _SoNurbsNurbsTessellator#isTrimModified.; /* trim curves changed */ |
| 151 | int isSurfaceModifiedcxx . . $ _SoNurbsNurbsTessellator#isSurfaceModified.; /* surface changed */ |
| 152 | int isDataValidcxx . . $ _SoNurbsNurbsTessellator#isDataValid.; /* all data is good */ |
| 153 | int numTrimscxx . . $ _SoNurbsNurbsTessellator#numTrims.; /* valid trim regions */ |
| 154 | int playBackcxx . . $ _SoNurbsNurbsTessellator#playBack.; |
| 155 | |
| 156 | O_trimcxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:78:9`!** nextTrimcxx . . $ _SoNurbsNurbsTessellator#nextTrim.; /* place to link o_trim */ |
| 157 | O_curvecxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:73:9`!** nextCurvecxx . . $ _SoNurbsNurbsTessellator#nextCurve.; /* place to link o_curve */ |
| 158 | O_nurbscurvecxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:74:9`!** nextNurbscurvecxx . . $ _SoNurbsNurbsTessellator#nextNurbscurve.; /* place to link o_nurbscurve */ |
| 159 | O_pwlcurvecxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:76:9`!** nextPwlcurvecxx . . $ _SoNurbsNurbsTessellator#nextPwlcurve.; /* place to link o_pwlcurve */ |
| 160 | O_nurbssurfacecxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:75:9`!** nextNurbssurfacecxx . . $ _SoNurbsNurbsTessellator#nextNurbssurface.; /* place to link o_nurbssurface */ |
| 161 | |
| 162 | O_surfacecxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:77:9`!* currentSurfacecxx . . $ _SoNurbsNurbsTessellator#currentSurface.; |
| 163 | O_trimcxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:78:9`!* currentTrimcxx . . $ _SoNurbsNurbsTessellator#currentTrim.; |
| 164 | O_curvecxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:73:9`!* currentCurvecxx . . $ _SoNurbsNurbsTessellator#currentCurve.; |
| 165 | |
| 166 | DisplayListcxx . . $ `lib/database/src/so/nodes/nurbs/_defines.h:54:9`! *dlcxx . . $ _SoNurbsNurbsTessellator#dl.; |
| 167 | |
| 168 | }; |
| 169 | |
| 170 | #endif /* __glunurbstess_h_ */ |