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

Integration of OCCT 6.5.0 from SVN

This commit is contained in:
bugmaster
2011-03-16 07:30:28 +00:00
committed by bugmaster
parent 4903637061
commit 7fd59977df
16375 changed files with 3882564 additions and 0 deletions

41
src/PXCAFDoc/PXCAFDoc.cdl Executable file
View File

@@ -0,0 +1,41 @@
-- File: PXCAFDoc.cdl
-- Created: Tue Aug 15 12:06:55 2000
-- Author: data exchange team
-- <det@strelox.nnov.matra-dtv.fr>
---Copyright: Matra Datavision 2000
package PXCAFDoc
---Purpose: This pakage is the persistent equivalent of
-- XCAFDoc
uses
Quantity,
TopLoc,
PTopLoc,
PDF,
PDataStd,
gp,
PCollection,
PColStd
is
class Location;
class Color;
class Volume;
class Area;
class Centroid;
class ColorTool;
class ShapeTool;
class DocumentTool;
class LayerTool;
class GraphNode;
class GraphNodeSequence instantiates HSequence from PCollection
(GraphNode from PXCAFDoc);
class Datum;
class DimTol;
class DimTolTool;
class Material;
class MaterialTool;
end PXCAFDoc;

28
src/PXCAFDoc/PXCAFDoc_Area.cdl Executable file
View File

@@ -0,0 +1,28 @@
-- File: PXCAFDoc_Area.cdl
-- Created: Fri Sep 8 17:56:32 2000
-- Author: data exchange team
-- <det@nordox.nnov.matra-dtv.fr>
---Copyright: Matra Datavision 2000
class Area from PXCAFDoc inherits Attribute from PDF
---Purpose:
uses
Real from Standard
is
Create returns mutable Area from PXCAFDoc;
Create (Value : Real from Standard)
returns mutable Area from PXCAFDoc;
Get (me) returns Real from Standard;
Set (me : mutable; V : Real from Standard);
fields
myValue : Real from Standard;
end Area from PXCAFDoc;

41
src/PXCAFDoc/PXCAFDoc_Area.cxx Executable file
View File

@@ -0,0 +1,41 @@
// File: PXCAFDoc_Area.cxx
// Created: Fri Sep 8 18:01:19 2000
// Author: data exchange team
// <det@nordox.nnov.matra-dtv.fr>
#include <PXCAFDoc_Area.ixx>
//=======================================================================
//function : PXCAFDoc_Area
//purpose :
//=======================================================================
PXCAFDoc_Area::PXCAFDoc_Area () { }
//=======================================================================
//function : PXCAFDoc_Area
//purpose :
//=======================================================================
PXCAFDoc_Area::PXCAFDoc_Area (const Standard_Real V) : myValue (V) {}
//=======================================================================
//function : Set
//purpose :
//=======================================================================
void PXCAFDoc_Area::Set (const Standard_Real V)
{
myValue = V;
}
//=======================================================================
//function : Get
//purpose :
//=======================================================================
Standard_Real PXCAFDoc_Area::Get () const
{
return myValue;
}

View File

@@ -0,0 +1,26 @@
-- File: PXCAFDoc_Centroid.cdl
-- Created: Fri Sep 8 18:03:46 2000
-- Author: data exchange team
-- <det@nordox.nnov.matra-dtv.fr>
---Copyright: Matra Datavision 2000
class Centroid from PXCAFDoc inherits Attribute from PDF
---Purpose:
uses
Pnt from gp
is
Create returns mutable Centroid from PXCAFDoc;
Create (pnt: Pnt from gp) returns mutable Centroid from PXCAFDoc;
Set (me: mutable; pnt: Pnt from gp);
Get (me) returns Pnt from gp;
fields
myPCentroid : Pnt from gp;
end Centroid from PXCAFDoc;

View File

@@ -0,0 +1,46 @@
// File: PXCAFDoc_Centroid.cxx
// Created: Fri Sep 8 18:08:26 2000
// Author: data exchange team
// <det@nordox.nnov.matra-dtv.fr>
#include <PXCAFDoc_Centroid.ixx>
//=======================================================================
//function : Constructor
//purpose :
//=======================================================================
PXCAFDoc_Centroid::PXCAFDoc_Centroid()
{
}
//=======================================================================
//function : Constructor
//purpose :
//=======================================================================
PXCAFDoc_Centroid::PXCAFDoc_Centroid(const gp_Pnt& pnt):
myPCentroid(pnt)
{
}
//=======================================================================
//function : Set
//purpose :
//=======================================================================
void PXCAFDoc_Centroid::Set(const gp_Pnt& pnt)
{
myPCentroid = pnt;
}
//=======================================================================
//function : Get
//purpose :
//=======================================================================
gp_Pnt PXCAFDoc_Centroid::Get() const
{
return myPCentroid;
}

