mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-11 10:10:56 +08:00
171 lines
6.2 KiB
Plaintext
Executable File
171 lines
6.2 KiB
Plaintext
Executable File
-- Created on: 1993-01-11
|
|
-- Created by: CKY / Contract Toubro-Larsen (TCD)
|
|
-- Copyright (c) 1993-1999 Matra Datavision
|
|
-- Copyright (c) 1999-2012 OPEN CASCADE SAS
|
|
--
|
|
-- The content of this file is subject to the Open CASCADE Technology Public
|
|
-- License Version 6.5 (the "License"). You may not use the content of this file
|
|
-- except in compliance with the License. Please obtain a copy of the License
|
|
-- at http://www.opencascade.org and read it completely before using this file.
|
|
--
|
|
-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
|
|
-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
|
|
--
|
|
-- The Original Code and all software distributed under the License is
|
|
-- distributed on an "AS IS" basis, without warranty of any kind, and the
|
|
-- Initial Developer hereby disclaims all such warranties, including without
|
|
-- limitation, any warranties of merchantability, fitness for a particular
|
|
-- purpose or non-infringement. Please see the License for the specific terms
|
|
-- and conditions governing the rights and limitations under the License.
|
|
|
|
|
|
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;
|