root/cgm/cgm_apps/TSTT/server/TSTTG_CGM_CgmGeom_Impl.hh

Revision 1040, 37.2 kB (checked in by tautges, 2 years ago)

Version 10.2 of cgm.

Line 
1 //
2 // File:          TSTTG_CGM_CgmGeom_Impl.hh
3 // Symbol:        TSTTG_CGM.CgmGeom-v0.1
4 // Symbol Type:   class
5 // Babel Version: 0.9.8
6 // sidl Created:  20051011 16:26:00 GMT-06:00
7 // Generated:     20051011 16:26:03 GMT-06:00
8 // Description:   Server-side implementation for TSTTG_CGM.CgmGeom
9 //
10 // WARNING: Automatically generated; only changes within splicers preserved
11 //
12 // babel-version = 0.9.8
13 // source-line   = 5
14 // source-url    = file:/home/tjtautg/tstt/cvs/TSTTG/TSTTG_CGM.sidl
15 //
16
17 #ifndef included_TSTTG_CGM_CgmGeom_Impl_hh
18 #define included_TSTTG_CGM_CgmGeom_Impl_hh
19
20 #ifndef included_sidl_cxx_hh
21 #include "sidl_cxx.hh"
22 #endif
23 #ifndef included_TSTTG_CGM_CgmGeom_IOR_h
24 #include "TSTTG_CGM_CgmGeom_IOR.h"
25 #endif
26 //
27 // Includes for all method dependencies.
28 //
29 #ifndef included_TSTTB_Error_hh
30 #include "TSTTB_Error.hh"
31 #endif
32 #ifndef included_TSTTB_TagValueType_hh
33 #include "TSTTB_TagValueType.hh"
34 #endif
35 #ifndef included_TSTTG_GentityType_hh
36 #include "TSTTG_GentityType.hh"
37 #endif
38 #ifndef included_TSTTG_CGM_CgmGeom_hh
39 #include "TSTTG_CGM_CgmGeom.hh"
40 #endif
41 #ifndef included_sidl_BaseInterface_hh
42 #include "sidl_BaseInterface.hh"
43 #endif
44 #ifndef included_sidl_ClassInfo_hh
45 #include "sidl_ClassInfo.hh"
46 #endif
47
48
49 // DO-NOT-DELETE splicer.begin(TSTTG_CGM.CgmGeom._includes)
50 // Put additional includes or other arbitrary code here...
51 // DO-NOT-DELETE splicer.end(TSTTG_CGM.CgmGeom._includes)
52
53 namespace TSTTG_CGM {
54
55   /**
56    * Symbol "TSTTG_CGM.CgmGeom" (version 0.1)
57    */
58   class CgmGeom_impl
59   // DO-NOT-DELETE splicer.begin(TSTTG_CGM.CgmGeom._inherits)
60   // Put additional inheritance here...
61   // DO-NOT-DELETE splicer.end(TSTTG_CGM.CgmGeom._inherits)
62   {
63
64   private:
65     // Pointer back to IOR.
66     // Use this to dispatch back through IOR vtable.
67     CgmGeom self;
68
69     // DO-NOT-DELETE splicer.begin(TSTTG_CGM.CgmGeom._implementation)
70     // Put additional implementation details here...
71     void processError() throw(::TSTTB::Error);
72     // DO-NOT-DELETE splicer.end(TSTTG_CGM.CgmGeom._implementation)
73
74   private:
75     // private default constructor (required)
76     CgmGeom_impl() {}
77
78   public:
79     // sidl constructor (required)
80     // Note: alternate Skel constructor doesn't call addref()
81     // (fixes bug #275)
82     CgmGeom_impl( struct TSTTG_CGM_CgmGeom__object * s ) : self(s,
83       true) { _ctor(); }
84
85     // user defined construction
86     void _ctor();
87
88     // virtual destructor (required)
89     virtual ~CgmGeom_impl() { _dtor(); }
90
91     // user defined destruction
92     void _dtor();
93
94   public:
95
96
97     /**
98      * Return gentities of specified dimension in this set, or in whole model.
99      * @param set_handle Entity set being queried (if 0, whole model)
100      * @param gentity_dimension Dimension of entities being queried
101      * @param gentity_handles Gentity handles
102      */
103     void
104     gentitysetGetGentitiesOfType (
105       /*in*/ void* set_handle,
106       /*in*/ ::TSTTG::GentityType gentity_type,
107       /*inout*/ ::sidl::array<void*>& gentity_handles,
108       /*out*/ int32_t& gentity_handles_size
109     )
110     throw (
111       ::TSTTB::Error
112     );
113
114
115     /**
116      * Return number of gentities of specified dimension in this set, or in
117      * whole model.
118      * @param set_handle Entity set being queried (if 0, whole model)
119      * @param gentity_dimension Dimension of entities being queried
120      * @return Number of entities
121      */
122     int32_t
123     gentitysetGetNumberGentitiesOfType (
124       /*in*/ void* set_handle,
125       /*in*/ ::TSTTG::GentityType gentity_type
126     )
127     throw (
128       ::TSTTB::Error
129     );
130
131
132     /**
133      *    Returns an integer array of topological dimensions for an input
134      *    array of entity handles.
135      */
136     void
137     gentityGetType (
138       /*in*/ ::sidl::array<void*> gentity_handles,
139       /*in*/ int32_t gentity_handles_size,
140       /*inout*/ ::sidl::array< ::TSTTG::GentityType>& gtype,
141       /*inout*/ int32_t& gtype_size
142     )
143     throw (
144       ::TSTTB::Error
145     );
146
147
148     /**
149      * Get the adjacent entities of a given dimension.
150      * @param gentity_handle Entity for which adjacencies are requested
151      * @param to_dimension Target dimension of adjacent entities
152      * @param adj_gentities List returned with adjacent entities
153      */
154     void
155     gentityGetAdjacencies (
156       /*in*/ void* gentity_handle,
157       /*in*/ int32_t to_dimension,
158       /*inout*/ ::sidl::array<void*>& adj_gentities,
159       /*inout*/ int32_t& adj_gentities_size
160     )
161     throw (
162       ::TSTTB::Error
163     );
164
165
166     /**
167      * Get the "2nd order" adjacent entities, through a specified "bridge"
168      * dimension, of a target dimension.  For example, given a region, return
169      * the regions (to_dimension=3) sharing an edge (bridge_dimension=1)
170      * with that region.  bridge_dimension must be less than dimension of
171      * gentity_handle, and to_dimension must be greater than bridge dimension.
172      *
173      * @param gentity_handle Entity for which 2nd order adjacencies are requested
174      * @param to_dimension Target dimension of 2nd order adjacent entities
175      * @param bridge_dimension Dimension of "bridge" entities
176      * @param adj_gentities List returned with 2nd order adjacent entities
177      */
178     void
179     gentityGet2OAdjacencies (
180       /*in*/ void* gentity_handle,
181       /*in*/ int32_t bridge_dimension,
182       /*in*/ int32_t to_dimension,
183       /*inout*/ ::sidl::array<void*>& adjacent_gentities,
184       /*out*/ int32_t& adjacent_gentities_size
185     )
186     throw (
187       ::TSTTB::Error
188     );
189
190
191     /**
192      * Return whether or not entities are adjacent.
193      * @param gentity_handle1 1st entity
194      * @param gentity_handle2 2nd entity
195      * @param are_adjacent If true, entities are adjacent
196      */
197     void
198     gentityIsAdjacent (
199       /*in*/ void* gentity_handle1,
200       /*in*/ void* gentity_handle2,
201       /*out*/ bool& are_adjacent
202     )
203     throw (
204       ::TSTTB::Error
205     );
206
207
208     /**
209      * Load a model specified by name. Which formats are supported and the
210      * specific meaning of this name string (e.g. file name, model name,
211      * etc.) are implementation-dependent.  Options are also implementation-
212      * dependent.
213      * @param name Name of the model
214      * @param options String options
215      */
216     void
217     gLoad (
218       /*in*/ const ::std::string& name,
219       /*in*/ ::sidl::array< ::std::string> options,
220       /*in*/ int32_t options_size
221     )
222     throw (
223       ::TSTTB::Error
224     );
225
226
227     /**
228      * Save a model to a file specified by name. Which formats are supported and the
229      * specific meaning of this name string (e.g. file name, model name,
230      * etc.) are implementation-dependent.  Options are also implementation-
231      * dependent.
232      * @param name Name of the file to save to
233      * @param options String options
234      */
235     void
236     gSave (
237       /*in*/ const ::std::string& name,
238       /*in*/ ::sidl::array< ::std::string> options,
239       /*in*/ int32_t options_size
240     )
241     throw (
242       ::TSTTB::Error
243     );
244
245     /**
246      * user defined non-static method.
247      */
248     void
249     createTag (
250       /*in*/ const ::std::string& tag_name,
251       /*in*/ int32_t number_of_values,
252       /*in*/ ::TSTTB::TagValueType tag_type,
253       /*out*/ void*& tag_handle
254     )
255     throw (
256       ::TSTTB::Error
257     );
258
259     /**
260      * user defined non-static method.
261      */
262     void
263     destroyTag (
264       /*in*/ void* tag_handle,
265       /*in*/ bool forced
266     )
267     throw (
268       ::TSTTB::Error
269     );
270
271     /**
272      * user defined non-static method.
273      */
274     ::std::string
275     getTagName (
276       /*in*/ void* tag_handle
277     )
278     throw (
279       ::TSTTB::Error
280     );
281
282     /**
283      * user defined non-static method.
284      */
285     int32_t
286     getTagSizeValues (
287       /*in*/ void* tag_handle
288     )
289     throw (
290       ::TSTTB::Error
291     );
292
293     /**
294      * user defined non-static method.
295      */
296     int32_t
297     getTagSizeBytes (
298       /*in*/ void* tag_handle
299     )
300     throw (
301       ::TSTTB::Error
302     );
303
304     /**
305      * user defined non-static method.
306      */
307     void*
308     getTagHandle (
309       /*in*/ const ::std::string& tag_name
310     )
311     throw (
312       ::TSTTB::Error
313     );
314
315     /**
316      * user defined non-static method.
317      */
318     ::TSTTB::TagValueType
319     getTagType (
320       /*in*/ void* tag_handle
321     )
322     throw (
323       ::TSTTB::Error
324     );
325
326     /**
327      * user defined non-static method.
328      */
329     void
330     getArrData (
331       /*in*/ ::sidl::array<void*> entity_handles,
332       /*in*/ int32_t entity_handles_size,
333       /*in*/ void* tag_handle,
334       /*inout*/ ::sidl::array<char>& value_array,
335       /*out*/ int32_t& value_array_size
336     )
337     throw (
338       ::TSTTB::Error
339     );
340
341     /**
342      * user defined non-static method.
343      */
344     void
345     getIntArrData (
346       /*in*/ ::sidl::array<void*> entity_handles,
347       /*in*/ int32_t entity_handles_size,
348       /*in*/ void* tag_handle,
349       /*inout*/ ::sidl::array<int32_t>& value_array,
350       /*out*/ int32_t& value_array_size
351     )
352     throw (
353       ::TSTTB::Error
354     );
355
356     /**
357      * user defined non-static method.
358      */
359     void
360     getDblArrData (
361       /*in*/ ::sidl::array<void*> entity_handles,
362       /*in*/ int32_t entity_handles_size,
363       /*in*/ void* tag_handle,
364       /*inout*/ ::sidl::array<double>& value_array,
365       /*out*/ int32_t& value_array_size
366     )
367     throw (
368       ::TSTTB::Error
369     );
370
371     /**
372      * user defined non-static method.
373      */
374     void
375     getEHArrData (
376       /*in*/ ::sidl::array<void*> entity_handles,
377       /*in*/ int32_t entity_handles_size,
378       /*in*/ void* tag_handle,
379       /*inout*/ ::sidl::array<void*>& value_array,
380       /*out*/ int32_t& value_array_size
381     )
382     throw (
383       ::TSTTB::Error
384     );
385
386     /**
387      * user defined non-static method.
388      */
389     void
390     setArrData (
391       /*in*/ ::sidl::array<void*> entity_handles,
392       /*in*/ int32_t entity_handles_size,
393       /*in*/ void* tag_handle,
394       /*in*/ ::sidl::array<char> value_array,
395       /*in*/ int32_t value_array_size
396     )
397     throw (
398       ::TSTTB::Error
399     );
400
401     /**
402      * user defined non-static method.
403      */
404     void
405     setIntArrData (
406       /*in*/ ::sidl::array<void*> entity_handles,
407       /*in*/ int32_t entity_handles_size,
408       /*in*/ void* tag_handle,
409       /*in*/ ::sidl::array<int32_t> value_array,
410       /*in*/ int32_t value_array_size
411     )
412     throw (
413       ::TSTTB::Error
414     );
415
416     /**
417      * user defined non-static method.
418      */
419     void
420     setDblArrData (
421       /*in*/ ::sidl::array<void*> entity_handles,
422       /*in*/ int32_t entity_handles_size,
423       /*in*/ void* tag_handle,
424       /*in*/ ::sidl::array<double> value_array,
425       /*in*/ int32_t value_array_size
426     )
427     throw (
428       ::TSTTB::Error
429     );
430
431     /**
432      * user defined non-static method.
433      */
434     void
435     setEHArrData (
436       /*in*/ ::sidl::array<void*> entity_handles,
437       /*in*/ int32_t entity_handles_size,
438       /*in*/ void* tag_handle,
439       /*in*/ ::sidl::array<void*> value_array,
440       /*in*/ int32_t value_array_size
441     )
442     throw (
443       ::TSTTB::Error
444     );
445
446     /**
447      * user defined non-static method.
448      */
449     void
450     rmvArrTag (
451       /*in*/ ::sidl::array<void*> entity_handles,
452       /*in*/ int32_t entity_handles_size,
453       /*in*/ void* tag_handle
454     )
455     throw (
456       ::TSTTB::Error
457     );
458
459
460     /**
461      * Initialize an iterator over gentities of a specified dimension.
462      * @param gentity_dimension Dimension of gentities to be iterated over
463      * @param gentity_iterator Iterator initialized by this function
464      */
465     void
466     gentityIteratorInit (
467       /*in*/ int32_t gentity_dimension,
468       /*out*/ void*& gentity_iterator
469     )
470     throw (
471       ::TSTTB::Error
472     );
473
474
475     /**
476      * Get the next entity for this iterator.
477      * @param gentity_iterator Iterator being iterated over
478      * @param gentity_handle Next gentity
479      * @return If true, there are more gentities, if false, this is the last one
480      */
481     bool
482     gentityIteratorNext (
483       /*inout*/ void*& gentity_iterator,
484       /*out*/ void*& gentity_handle
485     )
486     throw (
487       ::TSTTB::Error
488     );
489
490
491     /**
492      * Reset an iterator back to the first gentity
493      * @param gentity_iterator Iterator reset by this function
494      */
495     void
496     gentityIteratorReset (
497       /*inout*/ void*& gentity_iterator
498     )
499     throw (
500       ::TSTTB::Error
501     );
502
503
504     /**
505      * Delete an iterator
506      * @param gentity_iterator Iterator deleted by this function
507      */
508     void
509     gentityIteratorDelete (
510       /*in*/ void* Gentity_dim_iterator
511     )
512     throw (
513       ::TSTTB::Error
514     );
515
516
517     /**
518      * Return a points on specified entities closest to specified points
519      * in space.  Input coordinates and output points are interleaved in
520      * the arrays.
521      * @param gentity_handles The gentities being queried
522      * @param near_coordinates Input coordinates
523      * @param on_coordinates Closest point on gentity
524      */
525     void
526     gentityClosestPoint (
527       /*in*/ ::sidl::array<void*> gentity_handles,
528       /*in*/ int32_t gentity_handles_size,
529       /*in*/ ::sidl::array<double> near_coordinates,
530       /*in*/ int32_t near_coordinates_size,
531       /*inout*/ ::sidl::array<double>& on_coordinates,
532       /*out*/ int32_t& on_coordinates_size
533     )
534     throw (
535       ::TSTTB::Error
536     );
537
538
539     /**
540      * Return the normals at point on specified entities.  Returns error
541      * if any input entity is not a gface.  Input coordinates and normals
542      * are interleaved in the arrays.
543      * @param gentity_handles The gentities being queried
544      * @param coordinates Input coordinates, interleaved
545      * @param normals The normals at the specified points, interleaved
546      */
547     void
548     gentityNormal (
549       /*in*/ ::sidl::array<void*> gentity_handles,
550       /*in*/ int32_t gentity_handles_size,
551       /*in*/ ::sidl::array<double> coordinates,
552       /*in*/ int32_t coordinates_size,
553       /*inout*/ ::sidl::array<double>& normals,
554       /*out*/ int32_t& normals_size
555     )
556     throw (
557       ::TSTTB::Error
558     );
559
560
561     /**
562      * Return points and normals on specified entities closest to specified points
563      * in space.  Input coordinates and output points are interleaved in
564      * the arrays.
565      * @param gentity_handles The gentities being queried
566      * @param near_coordinates Input coordinates
567      * @param on_coordinates Closest point on gentity
568      * @param normals Normals on gentity
569      */
570     void
571     gentityClosestPointAndNormal (
572       /*in*/ ::sidl::array<void*> gentity_handles,
573       /*in*/ int32_t gentity_handles_size,
574       /*in*/ ::sidl::array<double> near_coordinates,
575       /*in*/ int32_t near_coordinates_size,
576       /*inout*/ ::sidl::array<double>& on_coordinates,
577       /*out*/ int32_t& on_coordinates_size,
578       /*inout*/ ::sidl::array<double>& normals,
579       /*out*/ int32_t& normals_size
580     )
581     throw (
582       ::TSTTB::Error
583     );
584
585
586     /**
587      * Return the tangent at point on specified entities.  Returns error
588      * if any input entity is not a gedge.  Input coordinates and tangents
589      * are interleaved in the arrays.
590      * @param gentity_handles The gentities being queried
591      * @param coordinates Input coordinates, interleaved
592      * @param tangents The tangents at the specified points, interleaved
593      */
594     void
595     gentityTangent (
596       /*in*/ ::sidl::array<void*> gentity_handles,
597       /*in*/ int32_t gentity_handles_size,
598       /*in*/ ::sidl::array<double> coordinates,
599       /*in*/ int32_t coordinates_size,
600       /*inout*/ ::sidl::array<double>& tangents,
601       /*out*/ int32_t& tangents_size
602     )
603     throw (
604       ::TSTTB::Error
605     );
606
607
608     /**
609      * Return the bounding boxex of given entities; coordinates returned
610      * interleaved.
611      * @param gentity_handles The gentities being queried
612      * @param min_corners Minimum corner coordinates of the boxes, interleaved
613      * @param max_corners Maximum corner coordinates of the boxes, interleaved
614      */
615     void
616     gentityBoundingBox (
617       /*in*/ ::sidl::array<void*> gentity_handles,
618       /*in*/ int32_t gentity_handles_size,
619       /*inout*/ ::sidl::array<double>& min_corner,
620       /*out*/ int32_t& min_corner_size,
621       /*inout*/ ::sidl::array<double>& max_corner,
622       /*out*/ int32_t& max_corner_size
623     )
624     throw (
625       ::TSTTB::Error
626     );
627
628
629     /**
630      * Return the coordinates of the specified vertices; returns error if any
631      * of the entities are not gvertices.  Coordinates returned interleaved.
632      * @param gentity_handles The gentities being queried
633      * @param coordinates The coordinates of the gvertices, interleaved.
634      */
635     void
636     getGvertexCoordinates (
637       /*in*/ ::sidl::array<void*> gentity_handles,
638       /*in*/ int32_t gentity_handles_size,
639       /*inout*/ ::sidl::array<double>& coordinates,
640       /*out*/ int32_t& coordinates_size
641     )
642     throw (
643       ::TSTTB::Error
644     );
645
646
647     /**
648      * Return the sense of a gface with respect to a gregion.  Sense is either
649      * forward (=1), reverse (=-1), both (=2), or unknown (=0).  Error is returned
650      * if first entity is not a gface or second entity is not a gregion.
651      * @param gface Gface whose sense is being queried.
652      * @param gregion Gregion gface is being queried with respect to
653      */
654     int32_t
655     getGnormalSense (
656       /*in*/ void* gface,
657       /*in*/ void* gregion
658     )
659     throw (
660       ::TSTTB::Error
661     );
662
663
664     /**
665      * Return the sense of a gedge with respect to a gface.  Sense is either
666      * forward (=1), reverse (=-1), both (=2), or unknown (=0).  Error is returned
667      * if first entity is not a gedge or second entity is not a gface.
668      * @param gedge Gedge whose sense is being queried.
669      * @param gface Gface gedge is being queried with respect to
670      */
671     int32_t
672     getGtangentSense (
673       /*in*/ void* gedge,
674       /*in*/ void* gface
675     )
676     throw (
677       ::TSTTB::Error
678     );
679
680
681     /**
682      * Return the sense of a gedge with respect to a specified order of
683      * vertices bounding the gedge.  Sense is either forward (=1), reverse (=-1),
684      * or unknown (=0).  Error is returned if any gentities are not the expected
685      * type or if the gedge is bounded by only one gvertex (in this case, use
686      * getGtangentSense).
687      * @param gedge Gedge whose sense is being queried.
688      * @param gvertex1 First gvertex
689      * @param gvertex2 Second gvertex
690      */
691     int32_t
692     getGvertexTangentSense (
693       /*in*/ void* gedge,
694       /*in*/ void* gvertex1,
695       /*in*/ void* gvertex2
696     )
697     throw (
698       ::TSTTB::Error
699     );
700
701
702     /**
703      * Return whether a given gentity is parametric or not.  If a gentity
704      * is not parametric, all of the following functions will return an error
705      * when called on that entity.
706      * @param gentity_handle Gentity being queried.
707      */
708     int32_t
709     gentityIsParametric (
710       /*in*/ void* gentity_handle
711     )
712     throw (
713       ::TSTTB::Error
714     );
715
716
717     /**
718      * Given sets of parametric coordinates, return the corresponding real
719      * space coordinates on the gentities.  Input and output coordinates are
720      * interleaved.
721      * @param gentity_handles Gentities being queried.
722      * @param uv Input parametric coordinates
723      * @param xyz Output real space coordinates
724      */
725     void
726     gentityUvToXyz (
727       /*in*/ ::sidl::array<void*> gentity_handles,
728       /*in*/ int32_t gentity_handles_size,
729       /*in*/ ::sidl::array<double> uv,
730       /*in*/ int32_t uv_size,
731       /*inout*/ ::sidl::array<double>& coordinates,
732       /*out*/ int32_t& coordinates_size
733     )
734     throw (
735       ::TSTTB::Error
736     );
737
738
739     /**
740      * Given sets of real space coordinates, return the corresponding
741      * parametric coordinates on the gentities.  Input and output coordinates
742      * are interleaved.
743      * @param gentity_handles Gentities being queried.
744      * @param xyz Input real space coordinates
745      * @param uv Output parametric coordinates
746      */
747     void
748     gentityXyzToUv (
749       /*in*/ ::sidl::array<void*> gentity_handles,
750       /*in*/ int32_t gentity_handles_size,
751       /*in*/ ::sidl::array<double> coordinates,
752       /*in*/ int32_t coordinates_size,
753       /*inout*/ ::sidl::array<double>& uv,
754       /*out*/ int32_t& uv_size
755     )
756     throw (
757       ::TSTTB::Error
758     );
759
760
761     /**
762      * Return the uv range of the specified gentities.  Parameters are interleaved.
763      * @param gentity_handles Gentities being queried.
764      * @param uv_min Minimum parameters of gentities, interleaved
765      * @param uv_max Maximum parameters of gentities, interleaved
766      */
767     void
768     gentityUvRange (
769       /*in*/ ::sidl::array<void*> gentity_handles,
770       /*in*/ int32_t gentity_handles_size,
771       /*inout*/ ::sidl::array<double>& uv_min,
772       /*out*/ int32_t& uv_min_size,
773       /*inout*/ ::sidl::array<double>& uv_max,
774       /*out*/ int32_t& uv_max_size
775     )
776     throw (
777       ::TSTTB::Error
778     );
779
780
781     /**
782      * Given source gentities, parametric positions on those gentities, and
783      * bounding gentities, return the parametric positions on the bounding
784      * gentities.  If a source gentity is a gvertex, parametric positions for
785      * that entry are ignored.  In cases where multiple source entities are
786      * input, two input and output parameters per gentity is assumed, even if
787      * input consists only of gedges or gvertices.
788      * @param src_gentity_handles Source gentities
789      * @param src_uv Uv positions on source gentities
790      * @param trg_gentity_handles Target gentities
791      * @param trg_uv Uv positions on target gentities
792      */
793     void
794     Greparam_edge_face (
795       /*in*/ ::sidl::array<void*> src_gentity_handles,
796       /*in*/ int32_t src_gentity_handles_size,
797       /*in*/ ::sidl::array<double> src_uv,
798       /*in*/ int32_t src_uv_size,
799       /*in*/ ::sidl::array<void*> trg_gentity_handles,
800       /*in*/ int32_t trg_gentity_handles_size,
801       /*in*/ ::sidl::array<double> trg_uv,
802       /*in*/ int32_t trg_uv_size
803     )
804     throw (
805       ::TSTTB::Error
806     );
807
808
809     /**
810      * Return the normals at specified uv positions on gfaces.  If any
811      * gentity input is not a face, returns error.  Input parameters and
812      * output normals are interleaved.
813      * @param gface_handles The entities being queried
814      * @param parameters The uv parameters of points being queried, interleaved
815      * @param normals Normals at specified points, interleaved
816      */
817     void
818     gentityNormalUv (
819       /*in*/ ::sidl::array<void*> gface_handles,
820       /*in*/ int32_t gface_handles_size,
821       /*in*/ ::sidl::array<double> parameters,
822       /*in*/ int32_t parameters_size,
823       /*inout*/ ::sidl::array<double>& normals,
824       /*in*/ int32_t normals_size
825     )
826     throw (
827       ::TSTTB::Error
828     );
829
830
831     /**
832      * Return the tangents at specified u positions on gedges.  If any
833      * gentity input is not a face, returns error.  Output normals are
834      * interleaved.
835      * @param gentity_handles The gedges being queried
836      * @param parameters The u parameters of points being queried
837      * @param tangents Tangents at specified points, interleaved
838      */
839     void
840     gentityTangentU (
841       /*in*/ ::sidl::array<void*> gedge_handles,
842       /*in*/ int32_t gedge_handles_size,
843       /*in*/ ::sidl::array<double> parameters,
844       /*in*/ int32_t parameters_size,
845       /*inout*/ ::sidl::array<double>& tangents,
846       /*out*/ int32_t& tangents_size
847     )
848     throw (
849       ::TSTTB::Error
850     );
851
852     /**
853      * user defined non-static method.
854      */
855     void
856     getData (
857       /*in*/ void* entity_handle,
858       /*in*/ void* tag_handle,
859       /*inout*/ ::sidl::array<char>& tag_value,
860       /*out*/ int32_t& tag_value_size
861     )
862     throw (
863       ::TSTTB::Error
864     );
865
866     /**
867      * user defined non-static method.
868      */
869     int32_t
870     getIntData (
871       /*in*/ void* entity_handle,
872       /*in*/ void* tag_handle
873     )
874     throw (
875       ::TSTTB::Error
876     );
877
878     /**
879      * user defined non-static method.
880      */
881     double
882     getDblData (
883       /*in*/ void* entity_handle,
884       /*in*/ void* tag_handle
885     )
886     throw (
887       ::TSTTB::Error
888     );
889
890     /**
891      * user defined non-static method.
892      */
893     void*
894     getEHData (
895       /*in*/ void* entity_handle,
896       /*in*/ void* tag_handle
897     )
898     throw (
899       ::TSTTB::Error
900     );
901
902     /**
903      * user defined non-static method.
904      */
905     void
906     setData (
907       /*in*/ void* entity_handle,
908       /*in*/ void* tag_handle,
909       /*in*/ ::sidl::array<char> tag_value,
910       /*in*/ int32_t tag_value_size
911     )
912     throw (
913       ::TSTTB::Error
914     );
915
916     /**
917      * user defined non-static method.
918      */
919     void
920     setIntData (
921       /*in*/ void* entity_handle,
922       /*in*/ void* tag_handle,
923       /*in*/ int32_t tag_value
924     )
925     throw (
926       ::TSTTB::Error
927     );
928
929     /**
930      * user defined non-static method.
931      */
932     void
933     setDblData (
934       /*in*/ void* entity_handle,
935       /*in*/ void* tag_handle,
936       /*in*/ double tag_value
937     )
938     throw (
939       ::TSTTB::Error
940     );
941
942     /**
943      * user defined non-static method.
944      */
945     void
946     setEHData (
947       /*in*/ void* entity_handle,
948       /*in*/ void* tag_handle,
949       /*in*/ void* tag_value
950     )
951     throw (
952       ::TSTTB::Error
953     );
954
955     /**
956      * user defined non-static method.
957      */
958     void
959     getAllTags (
960       /*in*/ void* entity_handle,
961       /*inout*/ ::sidl::array<void*>& tag_handles,
962       /*out*/ int32_t& tag_handles_size
963     )
964     throw (
965       ::TSTTB::Error
966     );
967
968     /**
969      * user defined non-static method.
970      */
971     void
972     rmvTag (
973       /*in*/ void* entity_handle,
974       /*in*/ void* tag_handle
975     )
976     throw (
977       ::TSTTB::Error
978     );
979
980     /**
981      * user defined non-static method.
982      */
983     void
984     createEntSet (
985       /*in*/ bool isList,
986       /*out*/ void*& entity_set
987     )
988     throw (
989       ::TSTTB::Error
990     );
991
992     /**
993      * user defined non-static method.
994      */
995     void
996     destroyEntSet (
997       /*in*/ void* entity_set
998     )
999     throw (
1000       ::TSTTB::Error
1001     );
1002
1003     /**
1004      * user defined non-static method.
1005      */
1006     bool
1007     isList (
1008       /*in*/ void* entity_set
1009     )
1010     throw (
1011       ::TSTTB::Error
1012     );
1013
1014     /**
1015      * user defined non-static method.
1016      */
1017     int32_t
1018     getNumEntSets (
1019       /*in*/ void* entity_set,
1020       /*in*/ int32_t num_hops
1021     )
1022     throw (
1023       ::TSTTB::Error
1024     );
1025
1026     /**
1027      * user defined non-static method.
1028      */
1029     void
1030     getEntSets (
1031       /*in*/ void* entity_set,
1032       /*in*/ int32_t num_hops,
1033       /*inout*/ ::sidl::array<void*>& contained_entset_handles,
1034       /*out*/ int32_t& contained_entset_handles_size
1035     )
1036     throw (
1037       ::TSTTB::Error
1038     );
1039
1040     /**
1041      * user defined non-static method.
1042      */
1043     void
1044     addEntToSet (
1045       /*in*/ void* entity_handle,
1046       /*inout*/ void*& entity_set
1047     )
1048     throw (
1049       ::TSTTB::Error
1050     );
1051
1052     /**
1053      * user defined non-static method.
1054      */
1055     void
1056     rmvEntFromSet (
1057       /*in*/ void* entity_handle,
1058       /*inout*/ void*& entity_set
1059     )
1060     throw (
1061       ::TSTTB::Error
1062     );
1063
1064     /**
1065      * user defined non-static method.
1066      */
1067     void
1068     addEntArrToSet (
1069       /*in*/ ::sidl::array<void*> entity_handles,
1070       /*in*/ int32_t entity_handles_size,
1071       /*inout*/ void*& entity_set
1072     )
1073     throw (
1074       ::TSTTB::Error
1075     );
1076
1077     /**
1078      * user defined non-static method.
1079      */
1080     void
1081     rmvEntArrFromSet (
1082       /*in*/ ::sidl::array<void*> entity_handles,
1083       /*in*/ int32_t entity_handles_size,
1084       /*inout*/ void*& entity_set
1085     )
1086     throw (
1087       ::TSTTB::Error
1088     );
1089
1090     /**
1091      * user defined non-static method.
1092      */
1093     void
1094     addEntSet (
1095       /*in*/ void* entity_set_to_add,
1096       /*inout*/ void*& entity_set_handle
1097     )
1098     throw (
1099       ::TSTTB::Error
1100     );
1101
1102     /**
1103      * user defined non-static method.
1104      */
1105     void
1106     rmvEntSet (
1107       /*in*/ void* entity_set_to_remove,
1108       /*inout*/ void*& entity_set_handle
1109     )
1110     throw (
1111       ::TSTTB::Error
1112     );
1113
1114     /**
1115      * user defined non-static method.
1116      */
1117     bool
1118     isEntContained (
1119       /*in*/ void* containing_entity_set,
1120       /*in*/ void* entity_handle
1121     )
1122     throw (
1123       ::TSTTB::Error
1124     );
1125
1126     /**
1127      * user defined non-static method.
1128      */
1129     bool
1130     isEntSetContained (
1131       /*in*/ void* containing_entity_set,
1132       /*in*/ void* contained_entity_set
1133     )
1134     throw (
1135       ::TSTTB::Error
1136     );
1137
1138     /**
1139      * user defined non-static method.
1140      */
1141     void
1142     subtract (
1143       /*in*/ void* entity_set_1,
1144       /*in*/ void* entity_set_2,
1145       /*out*/ void*& result_entity_set
1146     )
1147     throw (
1148       ::TSTTB::Error
1149     );
1150
1151     /**
1152      * user defined non-static method.
1153      */
1154     void
1155     intersect (
1156       /*in*/ void* entity_set_1,
1157       /*in*/ void* entity_set_2,
1158       /*out*/ void*& result_entity_set
1159     )
1160     throw (
1161       ::TSTTB::Error
1162     );
1163
1164     /**
1165      * user defined non-static method.
1166      */
1167     void
1168     unite (
1169       /*in*/ void* entity_set_1,
1170       /*in*/ void* entity_set_2,
1171       /*out*/ void*& result_entity_set
1172     )
1173     throw (
1174       ::TSTTB::Error
1175     );
1176
1177
1178     /**
1179      * Return the relative and absolute tolerances at the modeler level.  If
1180      * model does not have a modeler-wide tolerance, zero is returned for both
1181      * values.
1182      * @param relative_tolerance Relative tolerance for model as a whole
1183      * @param absolute_tolerance Absolute tolerance for model as a whole
1184      */
1185     void
1186     getGtolerance (
1187       /*out*/ double& relative_tolerance,
1188       /*out*/ double& absolute_tolerance
1189     )
1190     throw (
1191       ::TSTTB::Error
1192     );
1193
1194
1195     /**
1196      * Return the relative and absolute tolerances for specified gentities.  If
1197      * a gentity does not have a specific tolerance, zero is returned for both
1198      * values.
1199      * @param gentity_handles Gentities being queried
1200      * @param relative_tolerances Relative tolerances
1201      * @param absolute_tolerances Absolute tolerances
1202      */
1203     void
1204     getGentityTolerance (
1205       /*in*/ ::sidl::array<void*> gentity_handles,
1206       /*in*/ int32_t gentity_handles_size,
1207       /*inout*/ ::sidl::array<double>& relative_tolerances,
1208       /*out*/ int32_t& relative_tolerances_size,
1209       /*inout*/ ::sidl::array<double>& absolute_tolerances,
1210       /*out*/ int32_t& absolute_tolerances_size
1211     )
1212     throw (
1213       ::TSTTB::Error
1214     );
1215
1216     /**
1217      * user defined non-static method.
1218      */
1219     void
1220     setEntSetData (
1221       /*in*/ void* entity_set,
1222       /*in*/ void* tag_handle,
1223       /*inout*/ ::sidl::array<char>& tag_value,
1224       /*in*/ int32_t tag_value_size
1225     )
1226     throw (
1227       ::TSTTB::Error
1228     );
1229
1230     /**
1231      * user defined non-static method.
1232      */
1233     void
1234     setEntSetIntData (
1235       /*in*/ void* entity_set,
1236       /*in*/ void* tag_handle,
1237       /*in*/ int32_t tag_value
1238     )
1239     throw (
1240       ::TSTTB::Error
1241     );
1242
1243     /**
1244      * user defined non-static method.
1245      */
1246     void
1247     setEntSetDblData (
1248       /*in*/ void* entity_set,
1249       /*in*/ void* tag_handle,
1250       /*in*/ double tag_value
1251     )
1252     throw (
1253       ::TSTTB::Error
1254     );
1255
1256     /**
1257      * user defined non-static method.
1258      */
1259     void
1260     setEntSetEHData (
1261       /*in*/ void* entity_set,
1262       /*in*/ void* tag_handle,
1263       /*in*/ void* tag_value
1264     )
1265     throw (
1266       ::TSTTB::Error
1267     );
1268
1269     /**
1270      * user defined non-static method.
1271      */
1272     void
1273     getEntSetData (
1274       /*in*/ void* entity_set,
1275       /*in*/ void* tag_handle,
1276       /*inout*/ ::sidl::array<char>& tag_value,
1277       /*out*/ int32_t& tag_value_size
1278     )
1279     throw (
1280       ::TSTTB::Error
1281     );
1282
1283     /**
1284      * user defined non-static method.
1285      */
1286     int32_t
1287     getEntSetIntData (
1288       /*in*/ void* entity_set,
1289       /*in*/ void* tag_handle
1290     )
1291     throw (
1292       ::TSTTB::Error
1293     );
1294
1295     /**
1296      * user defined non-static method.
1297      */
1298     double
1299     getEntSetDblData (
1300       /*in*/ void* entity_set,
1301       /*in*/ void* tag_handle
1302     )
1303     throw (
1304       ::TSTTB::Error
1305     );
1306
1307     /**
1308      * user defined non-static method.
1309      */
1310     void*
1311     getEntSetEHData (
1312       /*in*/ void* entity_set,
1313       /*in*/ void* tag_handle
1314     )
1315     throw (
1316       ::TSTTB::Error
1317     );
1318
1319     /**
1320      * user defined non-static method.
1321      */
1322     void
1323     getAllEntSetTags (
1324       /*in*/ void* entity_set,
1325       /*inout*/ ::sidl::array<void*>& tag_handles,
1326       /*out*/ int32_t& tag_handles_size
1327     )
1328     throw (
1329       ::TSTTB::Error
1330     );
1331
1332     /**
1333      * user defined non-static method.
1334      */
1335     void
1336     rmvEntSetTag (
1337       /*in*/ void* entity_set,
1338       /*in*/ void* tag_handle
1339     )
1340     throw (
1341       ::TSTTB::Error
1342     );
1343
1344     /**
1345      * user defined non-static method.
1346      */
1347     void
1348     Brick (
1349       /*in*/ double x,
1350       /*in*/ double y,
1351       /*in*/ double z,
1352       /*out*/ void*& geom_entity
1353     )
1354     throw (
1355       ::TSTTB::Error
1356     );
1357
1358     /**
1359      * user defined non-static method.
1360      */
1361     void
1362     Cylinder (
1363       /*in*/ double height,
1364       /*in*/ double major_rad,
1365       /*in*/ double minor_rad,
1366       /*out*/ void*& geom_entity
1367     )
1368     throw (
1369       ::TSTTB::Error
1370     );
1371
1372     /**
1373      * user defined non-static method.
1374      */
1375     void
1376     Torus (
1377       /*in*/ double major_rad,
1378       /*in*/ double minor_rad,
1379       /*out*/ void*& geom_entity
1380     )
1381     throw (
1382       ::TSTTB::Error
1383     );
1384
1385     /**
1386      * user defined non-static method.
1387      */
1388     void
1389     addPrntChld (
1390       /*inout*/ void*& parent_entity_set,
1391       /*inout*/ void*& child_entity_set
1392     )
1393     throw (
1394       ::TSTTB::Error
1395     );
1396
1397     /**
1398      * user defined non-static method.
1399      */
1400     void
1401     rmvPrntChld (
1402       /*inout*/ void*& parent_entity_set,
1403       /*inout*/ void*& child_entity_set
1404     )
1405     throw (
1406       ::TSTTB::Error
1407     );
1408
1409     /**
1410      * user defined non-static method.
1411      */
1412     bool
1413     isChildOf (
1414       /*in*/ void* parent_entity_set,
1415       /*in*/ void* child_entity_set
1416     )
1417     throw (
1418       ::TSTTB::Error
1419     );
1420
1421     /**
1422      * user defined non-static method.
1423      */
1424     int32_t
1425     getNumChld (
1426       /*in*/ void* entity_set,
1427       /*in*/ int32_t num_hops
1428     )
1429     throw (
1430       ::TSTTB::Error
1431     );
1432
1433     /**
1434      * user defined non-static method.
1435      */
1436     int32_t
1437     getNumPrnt (
1438       /*in*/ void* entity_set,
1439       /*in*/ int32_t num_hops
1440     )
1441     throw (
1442       ::TSTTB::Error
1443     );
1444
1445     /**
1446      * user defined non-static method.
1447      */
1448     void
1449     getChldn (
1450       /*in*/ void* from_entity_set,
1451       /*in*/ int32_t num_hops,
1452       /*inout*/ ::sidl::array<void*>& child_handles,
1453       /*out*/ int32_t& child_handles_size
1454     )
1455     throw (
1456       ::TSTTB::Error
1457     );
1458
1459     /**
1460      * user defined non-static method.
1461      */
1462     void
1463     getPrnts (
1464       /*in*/ void* from_entity_set,
1465       /*in*/ int32_t num_hops,
1466       /*inout*/ ::sidl::array<void*>& parent_handles,
1467       /*out*/ int32_t& parent_handles_size
1468     )
1469     throw (
1470       ::TSTTB::Error
1471     );
1472
1473     /**
1474      * user defined non-static method.
1475      */
1476     void
1477     Move (
1478       /*inout*/ void*& geom_entity,
1479       /*in*/ double x,
1480       /*in*/ double y,
1481       /*in*/ double z
1482     )
1483     throw (
1484       ::TSTTB::Error
1485     );
1486
1487     /**
1488      * user defined non-static method.
1489      */
1490     void
1491     Rotate (
1492       /*inout*/ void*& geom_entity,
1493       /*in*/ double angle,
1494       /*in*/ double axis_normal_x,
1495       /*in*/ double axis_normal_y,
1496       /*in*/ double axis_normal_z
1497     )
1498     throw (
1499       ::TSTTB::Error
1500     );
1501
1502     /**
1503      * user defined non-static method.
1504      */
1505     void
1506     Reflect (
1507       /*inout*/ void*& geom_entity,
1508       /*in*/ double plane_normal_x,
1509       /*in*/ double plane_normal_y,
1510       /*in*/ double plane_normal_z
1511     )
1512     throw (
1513       ::TSTTB::Error
1514     );
1515
1516     /**
1517      * user defined non-static method.
1518      */
1519     void
1520     Scale (
1521       /*inout*/ void*& geom_entity,
1522       /*in*/ double scale_x,
1523       /*in*/ double scale_y,
1524       /*in*/ double scale_z
1525     )
1526     throw (
1527       ::TSTTB::Error
1528     );
1529
1530     /**
1531      * user defined non-static method.
1532      */
1533     void
1534     Copy (
1535       /*in*/ void* geom_entity,
1536       /*out*/ void*& geom_entity2
1537     )
1538     throw (
1539       ::TSTTB::Error
1540     );
1541
1542     /**
1543      * user defined non-static method.
1544      */
1545     void
1546     SweepAboutAxis (
1547       /*in*/ void* geom_entity,
1548       /*in*/ double angle,
1549       /*in*/ double axis_normal_x,
1550       /*in*/ double axis_normal_y,
1551       /*in*/ double axis_normal_z,
1552       /*out*/ void*& geom_entity2
1553     )
1554     throw (
1555       ::TSTTB::Error
1556     );
1557
1558     /**
1559      * user defined non-static method.
1560      */
1561     void
1562     Delete (
1563       /*in*/ void* geom_entity
1564     )
1565     throw (
1566       ::TSTTB::Error
1567     );
1568
1569     /**
1570      * user defined non-static method.
1571      */
1572     void
1573     Unite (
1574       /*in*/ ::sidl::array<void*> geom_entities,
1575       /*in*/ int32_t geom_entities_size,
1576       /*out*/ void*& geom_entity
1577     )
1578     throw (
1579       ::TSTTB::Error
1580     );
1581
1582     /**
1583      * user defined non-static method.
1584      */
1585     void
1586     Subtract (
1587       /*in*/ void* blank,
1588       /*in*/ void* tool,
1589       /*out*/ void*& geom_entity
1590     )
1591     throw (
1592       ::TSTTB::Error
1593     );
1594
1595     /**
1596      * user defined non-static method.
1597      */
1598     void
1599     Section (
1600       /*inout*/ void*& geom_entity,
1601       /*in*/ double plane_normal_x,
1602       /*in*/ double plane_normal_y,
1603       /*in*/ double plane_normal_z,
1604       /*in*/ double offset,
1605       /*in*/ bool reverse,
1606       /*out*/ void*& geom_entity2
1607     )
1608     throw (
1609       ::TSTTB::Error
1610     );
1611
1612     /**
1613      * user defined non-static method.
1614      */
1615     void
1616     Imprint (
1617       /*in*/ ::sidl::array<void*> geom_entities,
1618       /*in*/ int32_t geom_entities_size
1619     )
1620     throw (
1621       ::TSTTB::Error
1622     );
1623
1624     /**
1625      * user defined non-static method.
1626      */
1627     void
1628     Merge (
1629       /*in*/ ::sidl::array<void*> geom_entities,
1630       /*in*/ int32_t geom_entities_size,
1631       /*in*/ double tolerance
1632     )
1633     throw (
1634       ::TSTTB::Error
1635     );
1636
1637   };  // end class CgmGeom_impl
1638
1639 } // end namespace TSTTG_CGM
1640
1641 // DO-NOT-DELETE splicer.begin(TSTTG_CGM.CgmGeom._misc)
1642 // Put miscellaneous things here...
1643 // DO-NOT-DELETE splicer.end(TSTTG_CGM.CgmGeom._misc)
1644
1645 #endif
1646
Note: See TracBrowser for help on using the browser.