1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +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

24
src/PPrsStd/PPrsStd.cdl Executable file
View File

@@ -0,0 +1,24 @@
-- File: PPrsStd.cdl
-- Created: Tue Aug 26 16:29:44 1997
-- Author: SMO
-- <SMO@hankox.paris1.matra-dtv.fr>
---Copyright: Matra Datavision 1997
package PPrsStd
uses
Standard,
Quantity,
PDF,
PCollection,
gp
is
class AISPresentation;
class AISPresentation_1;
--class Position; now it is in PDataStd
end PPrsStd;

View File

@@ -0,0 +1,46 @@
-- File: PPrsStd_AISPresentation.cdl
-- Created: Thu Jul 8 16:36:22 1999
-- Author: Sergey RUIN
-- <s-ruin@nnov.matra-dtv.fr>
---Copyright: Matra Datavision 1999
class AISPresentation from PPrsStd
inherits Attribute from PDF
---Purpose:
uses HExtendedString from PCollection
is
Create returns mutable AISPresentation from PPrsStd;
IsDisplayed(me) returns Boolean from Standard;
SetDisplayed(me : mutable; B : Boolean from Standard);
SetDriverGUID(me: mutable; guid: HExtendedString from PCollection );
GetDriverGUID(me) returns HExtendedString from PCollection;
Color(me) returns Integer from Standard;
SetColor(me : mutable; C : Integer from Standard);
Transparency(me) returns Real from Standard;
SetTransparency(me : mutable; T : Real from Standard);
Material(me) returns Integer from Standard;
SetMaterial(me : mutable; M : Integer from Standard);
Width(me) returns Real from Standard;
SetWidth(me : mutable; W : Real from Standard);
fields
myIsDisplayed : Boolean from Standard;
myDriverGUID : HExtendedString from PCollection;
myTransparency : Real from Standard;
myColor : Integer from Standard;
myMaterial : Integer from Standard;
myWidth : Real from Standard;
end AISPresentation;

View File

@@ -0,0 +1,128 @@
// File: PPrsStd_AISPresentation.cxx
// Created: Thu Jul 8 16:40:40 1999
// Author: srn
#include <PPrsStd_AISPresentation.ixx>
//=======================================================================
//function : PPrsStd_AISPresentation
//purpose :
//=======================================================================
PPrsStd_AISPresentation::PPrsStd_AISPresentation()
{}
//=======================================================================
//function : SetDisplayed
//purpose :
//=======================================================================
void PPrsStd_AISPresentation::SetDisplayed (const Standard_Boolean B)
{
myIsDisplayed = B ;
}
//=======================================================================
//function : IsDisplayed
//purpose :
//=======================================================================
Standard_Boolean PPrsStd_AISPresentation::IsDisplayed() const
{
return myIsDisplayed;
}
//=======================================================================
//function : SetDriverGUID
//purpose :
//=======================================================================
void PPrsStd_AISPresentation::SetDriverGUID( const Handle(PCollection_HExtendedString)& guid)
{
myDriverGUID = guid;
}
//=======================================================================
//function : GetDriverGUID
//purpose :
//=======================================================================
Handle(PCollection_HExtendedString) PPrsStd_AISPresentation::GetDriverGUID( void ) const
{
return myDriverGUID;
}
//=======================================================================
//function : Color
//purpose :
//=======================================================================
Standard_Integer PPrsStd_AISPresentation::Color() const
{
return myColor;
}
//=======================================================================
//function : SetColor
//purpose :
//=======================================================================
void PPrsStd_AISPresentation::SetColor(const Standard_Integer C)
{
myColor = C;
}
//=======================================================================
//function : Transparency
//purpose :
//=======================================================================
Standard_Real PPrsStd_AISPresentation::Transparency() const
{
return myTransparency;
}
//=======================================================================
//function : SetTransparency
//purpose :
//=======================================================================
void PPrsStd_AISPresentation::SetTransparency(const Standard_Real T)
{
myTransparency = T;
}
//=======================================================================
//function : Material
//purpose :
//=======================================================================
Standard_Integer PPrsStd_AISPresentation::Material() const
{
return myMaterial;
}
//=======================================================================
//function : SetMaterial
//purpose :
//=======================================================================
void PPrsStd_AISPresentation::SetMaterial(const Standard_Integer M)
{
myMaterial = M;
}
//=======================================================================
//function : Width
//purpose :
//=======================================================================
Standard_Real PPrsStd_AISPresentation::Width() const
{
return myWidth;
}
//=======================================================================
//function : SetWidth
//purpose :
//=======================================================================
void PPrsStd_AISPresentation::SetWidth(const Standard_Real W)
{
myWidth = W;
}

View File