27
src/PXCAFDoc/PXCAFDoc_Color.cdl Executable file
View File

@@ -0,0 +1,27 @@
-- File: PXCAFDoc_Color.cdl
-- Created: Wed Aug 16 12:08:45 2000
-- Author: data exchange team
-- <det@strelox.nnov.matra-dtv.fr>
---Copyright: Matra Datavision 2000
class Color from PXCAFDoc inherits Attribute from PDF
---Purpose:
uses
Color from Quantity
is
Create returns mutable Color from PXCAFDoc;
Create (Loc: Color from Quantity) returns mutable Color from PXCAFDoc;
Set (me: mutable; Loc: Color from Quantity);
Get (me) returns Color from Quantity;
fields
myColor : Color from Quantity;
end Color;

47
src/PXCAFDoc/PXCAFDoc_Color.cxx Executable file
View File

@@ -0,0 +1,47 @@
// File: PXCAFDoc_Color.cxx
// Created: Wed Aug 16 12:12:01 2000
// Author: data exchange team
// <det@strelox.nnov.matra-dtv.fr>
#include <PXCAFDoc_Color.ixx>
//=======================================================================
//function : Constructor
//purpose :
//=======================================================================
PXCAFDoc_Color::PXCAFDoc_Color()
{
}
//=======================================================================
//function : Constructor
//purpose :
//=======================================================================
PXCAFDoc_Color::PXCAFDoc_Color(const Quantity_Color& C)
{
myColor = C;
}
//=======================================================================
//function : Set
//purpose :
//=======================================================================
void PXCAFDoc_Color::Set(const Quantity_Color& C)
{
myColor = C;
}
//=======================================================================
//function : Get
//purpose :
//=======================================================================
Quantity_Color PXCAFDoc_Color::Get() const
{
return myColor;
}

View File

@@ -0,0 +1,13 @@
-- File: PXCAFDoc_ColorTool.cdl
-- Created: Thu Aug 31 14:50:46 2000
-- Author: data exchange team
-- <det@strelox.nnov.matra-dtv.fr>
---Copyright: Matra Datavision 2000
class ColorTool from PXCAFDoc inherits Attribute from PDF
is
Create returns ColorTool from PXCAFDoc;
end ColorTool;

View File

@@ -0,0 +1,9 @@
// File: PXCAFDoc_ColorTool.cxx
// Created: Thu Aug 31 14:52:43 2000
// Author: data exchange team
// <det@strelox.nnov.matra-dtv.fr>
#include <PXCAFDoc_ColorTool.ixx>
PXCAFDoc_ColorTool::PXCAFDoc_ColorTool() {}

36
src/PXCAFDoc/PXCAFDoc_Datum.cdl Executable file
View File

@@ -0,0 +1,36 @@
-- File: PXCAFDoc_Datum.cdl
-- Created: Wed Dec 10 09:50:52 2008
-- Author: Pavel TELKOV
-- <ptv@valenox>
---Copyright: Open CASCADE 2008
class Datum from PXCAFDoc inherits Attribute from PDF
---Purpose:
uses
HAsciiString from PCollection
is
Create returns mutable Datum from PXCAFDoc;
Create (theName : HAsciiString from PCollection;
theDescr: HAsciiString from PCollection;
theId : HAsciiString from PCollection)
returns mutable Datum from PXCAFDoc;
GetName (me) returns HAsciiString from PCollection;
GetDescription (me) returns HAsciiString from PCollection;
GetIdentification (me) returns HAsciiString from PCollection;
Set (me : mutable; theName : HAsciiString from PCollection;
theDescr: HAsciiString from PCollection;
theId : HAsciiString from PCollection);
fields
myName : HAsciiString from PCollection;
myDescr: HAsciiString from PCollection;
myId : HAsciiString from PCollection;
end Datum from PXCAFDoc;

72
src/PXCAFDoc/PXCAFDoc_Datum.cxx Executable file
View File

