1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00
Files
occt/src/Prs3d/Prs3d_PointAspect.cdl

95 lines
3.1 KiB
Plaintext

-- Created on: 1993-04-26
-- Created by: Jean-Louis Frenkel
-- 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.
class PointAspect from Prs3d inherits BasicAspect from Prs3d
---Purpose: This class defines attributes for the points
-- The points are drawn using markers, whose size does not depend on
-- the zoom value of the views.
uses
AspectMarker3d from Graphic3d,
NameOfColor from Quantity,
Color from Quantity,
TypeOfMarker from Aspect,
HArray1OfByte from TColStd,
MarkerImage from Graphic3d
is
Create ( aType: TypeOfMarker from Aspect;
aColor: Color from Quantity;
aScale: Real from Standard)
returns PointAspect from Prs3d;
Create ( aType: TypeOfMarker from Aspect;
aColor: NameOfColor from Quantity;
aScale: Real from Standard)
returns PointAspect from Prs3d;
Create ( AColor : Color from Quantity;
AWidth : Integer from Standard;
AHeight : Integer from Standard;
ATexture : HArray1OfByte from TColStd)
returns PointAspect from Prs3d;
---Purpose: defines only the urer defined marker point.
Create( theAspect : AspectMarker3d from Graphic3d )
returns PointAspect from Prs3d;
SetColor (me: mutable; aColor: Color from Quantity) is static;
SetColor (me: mutable; aColor: NameOfColor from Quantity)
---Purpose: defines the color to be used when drawing a point.
-- Default value: Quantity_NOC_YELLOW
is static;
SetTypeOfMarker (me: mutable; aType: TypeOfMarker from Aspect)
---Purpose: defines the type of representation to be used when drawing a point.
-- Default value: Aspect_TOM_PLUS
is static;
SetScale (me: mutable; aScale: Real from Standard)
---Purpose: defines the size of the marker used when drawing a point.
-- Default value: 1.
is static;
Aspect(me) returns AspectMarker3d from Graphic3d
is static;
SetAspect( me: mutable; theAspect: AspectMarker3d from Graphic3d );
GetTextureSize (me:mutable; AWidth : out Integer from Standard;
AHeight : out Integer from Standard);
---Level: Public
---Purpose: Returns marker's texture size.
GetTexture (me:mutable)
returns MarkerImage from Graphic3d;
---Level: Public
---Purpose: Returns marker's texture.
---C++: return const &
fields
myAspect: AspectMarker3d from Graphic3d;
end PointAspect from Prs3d;