@@ -0,0 +1,67 @@
-- File: PPrsStd_AISPresentation.cdl
-- Created: Thu Jul 8 16:36:22 1999
-- Author: Sergey RUIN
-- <s-ruin@nnov.matra-dtv.fr>
---Copyright: Matra Datavision 1999
-- Lastly modified by :
-- +---------------------------------------------------------------------------+
-- ! ivan ! sauvegarde du mode ! $Date: 2002-05-27 18:10:25 $! %V%-%L%!
-- +---------------------------------------------------------------------------+
class AISPresentation_1 from PPrsStd
inherits Attribute from PDF
---Purpose:
uses HExtendedString from PCollection
is
Create returns mutable AISPresentation_1 from PPrsStd;
IsDisplayed(me) returns Boolean from Standard;
SetDisplayed(me : mutable; B : Boolean from Standard);
SetDriverGUID(me: mutable; guid: HExtendedString from PCollection );
GetDriverGUID(me) returns HExtendedString from PCollection;
Color(me) returns Integer from Standard;
SetColor(me : mutable; C : Integer from Standard);
Transparency(me) returns Real from Standard;
SetTransparency(me : mutable; T : Real from Standard);
Material(me) returns Integer from Standard;
SetMaterial(me : mutable; M : Integer from Standard);
Width(me) returns Real from Standard;
SetWidth(me : mutable; W : Real from Standard);
Mode(me) returns Integer from Standard;
SetMode(me : mutable; M : Integer from Standard);
fields
myIsDisplayed : Boolean from Standard;
myDriverGUID : HExtendedString from PCollection;
myTransparency : Real from Standard;
myColor : Integer from Standard;
myMaterial : Integer from Standard;
myWidth : Real from Standard;
myMode : Integer from Standard;
end AISPresentation_1;
-- @@SDM: begin
-- File history synopsis (creation,modification,correction)
-- +---------------------------------------------------------------------------+
-- ! Developer ! Comments ! Date ! Version !
-- +-----------!-----------------------------------------!----------!----------+
-- ! fontaine ! Creation ! $Date: 2002-05-27 18:10:25 $! %V%-%L%!
-- ! ivan ! sauvegarde du mode ! $Date: 2002-05-27 18:10:25 $! %V%-%L%!
-- +---------------------------------------------------------------------------+
-- @@SDM: end

View File

@@ -0,0 +1,174 @@
// File: PPrsStd_AISPresentation.cxx
// Created: Thu Jul 8 16:40:40 1999
// Author: srn
// Lastly modified by :
// +---------------------------------------------------------------------------+
// ! ivan ! sauvegarde du mode ! $Date: 2002-05-27 18:10:24 $! %V%-%L%!
// +---------------------------------------------------------------------------+
#include <PPrsStd_AISPresentation_1.ixx>
//=======================================================================
//function : PPrsStd_AISPresentation
//purpose :
//=======================================================================
PPrsStd_AISPresentation_1::PPrsStd_AISPresentation_1()
{
myMode=0;
}
//=======================================================================
//function : SetDisplayed
//purpose :
//=======================================================================
void PPrsStd_AISPresentation_1::SetDisplayed (const Standard_Boolean B)
{
myIsDisplayed = B ;
}
//=======================================================================
//function : IsDisplayed
//purpose :
//=======================================================================
Standard_Boolean PPrsStd_AISPresentation_1::IsDisplayed() const
{
return myIsDisplayed;
}
//=======================================================================
//function : SetDriverGUID
//purpose :
//=======================================================================
void PPrsStd_AISPresentation_1::SetDriverGUID( const Handle(PCollection_HExtendedString)& guid)
{
myDriverGUID = guid;
}
//=======================================================================
//function : GetDriverGUID
//purpose :
//=======================================================================
Handle(PCollection_HExtendedString) PPrsStd_AISPresentation_1::GetDriverGUID( void ) const
{
return myDriverGUID;
}
//=======================================================================
//function : Color
//purpose :
//=======================================================================
Standard_Integer PPrsStd_AISPresentation_1::Color() const
{
return myColor;
}
//=======================================================================
//function : SetColor
//purpose :
//=======================================================================
void PPrsStd_AISPresentation_1::SetColor(const Standard_Integer C)
{
myColor = C;
}
//=======================================================================
//function : Transparency
//purpose :
//=======================================================================
Standard_Real PPrsStd_AISPresentation_1::Transparency() const
{
return myTransparency;
}
//=======================================================================
//function : SetTransparency
//purpose :
//=======================================================================
void PPrsStd_AISPresentation_1::SetTransparency(const Standard_Real T)
{
myTransparency = T;
}
//=======================================================================
//function : Material
//purpose :
//=======================================================================
Standard_Integer PPrsStd_AISPresentation_1::Material() const
{
return myMaterial;
}
//=======================================================================
//function : SetMaterial
//purpose :
//=======================================================================
void PPrsStd_AISPresentation_1::SetMaterial(const Standard_Integer M)
{
myMaterial = M;
}
//=======================================================================
//function : Width
//purpose :
//=======================================================================
Standard_Real PPrsStd_AISPresentation_1::Width() const
{
return myWidth;
}
//=======================================================================
//function : SetWidth
//purpose :
//=======================================================================
void PPrsStd_AISPresentation_1::SetWidth(const Standard_Real W)
{
myWidth = W;
}
//=======================================================================
//function : Mode
//purpose :
//=======================================================================
Standard_Integer PPrsStd_AISPresentation_1::Mode() const
{
return myMode;
}
//=======================================================================
//function : SetMode
//purpose :
//=======================================================================
void PPrsStd_AISPresentation_1::SetMode(const Standard_Integer M)
{
myMode = M;
}
// @@SDM: begin
// File history synopsis (creation,modification,correction)
// +---------------------------------------------------------------------------+
// ! Developer ! Comments ! Date ! Version !
// +-----------!-----------------------------------------!----------!----------+
// ! fontaine ! Creation ! $Date: 2002-05-27 18:10:24 $! %V%-%L%!
// ! ivan ! sauvegarde du mode ! $Date: 2002-05-27 18:10:24 $! %V%-%L%!
// +---------------------------------------------------------------------------+
// @@SDM: end