@@ -0,0 +1,72 @@
// File: PXCAFDoc_Datum.cxx
// Created: 10.12.08 11:46:02
// Author: Pavel TELKOV
// Copyright: Open CASCADE 2008
#include <PXCAFDoc_Datum.ixx>
//=======================================================================
//function : PXCAFDoc_Datum
//purpose :
//=======================================================================
PXCAFDoc_Datum::PXCAFDoc_Datum ()
{}
//=======================================================================
//function : PXCAFDoc_Datum
//purpose :
//=======================================================================
PXCAFDoc_Datum::PXCAFDoc_Datum
(const Handle(PCollection_HAsciiString)& theName,
const Handle(PCollection_HAsciiString)& theDescr,
const Handle(PCollection_HAsciiString)& theId)
: myName(theName),
myDescr(theDescr),
myId(theId)
{}
//=======================================================================
//function : Set
//purpose :
//=======================================================================
void PXCAFDoc_Datum::Set (const Handle(PCollection_HAsciiString)& theName,
const Handle(PCollection_HAsciiString)& theDescr,
const Handle(PCollection_HAsciiString)& theId)
{
myName = theName;
myDescr = theDescr;
myId = theId;
}
//=======================================================================
//function : GetName
//purpose :
//=======================================================================
Handle(PCollection_HAsciiString) PXCAFDoc_Datum::GetName () const
{
return myName;
}
//=======================================================================
//function : GetDescription
//purpose :
//=======================================================================
Handle(PCollection_HAsciiString) PXCAFDoc_Datum::GetDescription () const
{
return myDescr;
}
//=======================================================================
//function : GetIdentification
//purpose :
//=======================================================================
Handle(PCollection_HAsciiString) PXCAFDoc_Datum::GetIdentification () const
{
return myId;
}

View File

@@ -0,0 +1,43 @@
-- File: PXCAFDoc_DimTol.cdl
-- Created: Wed Dec 10 09:50:52 2008
-- Author: Pavel TELKOV
-- <ptv@valenox>
---Copyright: Open CASCADE 2008
class DimTol from PXCAFDoc inherits Attribute from PDF
---Purpose:
uses
Integer from Standard,
HAsciiString from PCollection,
HArray1OfReal from PColStd
is
Create returns mutable DimTol from PXCAFDoc;
Create (theKind : Integer from Standard;
theVal : HArray1OfReal from PColStd;
theName : HAsciiString from PCollection;
theDescr: HAsciiString from PCollection)
returns mutable DimTol from PXCAFDoc;
GetKind (me) returns Integer from Standard;
GetVal (me) returns HArray1OfReal from PColStd;
GetName (me) returns HAsciiString from PCollection;
GetDescription (me) returns HAsciiString from PCollection;
Set (me : mutable; theKind : Integer from Standard;
theVal : HArray1OfReal from PColStd;
theName : HAsciiString from PCollection;
theDescr: HAsciiString from PCollection);
fields
myKind : Integer from Standard;
myVal : HArray1OfReal from PColStd;
myName : HAsciiString from PCollection;
myDescr: HAsciiString from PCollection;
end DimTol from PXCAFDoc;

View File

@@ -0,0 +1,86 @@
// File: PXCAFDoc_DimTol.cxx
// Created: 10.12.08 11:46:02
// Author: Pavel TELKOV
// Copyright: Open CASCADE 2008
#include <PXCAFDoc_DimTol.ixx>
//=======================================================================
//function : PXCAFDoc_DimTol
//purpose :
//=======================================================================
PXCAFDoc_DimTol::PXCAFDoc_DimTol ()
{}
//=======================================================================
//function : PXCAFDoc_DimTol
//purpose :
//=======================================================================
PXCAFDoc_DimTol::PXCAFDoc_DimTol
(const Standard_Integer theKind,
const Handle(PColStd_HArray1OfReal)& theVal,
const Handle(PCollection_HAsciiString)& theName,
const Handle(PCollection_HAsciiString)& theDescr)
: myKind(theKind),
myVal(theVal),
myName(theName),
myDescr(theDescr)
{}
//=======================================================================
//function : Set
//purpose :
//=======================================================================
void PXCAFDoc_DimTol::Set (const Standard_Integer theKind,
const Handle(PColStd_HArray1OfReal)& theVal,
const Handle(PCollection_HAsciiString)& theName,
const Handle(PCollection_HAsciiString)& theDescr)
{
myKind = theKind;
myVal = theVal;
myName = theName;
myDescr = theDescr;
}
//=======================================================================
//function : GetKind
//purpose :
//=======================================================================
Standard_Integer PXCAFDoc_DimTol::GetKind () const
{
return myKind;
}
//=======================================================================
//function : GetVal
//purpose :
//=======================================================================
Handle(PColStd_HArray1OfReal) PXCAFDoc_DimTol::GetVal () const
{
return myVal;
}
//=======================================================================
//function : GetName
//purpose :
//=======================================================================
Handle(PCollection_HAsciiString) PXCAFDoc_DimTol::GetName () const
{
return myName;
}
//=======================================================================
//function : GetDescription
//purpose :
//=======================================================================
Handle(PCollection_HAsciiString) PXCAFDoc_DimTol::GetDescription () const
{
return myDescr;
}

