mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-18 17:06:14 +08:00
License statement text corrected; compiler warnings caused by Bison 2.41 disabled for MSVC; a few other compiler warnings on 54-bit Windows eliminated by appropriate type cast Wrong license statements corrected in several files. Copyright and license statements added in XSD and GLSL files. Copyright year updated in some files. Obsolete documentation files removed from DrawResources.
166 lines
5.9 KiB
Plaintext
166 lines
5.9 KiB
Plaintext
-- Created on: 1993-01-11
|
|
-- Created by: CKY / Contract Toubro-Larsen (TCD)
|
|
-- Copyright (c) 1993-1999 Matra Datavision
|
|
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
|
--
|
|
-- This file is part of Open CASCADE Technology software library.
|
|
--
|
|
-- This library is free software; you can redistribute it and/or modify it under
|
|
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
|
-- by the Free Software Foundation, with special exception defined in the file
|
|
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
|
-- distribution for complete text of the license and disclaimer of any warranty.
|
|
--
|
|
-- Alternatively, this file may be used under the terms of Open CASCADE
|
|
-- commercial license or contractual agreement.
|
|
|
|
package IGESGraph
|
|
|
|
---Purpose : This package contains the group of classes necessary
|
|
-- to define Graphic data among Structure Entities.
|
|
-- (e.g., Fonts, Colors, Screen management ...)
|
|
|
|
uses
|
|
|
|
Standard,
|
|
TCollection,
|
|
gp,
|
|
TColgp,
|
|
TColStd,
|
|
Message,
|
|
Interface,
|
|
IGESData,
|
|
IGESBasic
|
|
|
|
is
|
|
|
|
class LineFontDefTemplate;
|
|
-- type <304> form <1>
|
|
---Purpose : Line Font Def can be defined as a repetition of Template
|
|
-- figure that is displayed at regularly spaced locations
|
|
-- along a planar anchoring curve. The anchoring curve
|
|
-- itself has no visual purpose.
|
|
|
|
class LineFontDefPattern;
|
|
-- type <304> form <2>
|
|
---Purpose : Line Font Def may be defined by repetition of a basic
|
|
-- pattern of visible-blank(or, on-off) segments
|
|
-- superimposed on a line or a curve. The line or curve
|
|
-- is then displayed according to the basic pattern.
|
|
|
|
class TextFontDef;
|
|
-- type <310>
|
|
---Purpose : Used to define the appearance of characters in a text
|
|
-- font. It may be used to describe a complete font or a
|
|
-- modification to a subset of characters in another font.
|
|
|
|
class TextDisplayTemplate;
|
|
-- type <312> form <0, 1>
|
|
---Purpose : Used to set parameters for display of information
|
|
-- which has been logically included in another entity
|
|
-- as a parameter value.
|
|
|
|
class Color;
|
|
-- type <314>
|
|
---Purpose : The Color Definition Entity is used to communicate the
|
|
-- relationship of primary colors to the intensity level of
|
|
-- the respective graphics devices as a percent of full
|
|
-- intensity range.
|
|
|
|
class DefinitionLevel;
|
|
-- type <406> form <1>
|
|
---Purpose : Indicates the no. of levels on which an entity is
|
|
-- defined.
|
|
|
|
class NominalSize;
|
|
-- type <406> form <13>
|
|
---Purpose : Specifies a value, a name, and optionally a
|
|
-- reference to an engineering standard.
|
|
|
|
class DrawingSize;
|
|
-- type <406> form <16>
|
|
---Purpose : Specifies the drawing size in drawing units. The
|
|
-- origin of the drawing is defined to be (0,0) in
|
|
-- drawing space.
|
|
|
|
class DrawingUnits;
|
|
-- type <406> form <17>
|
|
---Purpose : Specifies the drawing space units as outlined
|
|
-- in the Drawing entity.
|
|
|
|
class IntercharacterSpacing;
|
|
-- type <406> form <18>
|
|
---Purpose : Specifies the gap between letters when fixed-pitch
|
|
-- spacing is used.
|
|
|
|
class LineFontPredefined;
|
|
-- type <406> form <19>
|
|
---Purpose : Provides the ability to specify a line font pattern
|
|
-- from a predefined list rather than from
|
|
-- Directory Entry Field 4.
|
|
|
|
class HighLight;
|
|
-- type <406> form <20>
|
|
---Purpose : Attaches information that an entity is to be
|
|
-- displayed in some system dependent manner.
|
|
|
|
class Pick;
|
|
-- type <406> form <21>
|
|
---Purpose : Attaches information that an entity may be picked
|
|
-- by whatever pick device is used in the receiving
|
|
-- system.
|
|
|
|
class UniformRectGrid;
|
|
-- type <406> form <22>
|
|
---Purpose : Stores sufficient information for the creation of
|
|
-- a uniform rectangular grid within a drawing.
|
|
|
|
-- Tools for Entities --
|
|
|
|
class ToolLineFontDefTemplate;
|
|
class ToolLineFontDefPattern;
|
|
class ToolTextFontDef;
|
|
class ToolTextDisplayTemplate;
|
|
class ToolColor;
|
|
class ToolDefinitionLevel;
|
|
class ToolNominalSize;
|
|
class ToolDrawingSize;
|
|
class ToolDrawingUnits;
|
|
class ToolIntercharacterSpacing;
|
|
class ToolLineFontPredefined;
|
|
class ToolHighLight;
|
|
class ToolPick;
|
|
class ToolUniformRectGrid;
|
|
|
|
-- Definition and Exploitation of Entities defined in this Package
|
|
|
|
class Protocol;
|
|
class ReadWriteModule;
|
|
class GeneralModule;
|
|
class SpecificModule;
|
|
|
|
-- The class instantiations :
|
|
|
|
class Array1OfColor instantiates Array1 from TCollection (Color);
|
|
class Array1OfTextDisplayTemplate instantiates
|
|
Array1 from TCollection (TextDisplayTemplate);
|
|
class Array1OfTextFontDef instantiates
|
|
Array1 from TCollection (TextFontDef);
|
|
|
|
class HArray1OfColor instantiates HArray1 from TCollection
|
|
(Color,Array1OfColor);
|
|
class HArray1OfTextDisplayTemplate instantiates HArray1 from TCollection
|
|
(TextDisplayTemplate,Array1OfTextDisplayTemplate);
|
|
class HArray1OfTextFontDef instantiates HArray1 from TCollection
|
|
(TextFontDef,Array1OfTextFontDef);
|
|
|
|
-- Package Methods
|
|
|
|
Init;
|
|
---Purpose : Prepares dynamic data (Protocol, Modules) for this package
|
|
|
|
Protocol returns Protocol from IGESGraph;
|
|
---Purpose : Returns the Protocol for this Package
|
|
|
|
end IGESGraph;
|