1 -- Created on: 1997-02-12
2 -- Created by: Alexander BRIVIN
3 -- Copyright (c) 1997-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
8 -- This library is free software; you can redistribute it and / or modify it
9 -- under the terms of the GNU Lesser General Public version 2.1 as published
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.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 class WWWInline from Vrml
19 ---Purpose: defines a WWWInline node of VRML specifying group properties.
20 -- The WWWInline group node reads its children from anywhere in the
22 -- Exactly when its children are read is not defined;
23 -- reading the children may be delayed until the WWWInline is actually
25 -- WWWInline with an empty ("") name does nothing.
26 -- WWWInline behaves like a Separator, pushing the traversal state
27 -- before traversing its children and popping it afterwards.
31 -- myBboxCenter (0,0,0)
35 AsciiString from TCollection,
40 Create returns WWWInline from Vrml;
42 Create ( aName : AsciiString from TCollection;
43 aBboxSize : Vec from gp;
44 aBboxCenter : Vec from gp )
45 returns WWWInline from Vrml;
47 SetName ( me : in out; aName : AsciiString from TCollection );
48 Name ( me ) returns AsciiString from TCollection;
50 SetBboxSize ( me : in out; aBboxSize : Vec from gp);
51 BboxSize ( me ) returns Vec from gp;
53 SetBboxCenter ( me : in out; aBboxCenter : Vec from gp);
54 BboxCenter ( me ) returns Vec from gp;
56 Print ( me; anOStream: in out OStream from Standard) returns OStream from Standard;
61 myName : AsciiString from TCollection; -- URL name
62 myBboxSize : Vec from gp; -- Size of 3D bounding box
63 myBboxCenter : Vec from gp; -- Center of 3D bounding box