View File

@@ -0,0 +1,12 @@
-- File: PXCAFDoc_DimTolTool.cdl
-- Created: Wed Dec 10 12:24:08 2008
-- Author: Pavel TELKOV
-- <ptv@valenox>
---Copyright: Open CASCADE 2008
class DimTolTool from PXCAFDoc inherits Attribute from PDF
is
Create returns DimTolTool from PXCAFDoc;
end DimTolTool;

View File

@@ -0,0 +1,15 @@
// File: PXCAFDoc_DimTolTool.cxx
// Created: 10.12.08 12:24:42
// Author: Pavel TELKOV
// Copyright: Open CASCADE 2008
#include <PXCAFDoc_DimTolTool.ixx>
//=======================================================================
//function : PXCAFDoc_DimTolTool
//purpose : Constructor
//=======================================================================
PXCAFDoc_DimTolTool::PXCAFDoc_DimTolTool ()
{
}

View File

@@ -0,0 +1,15 @@
-- File: PXCAFDoc_DocumentTool.cdl
-- Created: Thu Aug 31 14:49:46 2000
-- Author: data exchange team
-- <det@strelox.nnov.matra-dtv.fr>
---Copyright: Matra Datavision 2000
class DocumentTool from PXCAFDoc inherits Attribute from PDF
---Purpose:
is
Create returns DocumentTool from PXCAFDoc;
end DocumentTool;

View File

@@ -0,0 +1,9 @@
// File: PXCAFDoc_DocumentTool.cxx
// Created: Thu Aug 31 14:53:11 2000
// Author: data exchange team
// <det@strelox.nnov.matra-dtv.fr>
#include <PXCAFDoc_DocumentTool.ixx>
PXCAFDoc_DocumentTool::PXCAFDoc_DocumentTool() {}

View File

@@ -0,0 +1,52 @@
-- File: PXCAFDoc_GraphNode.cdl
-- Created: Fri Sep 29 09:13:30 2000
-- Author: Pavel TELKOV
-- <ptv@nordox.nnov.matra-dtv.fr>
---Copyright: Matra Datavision 2000
class GraphNode from PXCAFDoc inherits Attribute from PDF
---Purpose:
uses
Attribute from PDF,
GUID from Standard,
GraphNodeSequence from PXCAFDoc
is
Create returns mutable GraphNode from PXCAFDoc;
SetFather (me : mutable;F : GraphNode from PXCAFDoc)
returns Integer from Standard;
SetChild (me : mutable;Ch : GraphNode from PXCAFDoc)
returns Integer from Standard;
GetFather (me ; Findex : Integer from Standard)
returns GraphNode from PXCAFDoc;
GetChild (me ; Chindex : Integer from Standard)
returns GraphNode from PXCAFDoc;
FatherIndex (me ; F : GraphNode from PXCAFDoc)
returns Integer from Standard;
ChildIndex (me ; Ch : GraphNode from PXCAFDoc)
returns Integer from Standard;
NbFathers (me) returns Integer from Standard;
NbChildren (me) returns Integer from Standard;
SetGraphID(me : mutable; GUID : GUID from Standard);
GetGraphID(me) returns GUID from Standard;
fields
myFathers : GraphNodeSequence from PXCAFDoc;
myChildren : GraphNodeSequence from PXCAFDoc;
myGraphID : GUID from Standard;
end GraphNode;

View File

