Commit | Line | Data |
---|---|---|
b311480e | 1 | -- Created on: 1993-03-31 |
2 | -- Created by: NW,JPB,CAL | |
3 | -- Copyright (c) 1993-1999 Matra Datavision | |
973c2be1 | 4 | -- Copyright (c) 1999-2014 OPEN CASCADE SAS |
7fd59977 | 5 | -- |
973c2be1 | 6 | -- This file is part of Open CASCADE Technology software library. |
b311480e | 7 | -- |
d5f74e42 | 8 | -- This library is free software; you can redistribute it and/or modify it under |
9 | -- the terms of the GNU Lesser General Public License version 2.1 as published | |
973c2be1 | 10 | -- by the Free Software Foundation, with special exception defined in the file |
11 | -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT | |
12 | -- distribution for complete text of the license and disclaimer of any warranty. | |
b311480e | 13 | -- |
973c2be1 | 14 | -- Alternatively, this file may be used under the terms of Open CASCADE |
15 | -- commercial license or contractual agreement. | |
b311480e | 16 | |
7fd59977 | 17 | -- Package : Graphic3d |
7fd59977 | 18 | -- Updated : Vendredi 2 Octobre 1992 |
19 | -- Mercredi 31 Mars 1993 | |
20 | -- Mercredi 19 Janvier 1994 | |
21 | -- 1/08/97 ; PCT : Ajout texture mapping | |
22 | -- 11/97 ; CAL : retrait de la dependance avec math | |
23 | -- 11/97 ; CAL : retrait des DataStructure | |
7fd59977 | 24 | -- 04/98 ; FGU : ajout champs 'TOR_EMISSION' |
25 | -- 16-09-98; BGN: (S3819) Ajout TypeOfTriedronEcho, | |
26 | -- TypeOfTriedronPosition. | |
27 | -- 22-09-98; BGN: S3989 (anciennement S3819): report | |
28 | -- dans Aspect des TypeOfTriedron* | |
29 | -- 26-03-99 : FMN ; Compatibilite ascendante: | |
30 | -- Ajout des anciens noms de materiaux. | |
31 | -- 09-04-99 : GG ; Compatibilite ascendante: | |
32 | -- NameOfPhysicalMaterial disparait | |
33 | -- 23-11-99 : GG ; Add material name DEFAULT | |
34 | -- 16-06-2000 : ATS : Study G005: class ArrayOfPrimitives | |
35 | -- and derivated used for model presentation. | |
36 | -- Required: enumeration TypeOfPrimitive; | |
37 | -- imported PrimitiveArray; class PrimitiveList. | |
7fd59977 | 38 | -- Thanks to Stephane ROUTELOUS |
39 | -- 20-01-2009 : ABD Integration support of system fonts (using FTGL and FreeType) | |
7fd59977 | 40 | -- Objective : Specifications definitives |
7fd59977 | 41 | |
42 | package Graphic3d | |
43 | ||
44 | ---Version: | |
45 | ||
46 | ---Purpose: This package permits the creation of 3d graphic objects | |
47 | -- in a visualiser. | |
48 | -- These objects, called structures, are composed of groups of | |
49 | -- primitives and attributes. | |
50 | -- The group is the smallest editable element of a structure. | |
51 | -- A structure can be displayed, erased, high-lighted. | |
52 | -- A transformation can be applied to it. | |
53 | -- Structures can be connected to form a tree of structures, | |
54 | -- composed by transformations. | |
55 | -- The visualiser permits global manipulation of structures. | |
56 | ||
57 | ---Keywords: Structure, Group, Primitives, Line, Marker, Text, | |
58 | -- FillAreas, Vertex, Vector, Material, Font, Shading | |
59 | ---Warning: | |
60 | ---References: | |
61 | ||
62 | uses | |
63 | ||
64 | TCollection, | |
65 | TColStd, | |
b8ddfc2f | 66 | TColgp, |
7fd59977 | 67 | OSD, |
68 | Quantity, | |
69 | Aspect, | |
70 | MMgt, | |
7fd59977 | 71 | WNT, |
72 | Image, | |
eeaaaefb | 73 | gp, |
ed063270 | 74 | Font, |
75 | Bnd | |
7fd59977 | 76 | is |
77 | ||
78 | ----------------------- | |
79 | -- Category: Exceptions | |
80 | ----------------------- | |
81 | ||
82 | exception AspectTextDefinitionError inherits OutOfRange; | |
83 | ---Category: Exceptions | |
84 | ||
85 | exception CycleError inherits DomainError; | |
86 | ---Category: Exceptions | |
87 | ||
88 | exception GroupDefinitionError inherits OutOfRange; | |
89 | ---Category: Exceptions | |
90 | ||
91 | exception InitialisationError inherits OutOfRange; | |
92 | ---Category: Exceptions | |
93 | ||
94 | exception MaterialDefinitionError inherits OutOfRange; | |
95 | ---Category: Exceptions | |
96 | ||
7fd59977 | 97 | exception PriorityDefinitionError inherits OutOfRange; |
98 | ---Category: Exceptions | |
99 | ||
100 | exception StructureDefinitionError inherits OutOfRange; | |
101 | ---Category: Exceptions | |
102 | ||
103 | exception TransformError inherits OutOfRange; | |
104 | ---Category: Exceptions | |
105 | ||
106 | exception VectorError inherits OutOfRange; | |
107 | ---Category: Exceptions | |
108 | ||
109 | ------------------------- | |
110 | -- Category: Enumerations | |
111 | ------------------------- | |
112 | ||
113 | enumeration NameOfMaterial is | |
114 | NOM_BRASS, -- laiton (PHYSIC) | |
44c7c33e | 115 | NOM_BRONZE, -- bronze (PHYSIC) |
116 | NOM_COPPER, -- cuivre (PHYSIC) | |
117 | NOM_GOLD, -- or (PHYSIC) | |
7fd59977 | 118 | |
44c7c33e | 119 | NOM_PEWTER, -- etain (PHYSIC) |
7fd59977 | 120 | |
44c7c33e | 121 | NOM_PLASTER, -- platre (GENERIC) |
122 | NOM_PLASTIC, -- plastic (GENERIC) | |
7fd59977 | 123 | |
44c7c33e | 124 | NOM_SILVER, -- argent (PHYSIC) |
7fd59977 | 125 | |
44c7c33e | 126 | NOM_STEEL, -- acier (PHYSIC) |
7fd59977 | 127 | |
44c7c33e | 128 | NOM_STONE, -- pierre (PHYSIC) |
7fd59977 | 129 | |
44c7c33e | 130 | NOM_SHINY_PLASTIC, -- plastique brillant (GENERIC) |
131 | NOM_SATIN, -- satin (GENERIC) | |
132 | NOM_METALIZED, -- metallise New (GENERIC) | |
133 | NOM_NEON_GNC, -- neon New (GENERIC) | |
134 | NOM_CHROME, -- chrome New (PHYSIC) | |
135 | NOM_ALUMINIUM, -- aluminium New (PHYSIC) | |
136 | NOM_OBSIDIAN, -- obsidian New (PHYSIC) | |
137 | NOM_NEON_PHC, -- neon New (PHYSIC) | |
138 | NOM_JADE, -- jade New (PHYSIC) | |
139 | ||
140 | NOM_CHARCOAL, | |
141 | ||
142 | NOM_WATER, | |
143 | NOM_GLASS, | |
144 | NOM_DIAMOND, | |
145 | ||
146 | NOM_DEFAULT, | |
147 | NOM_UserDefined -- owner material | |
7fd59977 | 148 | end NameOfMaterial; |
149 | ---Purpose: Types of aspect materials. | |
150 | ---Category: Enumerations | |
151 | ||
152 | enumeration TypeOfMaterial is MATERIAL_ASPECT, -- Materiel generique | |
153 | MATERIAL_PHYSIC -- Materiel physique | |
154 | end TypeOfMaterial; | |
155 | ---Purpose: Types of materials specifies if a material can change color. | |
156 | ---Category: Enumerations | |
157 | ||
158 | enumeration NameOfTexture1D is NOT_1D_ELEVATION, | |
159 | NOT_1D_UNKNOWN | |
160 | end NameOfTexture1D; | |
161 | ---Purpose: Types of standard textures. | |
162 | ---Category: Enumerations | |
163 | ||
164 | ||
165 | enumeration NameOfTexture2D is NOT_2D_MATRA, | |
166 | NOT_2D_ALIENSKIN, | |
167 | NOT_2D_BLUE_ROCK, | |
168 | NOT_2D_BLUEWHITE_PAPER, | |
169 | NOT_2D_BRUSHED, | |
170 | NOT_2D_BUBBLES, | |
171 | NOT_2D_BUMP, | |
172 | NOT_2D_CAST, | |
173 | NOT_2D_CHIPBD, | |
174 | NOT_2D_CLOUDS, | |
175 | NOT_2D_FLESH, | |
176 | NOT_2D_FLOOR, | |
177 | NOT_2D_GALVNISD, | |
178 | NOT_2D_GRASS, | |
179 | NOT_2D_ALUMINUM, | |
180 | NOT_2D_ROCK, | |
181 | NOT_2D_KNURL, | |
182 | NOT_2D_MAPLE, | |
183 | NOT_2D_MARBLE, | |
184 | NOT_2D_MOTTLED, | |
185 | NOT_2D_RAIN, | |
186 | NOT_2D_UNKNOWN | |
187 | end NameOfTexture2D; | |
188 | ---Purpose: Types of standard textures. | |
189 | ---Category: Enumerations | |
190 | ||
191 | ||
192 | enumeration NameOfTextureEnv is NOT_ENV_CLOUDS, | |
193 | NOT_ENV_CV, | |
194 | NOT_ENV_MEDIT, | |
195 | NOT_ENV_PEARL, | |
196 | NOT_ENV_SKY1, | |
197 | NOT_ENV_SKY2, | |
198 | NOT_ENV_LINES, | |
199 | NOT_ENV_ROAD, | |
200 | NOT_ENV_UNKNOWN | |
201 | end NameOfTextureEnv; | |
202 | ---Purpose: Types of standard textures. | |
203 | ---Category: Enumerations | |
204 | ||
205 | enumeration TypeOfTexture is TOT_1D, | |
206 | TOT_2D, | |
207 | TOT_2D_MIPMAP; | |
208 | ---Purpose: Type of the texture file format. | |
209 | ---Category: Enumerations | |
210 | ||
211 | enumeration TypeOfTextureMode is TOTM_OBJECT, | |
212 | TOTM_SPHERE, | |
213 | TOTM_EYE, | |
a577aaab | 214 | TOTM_MANUAL, |
215 | TOTM_SPRITE; | |
7fd59977 | 216 | ---Purpose: Type of the texture projection. |
217 | ---Category: Enumerations | |
218 | ||
bf75be98 | 219 | enumeration TypeOfTextureFilter is TOTF_NEAREST, |
220 | TOTF_BILINEAR, | |
221 | TOTF_TRILINEAR; | |
222 | ---Purpose: Type of the texture filter. | |
223 | -- Notice that for textures without mipmaps linear interpolation will be used instead of TOTF_BILINEAR and TOTF_TRILINEAR. | |
224 | ---Category: Enumerations | |
225 | ||
226 | enumeration LevelOfTextureAnisotropy is LOTA_OFF, | |
227 | LOTA_FAST, | |
228 | LOTA_MIDDLE, | |
229 | LOTA_QUALITY; | |
230 | ---Purpose: Level of anisotropy filter. | |
231 | -- Notice that actual quality depends on hardware capabilities! | |
232 | ---Category: Enumerations | |
233 | ||
7fd59977 | 234 | enumeration NameOfTexturePlane is NOTP_XY, |
235 | NOTP_YZ, | |
236 | NOTP_ZX, | |
237 | NOTP_UNKNOWN; | |
238 | ---Purpose: Type of the texture projection plane for both S and T texture coordinate. | |
239 | ---Category: Enumerations | |
240 | ||
241 | enumeration TypeOfComposition is TOC_REPLACE, | |
242 | TOC_POSTCONCATENATE | |
243 | end TypeOfComposition; | |
244 | ---Purpose: To manage the transformation matrices of structures. | |
245 | ---Category: Enumerations | |
246 | ||
247 | enumeration TypeOfConnection is TOC_ANCESTOR, | |
248 | TOC_DESCENDANT | |
249 | end TypeOfConnection; | |
250 | ---Purpose: To manage the connections between the structures. | |
251 | ---Category: Enumerations | |
252 | ||
253 | enumeration TypeOfPolygon is TOP_UNKNOWN, | |
254 | TOP_COMPLEX, | |
255 | TOP_CONCAVE, | |
256 | TOP_CONVEX | |
257 | end TypeOfPolygon; | |
258 | ---Purpose: The type of polygon in a group in a structure. | |
259 | ---Category: Enumerations | |
260 | ||
261 | enumeration TypeOfPrimitive is TOP_UNDEFINED, | |
262 | TOP_POLYLINE, | |
263 | TOP_POLYGON, | |
264 | TOP_TRIANGLEMESH, | |
265 | TOP_QUADRANGLEMESH, | |
266 | TOP_TEXT, | |
267 | TOP_MARKER, | |
268 | TOP_PARRAY | |
269 | end TypeOfPrimitive; | |
270 | ---Purpose: The type of primitive in a group in a structure. | |
271 | ---Category: Enumerations | |
272 | ||
273 | enumeration TypeOfPrimitiveArray is TOPA_UNDEFINED, | |
274 | TOPA_POINTS, | |
275 | TOPA_POLYLINES, | |
276 | TOPA_SEGMENTS, | |
277 | TOPA_POLYGONS, | |
278 | TOPA_TRIANGLES, | |
279 | TOPA_QUADRANGLES, | |
280 | TOPA_TRIANGLESTRIPS, | |
281 | TOPA_QUADRANGLESTRIPS, | |
282 | TOPA_TRIANGLEFANS | |
283 | end TypeOfPrimitiveArray; | |
284 | ---Purpose: The type of primitive array in a group in a structure. | |
285 | ---Category: Enumerations | |
286 | ||
287 | enumeration TypeOfReflection is TOR_AMBIENT, | |
288 | TOR_DIFFUSE, | |
289 | TOR_SPECULAR, | |
290 | TOR_EMISSION | |
291 | end TypeOfReflection; | |
292 | ---Purpose: Nature of the reflection of a material. | |
293 | ---Category: Enumerations | |
294 | ||
295 | enumeration TypeOfStructure is TOS_WIREFRAME, | |
296 | TOS_SHADING, | |
297 | TOS_COMPUTED, | |
298 | TOS_ALL | |
299 | end TypeOfStructure; | |
300 | ---Purpose: Structural attribute indicating if it can be displayed | |
301 | -- in wireframe, shadow mode, or both. | |
302 | ---Category: Enumerations | |
303 | ||
304 | enumeration TextPath is TP_UP, | |
305 | TP_DOWN, | |
306 | TP_LEFT, | |
307 | TP_RIGHT | |
308 | end TextPath; | |
309 | ---Purpose: Direction in which text is displayed. | |
310 | ---Category: Enumerations | |
311 | ||
312 | enumeration HorizontalTextAlignment is HTA_LEFT, | |
313 | HTA_CENTER, | |
314 | HTA_RIGHT | |
315 | end HorizontalTextAlignment; | |
316 | ---Purpose: Defines the horizontal position of the text | |
317 | -- relative to its anchor. | |
318 | ---Category: Enumerations | |
319 | ||
320 | enumeration VerticalTextAlignment is VTA_BOTTOM, | |
321 | VTA_CENTER, | |
322 | VTA_TOP | |
323 | end VerticalTextAlignment; | |
324 | ---Purpose: Defines the vertical position of the text | |
325 | -- relative to its anchor. | |
326 | ---Category: Enumerations | |
327 | ||
328 | enumeration GroupAspect is ASPECT_LINE, | |
329 | ASPECT_TEXT, | |
330 | ASPECT_MARKER, | |
331 | ASPECT_FILL_AREA | |
332 | end GroupAspect; | |
333 | ---Purpose: Identifies primitives aspects defined per group. | |
334 | -- - ASPECT_LINE: aspect for line primitives; | |
335 | -- - ASPECT_TEXT: aspect for text primitives; | |
336 | -- - ASPECT_MARKER: aspect for marker primitives; | |
337 | -- - ASPECT_FILL_AREA: aspect for face primitives. | |
338 | ||
bc8c79bb | 339 | enumeration RenderingMode is |
340 | RM_RASTERIZATION, RM_RAYTRACING | |
341 | end RenderingMode; | |
342 | ---Purpose: Describes rendering modes. | |
343 | -- - RM_RASTERIZATION: enables OpenGL rasterization mode; | |
344 | -- - RM_RAYTRACING: enables GPU ray-tracing mode. | |
345 | ||
0b0320e7 | 346 | enumeration TypeOfBackground is |
347 | TOB_NONE, TOB_GRADIENT, TOB_TEXTURE | |
348 | end TypeOfBackground; | |
349 | ---Purpose: Describes type of view background. | |
350 | ||
7fd59977 | 351 | --------------------------- |
352 | -- Category: Imported types | |
353 | --------------------------- | |
354 | ||
b7cd4ba7 | 355 | imported BndBox4f; |
356 | ---Purpose: Redefines BVH_Box<Standard_ShortReal, 4> for AABB representation | |
357 | ---Category: Imported types | |
494782f6 | 358 | imported transient class Buffer; |
359 | imported transient class BoundBuffer; | |
360 | imported transient class IndexBuffer; | |
871fa103 | 361 | |
b7cd4ba7 | 362 | imported BndBox4d; |
692613e5 | 363 | imported BufferType; |
7fd59977 | 364 | |
189f85a3 | 365 | imported BSDF; |
366 | ||
7fd59977 | 367 | imported CBitFields20; |
7fd59977 | 368 | ---Category: Imported types |
369 | ||
370 | imported CBitFields16; | |
7fd59977 | 371 | ---Category: Imported types |
372 | ||
373 | imported CBitFields8; | |
7fd59977 | 374 | ---Category: Imported types |
375 | ||
376 | imported CBitFields4; | |
7fd59977 | 377 | ---Category: Imported types |
378 | ||
b64d84be | 379 | imported CAspectFillArea; |
380 | imported CAspectMarker; | |
381 | imported CAspectLine; | |
382 | imported CAspectText; | |
7fd59977 | 383 | |
494782f6 | 384 | imported transient class CStructure; |
7fd59977 | 385 | ---Category: Imported types |
386 | ||
b64d84be | 387 | pointer CStructurePtr to CStructure from Graphic3d; |
388 | ||
7fd59977 | 389 | imported CLight; |
7fd59977 | 390 | ---Category: Imported types |
391 | ||
7fd59977 | 392 | imported CPlane; |
7fd59977 | 393 | ---Category: Imported types |
394 | ||
7fd59977 | 395 | imported CUserDraw; |
7fd59977 | 396 | ---Category: Imported types |
397 | ||
398 | imported CView; | |
7fd59977 | 399 | ---Category: Imported types |
bc8c79bb | 400 | |
401 | imported RenderingParams; | |
402 | ---Purpose: Describes rendering parameters and effects. | |
403 | ---Category: Imported types | |
7fd59977 | 404 | |
a79f67f8 | 405 | imported GraduatedTrihedron; |
7fd59977 | 406 | ---Category: Imported types |
407 | ||
494782f6 | 408 | imported transient class ClipPlane; |
4269bd1b | 409 | ---Category: Imported types |
410 | ||
4269bd1b | 411 | |
7fd59977 | 412 | imported CTexture; |
413 | ||
bf75be98 | 414 | imported CTransPersStruct; |
415 | imported TransModeFlags; | |
a577aaab | 416 | |
494782f6 | 417 | imported transient class MarkerImage; |
418 | imported transient class Camera; | |
7fd59977 | 419 | |
420 | primitive PtrFrameBuffer; | |
bf75be98 | 421 | primitive Vec2; |
422 | primitive Vec3; | |
423 | primitive Vec4; | |
197ac94e | 424 | imported Mat4; |
425 | imported Mat4d; | |
7fd59977 | 426 | |
a1954302 | 427 | imported ZLayerSettings; |
428 | primitive ZLayerId; | |
c5751993 | 429 | |
7fd59977 | 430 | -------------------- |
431 | -- Category: Classes | |
432 | -------------------- | |
433 | ||
7fd59977 | 434 | deferred class ArrayOfPrimitives; |
7fd59977 | 435 | |
436 | class ArrayOfPoints; | |
7fd59977 | 437 | |
438 | class ArrayOfPolylines; | |
7fd59977 | 439 | |
440 | class ArrayOfSegments; | |
7fd59977 | 441 | |
442 | class ArrayOfPolygons; | |
7fd59977 | 443 | |
444 | class ArrayOfTriangles; | |
7fd59977 | 445 | |
446 | class ArrayOfTriangleStrips; | |
7fd59977 | 447 | |
448 | class ArrayOfTriangleFans; | |
7fd59977 | 449 | |
450 | class ArrayOfQuadrangles; | |
7fd59977 | 451 | |
452 | class ArrayOfQuadrangleStrips; | |
7fd59977 | 453 | |
454 | class AspectLine3d; | |
7fd59977 | 455 | ---Category: Classes |
456 | ||
457 | class AspectFillArea3d; | |
7fd59977 | 458 | ---Category: Classes |
459 | ||
460 | class AspectMarker3d; | |
7fd59977 | 461 | ---Category: Classes |
462 | ||
463 | class AspectText3d; | |
7fd59977 | 464 | ---Category: Classes |
465 | ||
b64d84be | 466 | deferred class Group; |
7fd59977 | 467 | ---Category: Classes |
468 | ||
7fd59977 | 469 | class MaterialAspect; |
7fd59977 | 470 | ---Category: Classes |
471 | ||
472 | class Structure; | |
7fd59977 | 473 | ---Category: Classes |
474 | ||
b64d84be | 475 | pointer StructurePtr to Structure from Graphic3d; |
476 | ||
7fd59977 | 477 | deferred class GraphicDriver; |
7fd59977 | 478 | |
479 | deferred class StructureManager; | |
7fd59977 | 480 | ---Category: Classes |
481 | ||
63bcc448 | 482 | pointer StructureManagerPtr to StructureManager from Graphic3d; |
483 | ||
7fd59977 | 484 | deferred class DataStructureManager; |
7fd59977 | 485 | ---Category: Classes |
486 | ||
7fd59977 | 487 | class Vector; |
7fd59977 | 488 | ---Category: Classes |
489 | ||
b8ddfc2f | 490 | imported Vertex; |
7fd59977 | 491 | ---Category: Classes |
492 | ||
a272ed94 | 493 | imported transient class ViewAffinity; |
494 | imported MapOfObject; | |
495 | imported transient class NMapOfTransient; | |
496 | ||
a1954302 | 497 | imported MapOfStructure; |
d4aaad5b | 498 | imported IndexedMapOfAddress; |
a1954302 | 499 | imported SequenceOfDisplayedStructures; |
500 | ||
7fd59977 | 501 | --------------------------------- |
502 | -- Category: Instantiated classes | |
503 | --------------------------------- | |
504 | ||
b64d84be | 505 | imported SequenceOfGroup; |
7fd59977 | 506 | |
7fd59977 | 507 | class SequenceOfStructure instantiates |
508 | Sequence from TCollection | |
509 | (Structure from Graphic3d); | |
510 | ---Category: Instantiated classes | |
511 | ||
512 | class HSequenceOfStructure instantiates | |
513 | HSequence from TCollection | |
514 | (Structure from Graphic3d, SequenceOfStructure from Graphic3d); | |
515 | ---Category: Instantiated classes | |
516 | ||
517 | class Array1OfVector instantiates | |
518 | Array1 from TCollection (Vector from Graphic3d); | |
519 | ---Category: Instantiated classes | |
520 | ||
521 | class Array1OfVertex instantiates | |
522 | Array1 from TCollection (Vertex from Graphic3d); | |
523 | ---Category: Instantiated classes | |
524 | ||
525 | class Array2OfVertex instantiates | |
526 | Array2 from TCollection (Vertex from Graphic3d); | |
527 | ---Category: Instantiated classes | |
528 | ||
7fd59977 | 529 | class ListOfShortReal instantiates |
530 | List from TCollection (ShortReal from Standard); | |
531 | ---Category: Instantiated classes | |
532 | ||
533 | --ABD Integration support of system fonts (using FTGL and FreeType) | |
534 | imported NListOfHAsciiString; | |
535 | ---Category: Instantiated classes | |
536 | ||
494782f6 | 537 | imported transient class ShaderProgram; |
30f0ad28 | 538 | ---Category: Instantiated classes |
539 | ||
51b10cd4 | 540 | imported SequenceOfHClipPlane; |
4269bd1b | 541 | ---Category: Instantiated classes |
51b10cd4 | 542 | -- Sequence of handles on clip planes |
4269bd1b | 543 | |
bf75be98 | 544 | deferred class TextureRoot from Graphic3d; |
7fd59977 | 545 | deferred class TextureMap from Graphic3d; |
546 | deferred class Texture1D from Graphic3d; | |
547 | deferred class Texture2D from Graphic3d; | |
548 | ||
bf75be98 | 549 | class TextureParams from Graphic3d; |
7fd59977 | 550 | class TextureEnv from Graphic3d; |
551 | class Texture1Dmanual from Graphic3d; | |
552 | class Texture1Dsegment from Graphic3d; | |
553 | class Texture2Dmanual from Graphic3d; | |
554 | class Texture2Dplane from Graphic3d; | |
555 | ||
556 | ||
557 | enumeration ExportFormat is | |
558 | ||
559 | EF_PostScript, | |
560 | EF_EnhPostScript, | |
561 | EF_TEX, | |
562 | EF_PDF, | |
563 | EF_SVG, | |
5cedc27f K |
564 | EF_PGF, |
565 | EF_EMF | |
7fd59977 | 566 | |
567 | end ExportFormat; | |
568 | ||
569 | ||
570 | enumeration SortType is | |
571 | ||
572 | ST_Simple, -- sorting by depth of center point of primitive(fast) | |
573 | ST_BSP_Tree -- sorting by BSPTree (slow, but fine result ) | |
574 | ||
575 | end SortType; | |
576 | ||
577 | end Graphic3d; |