@@ -0,0 +1,133 @@
// File: PXCAFDoc_GraphNode.cxx
// Created: Fri Sep 29 09:43:11 2000
// Author: data exchange team
// <det@nordox.nnov.matra-dtv.fr>
#include <PXCAFDoc_GraphNode.ixx>
#include <Standard_GUID.hxx>
//=======================================================================
//function : Constructor
//purpose :
//=======================================================================
PXCAFDoc_GraphNode::PXCAFDoc_GraphNode()
{
myFathers = new PXCAFDoc_GraphNodeSequence;
myChildren = new PXCAFDoc_GraphNodeSequence;
}
//=======================================================================
//function : SetGraphID
//purpose :
//=======================================================================
void PXCAFDoc_GraphNode::SetGraphID (const Standard_GUID& explicitID)
{
myGraphID = explicitID;
}
//=======================================================================
//function : GetGraphID
//purpose :
//=======================================================================
Standard_GUID PXCAFDoc_GraphNode::GetGraphID() const
{
return myGraphID;
}
//=======================================================================
//function : SetFather
//purpose :
//=======================================================================
Standard_Integer PXCAFDoc_GraphNode::SetFather(const Handle(PXCAFDoc_GraphNode)& F)
{
Standard_Integer Findex = myFathers->Length();
myFathers->Append(F);
return ++Findex;
}
//=======================================================================
//function : SetChild
//purpose :
//=======================================================================
Standard_Integer PXCAFDoc_GraphNode::SetChild(const Handle(PXCAFDoc_GraphNode)& Ch)
{
Standard_Integer Chindex = myChildren->Length();
myChildren->Append(Ch);
return ++Chindex;
}
//=======================================================================
//function : GetFather
//purpose :
//=======================================================================
Handle(PXCAFDoc_GraphNode) PXCAFDoc_GraphNode::GetFather(const Standard_Integer Findex) const
{
Handle(PXCAFDoc_GraphNode) F = myFathers->Value(Findex);
return F;
}
//=======================================================================
//function : GetChild
//purpose :
//=======================================================================
Handle(PXCAFDoc_GraphNode) PXCAFDoc_GraphNode::GetChild(const Standard_Integer Chindex) const
{
Handle(PXCAFDoc_GraphNode) Ch = myChildren->Value(Chindex);
return Ch;
}
//=======================================================================
//function : FatherIndex
//purpose :
//=======================================================================
Standard_Integer PXCAFDoc_GraphNode::FatherIndex(const Handle(PXCAFDoc_GraphNode)& F) const
{
Standard_Integer Findex = 0;
for ( ; Findex <= NbFathers(); Findex++) {
if ( F == myFathers->Value(Findex)) return Findex;
}
return 0;
}
//=======================================================================
//function : ChildIndex
//purpose :
//=======================================================================
Standard_Integer PXCAFDoc_GraphNode::ChildIndex(const Handle(PXCAFDoc_GraphNode)& Ch) const
{
Standard_Integer Chindex = 0;
for ( ; Chindex <= NbChildren(); Chindex++) {
if ( Ch == myChildren->Value(Chindex)) return Chindex;
}
return 0;
}
//=======================================================================
//function : NbFathers
//purpose :
//=======================================================================
Standard_Integer PXCAFDoc_GraphNode::NbFathers() const
{
return myFathers->Length();
}
//=======================================================================
//function : NbChildren
//purpose :
//=======================================================================
Standard_Integer PXCAFDoc_GraphNode::NbChildren() const
{
return myChildren->Length();
}

View File

@@ -0,0 +1,12 @@
-- File: PXCAFDoc_LayerTool.cdl
-- Created: Tue Oct 3 14:56:50 2000
-- Author: data exchange team
-- <det@nordox.nnov.matra-dtv.fr>
---Copyright: Matra Datavision 2000
class LayerTool from PXCAFDoc inherits Attribute from PDF
is
Create returns LayerTool from PXCAFDoc;
end LayerTool;

View File

@@ -0,0 +1,10 @@
// File: PXCAFDoc_LayerTool.cxx
// Created: Tue Oct 3 14:58:22 2000
// Author: data exchange team
// <det@nordox.nnov.matra-dtv.fr>
#include <PXCAFDoc_LayerTool.ixx>
PXCAFDoc_LayerTool::PXCAFDoc_LayerTool() {}

View File

@@ -0,0 +1,27 @@
-- File: PXCAFDoc_Location.cdl
-- Created: Tue Aug 15 12:12:40 2000
-- Author: data exchange team
-- <det@strelox.nnov.matra-dtv.fr>
---Copyright: Matra Datavision 2000
class Location from PXCAFDoc inherits Attribute from PDF
---Purpose:
uses
-- Location from TopLoc,
Location from PTopLoc
is
Create returns mutable Location from PXCAFDoc;
Create (Loc: Location from PTopLoc) returns mutable Location from PXCAFDoc;
Set (me: mutable; Loc: Location from PTopLoc);
Get (me) returns Location from PTopLoc;
fields
myPLocation : Location from PTopLoc;
end Location;

View File

@@ -0,0 +1,47 @@
// File: PXCAFDoc_Location.cxx
// Created: Tue Aug 15 14:45:19 2000
// Author: data exchange team
// <det@strelox.nnov.matra-dtv.fr>
#include <PXCAFDoc_Location.ixx>
//=======================================================================
//function : Constructor
//purpose :
//=======================================================================
PXCAFDoc_Location::PXCAFDoc_Location()
{
}
//=======================================================================
//function : Constructor
//purpose :
//=======================================================================
PXCAFDoc_Location::PXCAFDoc_Location(const PTopLoc_Location& Loc):
myPLocation(Loc)
{
}
//=======================================================================
//function : Set
//purpose :
//=======================================================================
void PXCAFDoc_Location::Set(const PTopLoc_Location& Loc)
{
myPLocation = Loc;
}
//=======================================================================
//function : Get
//purpose :
//=======================================================================
PTopLoc_Location PXCAFDoc_Location::Get() const
{
return myPLocation;
}

View File

@@ -0,0 +1,47 @@
-- File: PXCAFDoc_Material.cdl
-- Created: Wed Dec 10 09:50:52 2008
-- Author: Pavel TELKOV
-- <ptv@valenox>
---Copyright: Open CASCADE 2008
class Material from PXCAFDoc inherits Attribute from PDF
---Purpose:
uses
Real from Standard,
HAsciiString from PCollection
is
Create returns mutable Material from PXCAFDoc;
Create (theName : HAsciiString from PCollection;
theDescr : HAsciiString from PCollection;
theDensity : Real from Standard;
theDensName : HAsciiString from PCollection;
theDensValType: HAsciiString from PCollection)
returns mutable Material from PXCAFDoc;
GetName (me) returns HAsciiString from PCollection;
GetDescription (me) returns HAsciiString from PCollection;
GetDensity (me) returns Real from Standard;
GetDensName (me) returns HAsciiString from PCollection;
GetDensValType (me) returns HAsciiString from PCollection;
Set (me : mutable; theName : HAsciiString from PCollection;
theDescr : HAsciiString from PCollection;
theDensity : Real from Standard;
theDensName : HAsciiString from PCollection;
theDensValType: HAsciiString from PCollection);
fields
myName : HAsciiString from PCollection;
myDescr : HAsciiString from PCollection;
myDensity : Real from Standard;
myDensName : HAsciiString from PCollection;
myDensValType : HAsciiString from PCollection;
end Material from PXCAFDoc;

View File

@@ -0,0 +1,101 @@
// File: PXCAFDoc_Material.cxx
// Created: 10.12.08 11:46:02
// Author: Pavel TELKOV
// Copyright: Open CASCADE 2008
#include <PXCAFDoc_Material.ixx>
//=======================================================================
//function : PXCAFDoc_Material
//purpose :
//=======================================================================
PXCAFDoc_Material::PXCAFDoc_Material ()
{}
//=======================================================================
//function : PXCAFDoc_Material
//purpose :
//=======================================================================
PXCAFDoc_Material::PXCAFDoc_Material
(const Handle(PCollection_HAsciiString)& theName,
const Handle(PCollection_HAsciiString)& theDescr,
const Standard_Real theDensity,
const Handle(PCollection_HAsciiString)& theDensName,
const Handle(PCollection_HAsciiString)& theDensValType)
: myName(theName),
myDescr(theDescr),
myDensity(theDensity),
myDensName(theDensName),
myDensValType(theDensValType)
{}
//=======================================================================
//function : Set
//purpose :
//=======================================================================
void PXCAFDoc_Material::Set
(const Handle(PCollection_HAsciiString)& theName,
const Handle(PCollection_HAsciiString)& theDescr,
const Standard_Real theDensity,
const Handle(PCollection_HAsciiString)& theDensName,
const Handle(PCollection_HAsciiString)& theDensValType)
{
myName = theName;
myDescr = theDescr;
myDensity = theDensity;
myDensName = theDensName;
myDensValType = theDensValType;
}
//=======================================================================
//function : GetDensity
//purpose :
//=======================================================================
Standard_Real PXCAFDoc_Material::GetDensity () const
{
return myDensity;
}
//=======================================================================
//function : GetName
//purpose :
//=======================================================================
Handle(PCollection_HAsciiString) PXCAFDoc_Material::GetName () const
{
return myName;
}
//=======================================================================
//function : GetDescription
//purpose :
//=======================================================================
Handle(PCollection_HAsciiString) PXCAFDoc_Material::GetDescription () const
{
return myDescr;
}
//=======================================================================
//function : GetDensName
//purpose :
//=======================================================================
Handle(PCollection_HAsciiString) PXCAFDoc_Material::GetDensName () const
{
return myDensName;
}
//=======================================================================
//function : GetDensValType
//purpose :
//=======================================================================
Handle(PCollection_HAsciiString) PXCAFDoc_Material::GetDensValType () const
{
return myDensValType;
}

View File

@@ -0,0 +1,12 @@
-- File: PXCAFDoc_MaterialTool.cdl
-- Created: Wed Dec 10 12:24:08 2008
-- Author: Pavel TELKOV
-- <ptv@valenox>
---Copyright: Open CASCADE 2008
class MaterialTool from PXCAFDoc inherits Attribute from PDF
is
Create returns MaterialTool from PXCAFDoc;
end MaterialTool;

View File

@@ -0,0 +1,15 @@
// File: PXCAFDoc_MaterialTool.cxx
// Created: 10.12.08 12:24:42
// Author: Pavel TELKOV
// Copyright: Open CASCADE 2008
#include <PXCAFDoc_MaterialTool.ixx>
//=======================================================================
//function : PXCAFDoc_MaterialTool
//purpose : Constructor
//=======================================================================
PXCAFDoc_MaterialTool::PXCAFDoc_MaterialTool ()
{
}

View File

@@ -0,0 +1,16 @@
-- File: PXCAFDoc_ShapeTool.cdl
-- Created: Thu Aug 31 14:47:38 2000
-- Author: data exchange team
-- <det@strelox.nnov.matra-dtv.fr>
---Copyright: Matra Datavision 2000
class ShapeTool from PXCAFDoc inherits Attribute from PDF
---Purpose:
is
Create returns ShapeTool from PXCAFDoc;
end ShapeTool;

View File

@@ -0,0 +1,10 @@
// File: PXCAFDoc_ShapeTool.cxx
// Created: Thu Aug 31 14:53:43 2000
// Author: data exchange team
// <det@strelox.nnov.matra-dtv.fr>
#include <PXCAFDoc_ShapeTool.ixx>
PXCAFDoc_ShapeTool::PXCAFDoc_ShapeTool() {}

View File

@@ -0,0 +1,27 @@
-- File: PXCAFDoc_Volume.cdl
-- Created: Fri Sep 8 17:56:32 2000
-- Author: data exchange team
-- <det@nordox.nnov.matra-dtv.fr>
---Copyright: Matra Datavision 2000
class Volume from PXCAFDoc inherits Attribute from PDF
---Purpose:
uses
Real from Standard
is
Create returns mutable Volume from PXCAFDoc;
Create (Value : Real from Standard)
returns mutable Volume from PXCAFDoc;
Get (me) returns Real from Standard;
Set (me : mutable; V : Real from Standard);
fields
myValue : Real from Standard;
end Volume from PXCAFDoc;

View File

@@ -0,0 +1,41 @@
// File: PXCAFDoc_Volume.cxx
// Created: Fri Sep 8 18:01:19 2000
// Author: data exchange team
// <det@nordox.nnov.matra-dtv.fr>
#include <PXCAFDoc_Volume.ixx>
//=======================================================================
//function : PXCAFDoc_Volume
//purpose :
//=======================================================================
PXCAFDoc_Volume::PXCAFDoc_Volume () { }
//=======================================================================
//function : PXCAFDoc_Volume
//purpose :
//=======================================================================
PXCAFDoc_Volume::PXCAFDoc_Volume (const Standard_Real V) : myValue (V) {}
//=======================================================================
//function : Set
//purpose :
//=======================================================================
void PXCAFDoc_Volume::Set (const Standard_Real V)
{
myValue = V;
}
//=======================================================================
//function : Get
//purpose :
//=======================================================================
Standard_Real PXCAFDoc_Volume::Get () const
{
return myValue;
}