n ExprIntrp
n FSD
n GeomAbs
-n MMgt
n Message
n OSD
n PLib
#include <gp_Pnt2d.hxx>
#include <gp_Vec2d.hxx>
#include <HLRAlgo_Projector.hxx>
-#include <MMgt_TShared.hxx>
#include <OSD_Environment.hxx>
#include <Precision.hxx>
#include <Prs3d_Drawer.hxx>
#include <Prs3d_LineAspect.hxx>
#include <Prs3d_PlaneAspect.hxx>
#include <Prs3d_Presentation.hxx>
-#include <Quantity_Factor.hxx>
-#include <Quantity_Length.hxx>
-#include <Quantity_PlaneAngle.hxx>
#include <SelectMgr_EntityOwner.hxx>
#include <SelectMgr_Selection.hxx>
#include <SelectMgr_SelectableObject.hxx>
#include <gp_Pnt2d.hxx>
#include <gp_Vec.hxx>
#include <gp_Vec2d.hxx>
-#include <MMgt_TShared.hxx>
#include <OSD_Environment.hxx>
#include <Precision.hxx>
#include <Prs3d_Drawer.hxx>
#include <Prs3d_IsoAspect.hxx>
#include <Prs3d_LineAspect.hxx>
#include <Prs3d_Text.hxx>
-#include <Quantity_Factor.hxx>
-#include <Quantity_Length.hxx>
#include <Quantity_NameOfColor.hxx>
-#include <Quantity_PhysicalQuantity.hxx>
-#include <Quantity_PlaneAngle.hxx>
#include <Quantity_TypeOfColor.hxx>
#include <SelectMgr_EntityOwner.hxx>
#include <SelectMgr_SelectableObject.hxx>
#include <gp_Vec.hxx>
#include <gp_Vec2d.hxx>
#include <Graphic3d_NameOfMaterial.hxx>
-#include <MMgt_TShared.hxx>
#include <OSD_Environment.hxx>
#include <Precision.hxx>
#include <Prs3d_Drawer.hxx>
#include <Prs3d_IsoAspect.hxx>
#include <Prs3d_LineAspect.hxx>
#include <Prs3d_Text.hxx>
-#include <Quantity_Factor.hxx>
-#include <Quantity_Length.hxx>
#include <Quantity_NameOfColor.hxx>
-#include <Quantity_PhysicalQuantity.hxx>
-#include <Quantity_PlaneAngle.hxx>
#include <Quantity_TypeOfColor.hxx>
#include <SelectMgr_EntityOwner.hxx>
#include <SelectMgr_SelectableObject.hxx>
#include <gp_Pnt2d.hxx>
#include <gp_Vec.hxx>
#include <gp_Vec2d.hxx>
-#include <MMgt_TShared.hxx>
#include <OSD_Environment.hxx>
#include <Precision.hxx>
#include <Prs3d_Drawer.hxx>
#include <Prs3d_IsoAspect.hxx>
#include <Prs3d_LineAspect.hxx>
#include <Prs3d_Text.hxx>
-#include <Quantity_Factor.hxx>
-#include <Quantity_Length.hxx>
#include <Quantity_NameOfColor.hxx>
-#include <Quantity_PhysicalQuantity.hxx>
-#include <Quantity_PlaneAngle.hxx>
#include <Quantity_TypeOfColor.hxx>
#include <SelectMgr_EntityOwner.hxx>
#include <SelectMgr_SelectableObject.hxx>
#include <gp_Pnt2d.hxx>
#include <gp_Vec.hxx>
#include <gp_Vec2d.hxx>
-#include <MMgt_TShared.hxx>
#include <OSD_Environment.hxx>
#include <Precision.hxx>
#include <Prs3d_Drawer.hxx>
#include <Prs3d_IsoAspect.hxx>
#include <Prs3d_LineAspect.hxx>
#include <Prs3d_Text.hxx>
-#include <Quantity_Factor.hxx>
-#include <Quantity_Length.hxx>
#include <Quantity_NameOfColor.hxx>
-#include <Quantity_PhysicalQuantity.hxx>
-#include <Quantity_PlaneAngle.hxx>
#include <Quantity_TypeOfColor.hxx>
#include <SelectMgr_EntityOwner.hxx>
#include <SelectMgr_SelectableObject.hxx>
Standard_EXPORT void SetTransformPersistence (const Handle(AIS_InteractiveObject)& theObject,
const Handle(Graphic3d_TransformPers)& theTrsfPers);
- Standard_DEPRECATED("This method is deprecated - SetTransformPersistence() taking Graphic3d_TransformPers should be called instead")
- void SetTransformPersistence (const Handle(AIS_InteractiveObject)& theObj,
- const Graphic3d_TransModeFlags& theFlag,
- const gp_Pnt& thePoint = gp_Pnt (0.0, 0.0, 0.0))
- {
- SetTransformPersistence (theObj, Graphic3d_TransformPers::FromDeprecatedParams (theFlag, thePoint));
- }
-
public: //! @name mouse picking logic (detection and dynamic highlighting of entities under cursor)
//! Setup pixel tolerance for MoveTo() operation.
return connect (theAnotherObj, new TopLoc_Datum3D (theLocation), theTrsfPers);
}
- Standard_DEPRECATED("This method is deprecated - Connect() taking Graphic3d_TransformPers should be called instead")
- Handle(AIS_InteractiveObject) Connect (const Handle(AIS_InteractiveObject)& theInteractive,
- const gp_Trsf& theLocation,
- const Graphic3d_TransModeFlags& theTrsfPersFlag,
- const gp_Pnt& theTrsfPersPoint)
- {
- return connect (theInteractive, new TopLoc_Datum3D (theLocation), Graphic3d_TransformPers::FromDeprecatedParams (theTrsfPersFlag, theTrsfPersPoint));
- }
-
protected:
//! this method is redefined virtual;
{
}
-//=======================================================================
-//function : BRepOffsetAPI_MakeOffsetShape
-//purpose :
-//=======================================================================
-BRepOffsetAPI_MakeOffsetShape::BRepOffsetAPI_MakeOffsetShape(const TopoDS_Shape& S,
- const Standard_Real Offset,
- const Standard_Real Tol,
- const BRepOffset_Mode Mode,
- const Standard_Boolean Intersection,
- const Standard_Boolean SelfInter,
- const GeomAbs_JoinType Join,
- const Standard_Boolean RemoveIntEdges)
-: myLastUsedAlgo(OffsetAlgo_NONE)
-{
- PerformByJoin(S, Offset, Tol, Mode, Intersection, SelfInter, Join, RemoveIntEdges);
-}
-
//=======================================================================
//function : PerformByJoin
//purpose :
//! Constructor does nothing.
Standard_EXPORT BRepOffsetAPI_MakeOffsetShape();
- //! Deprecated constructor. Please avoid usage of this constructor.
- Standard_DEPRECATED("Deprecated constructor. Please use constructor without parameters and one of perform methods.")
- Standard_EXPORT BRepOffsetAPI_MakeOffsetShape(const TopoDS_Shape& S,
- const Standard_Real Offset,
- const Standard_Real Tol,
- const BRepOffset_Mode Mode = BRepOffset_Skin,
- const Standard_Boolean Intersection = Standard_False,
- const Standard_Boolean SelfInter = Standard_False,
- const GeomAbs_JoinType Join = GeomAbs_Arc,
- const Standard_Boolean RemoveIntEdges = Standard_False);
-
//! Constructs offset shape for the given one using simple algorithm without intersections computation.
Standard_EXPORT void PerformBySimple(const TopoDS_Shape& theS,
const Standard_Real theOffsetValue);
mySimpleOffsetShape.SetBuildSolidFlag(Standard_True);
}
-//=======================================================================
-//function : BRepOffsetAPI_MakeThickSolid
-//purpose :
-//=======================================================================
-BRepOffsetAPI_MakeThickSolid::BRepOffsetAPI_MakeThickSolid(const TopoDS_Shape& S,
- const TopTools_ListOfShape& ClosingFaces,
- const Standard_Real Offset,
- const Standard_Real Tol,
- const BRepOffset_Mode Mode,
- const Standard_Boolean Intersection,
- const Standard_Boolean SelfInter,
- const GeomAbs_JoinType Join,
- const Standard_Boolean RemoveIntEdges)
-{
- // Build only solids.
- mySimpleOffsetShape.SetBuildSolidFlag(Standard_True);
-
- MakeThickSolidByJoin(S, ClosingFaces, Offset, Tol,
- Mode, Intersection, SelfInter, Join, RemoveIntEdges);
-}
-
//=======================================================================
//function : MakeThickSolidByJoin
//purpose :
//! Constructor does nothing.
Standard_EXPORT BRepOffsetAPI_MakeThickSolid();
- //! Deprecated constructor. Please avoid usage of this constructor.
- Standard_DEPRECATED("Deprecated constructor. Please use constructor without parameters and one of make methods.")
- Standard_EXPORT BRepOffsetAPI_MakeThickSolid(const TopoDS_Shape& S,
- const TopTools_ListOfShape& ClosingFaces,
- const Standard_Real Offset,
- const Standard_Real Tol,
- const BRepOffset_Mode Mode = BRepOffset_Skin,
- const Standard_Boolean Intersection = Standard_False,
- const Standard_Boolean SelfInter = Standard_False,
- const GeomAbs_JoinType Join = GeomAbs_Arc,
- const Standard_Boolean RemoveIntEdges = Standard_False);
-
//! Constructs solid using simple algorithm.
//! According to its nature it is not possible to set list of the closing faces.
//! This algorithm does not support faces removing. It is caused by fact that
//! Modifies the current local transformation
Standard_EXPORT void SetTransformation (const Handle(TopLoc_Datum3D)& theTrsf);
- Standard_DEPRECATED("This method is deprecated - SetTransformation() should be called instead")
- void Transform (const Handle(TopLoc_Datum3D)& theTrsf) { SetTransformation (theTrsf); }
-
//! Modifies the current transform persistence (pan, zoom or rotate)
Standard_EXPORT void SetTransformPersistence (const Handle(Graphic3d_TransformPers)& theTrsfPers);
IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_TransformPers, Standard_Transient)
-// =======================================================================
-// function : FromDeprecatedParams
-// purpose :
-// =======================================================================
-Handle(Graphic3d_TransformPers) Graphic3d_TransformPers::FromDeprecatedParams (Graphic3d_TransModeFlags theFlag,
- const gp_Pnt& thePoint)
-{
- Handle(Graphic3d_TransformPers) aTrsfPers;
- if (Graphic3d_TransformPers::IsZoomOrRotate (theFlag))
- {
- aTrsfPers = new Graphic3d_TransformPers (theFlag, thePoint);
- }
- else if (Graphic3d_TransformPers::IsTrihedronOr2d (theFlag))
- {
- Standard_Integer aCorner = Aspect_TOTP_CENTER;
- const Graphic3d_Vec2i anOffset (Standard_Integer(thePoint.Z()), Standard_Integer(thePoint.Z()));
- if (thePoint.X() > 0.0)
- {
- aCorner |= Aspect_TOTP_RIGHT;
- }
- else if (thePoint.X() < 0.0)
- {
- aCorner |= Aspect_TOTP_LEFT;
- }
- if (thePoint.Y() > 0.0)
- {
- aCorner |= Aspect_TOTP_TOP;
- }
- else if (thePoint.Y() < 0.0)
- {
- aCorner |= Aspect_TOTP_BOTTOM;
- }
- aTrsfPers = new Graphic3d_TransformPers (theFlag, Aspect_TypeOfTriedronPosition(aCorner), anOffset);
- }
- return aTrsfPers;
-}
-
// =======================================================================
// function : DumpJson
// purpose :
return (theMode & (Graphic3d_TMF_TriedronPers | Graphic3d_TMF_2d)) != 0;
}
- //! Create Graphic3d_TransformPers instance from deprecated parameters set
- //! decoding 2D corner + offset parameters from 3D point.
- Standard_EXPORT static Handle(Graphic3d_TransformPers) FromDeprecatedParams (Graphic3d_TransModeFlags theFlag,
- const gp_Pnt& thePoint);
-
public:
//! Set transformation persistence.
#include <Standard_Dump.hxx>
#include <TCollection_AsciiString.hxx>
-enum Graphic3d_ZLayerSetting
-{
- Graphic3d_ZLayerDepthTest = 1,
- Graphic3d_ZLayerDepthWrite = 2,
- Graphic3d_ZLayerDepthClear = 4,
- Graphic3d_ZLayerDepthOffset = 8
-};
-
//! Structure defines list of ZLayer properties.
struct Graphic3d_ZLayerSettings
{
//! Modify glPolygonOffset() arguments.
Graphic3d_PolygonOffset& ChangePolygonOffset() { return myPolygonOffset; }
- //! Returns true if theSetting is enabled.
- Standard_DEPRECATED("Deprecated method IsSettingEnabled() should be replaced by individual property getters")
- Standard_Boolean IsSettingEnabled (const Graphic3d_ZLayerSetting theSetting) const
- {
- switch (theSetting)
- {
- case Graphic3d_ZLayerDepthTest: return myToEnableDepthTest;
- case Graphic3d_ZLayerDepthWrite: return myToEnableDepthWrite;
- case Graphic3d_ZLayerDepthClear: return myToClearDepth;
- case Graphic3d_ZLayerDepthOffset: return myPolygonOffset.Mode != Aspect_POM_Off;
- }
- return Standard_False;
- }
-
- //! Enables theSetting
- Standard_DEPRECATED("Deprecated method EnableSetting() should be replaced by individual property getters")
- void EnableSetting (const Graphic3d_ZLayerSetting theSetting)
- {
- switch (theSetting)
- {
- case Graphic3d_ZLayerDepthTest: myToEnableDepthTest = Standard_True; return;
- case Graphic3d_ZLayerDepthWrite: myToEnableDepthWrite = Standard_True; return;
- case Graphic3d_ZLayerDepthClear: myToClearDepth = Standard_True; return;
- case Graphic3d_ZLayerDepthOffset: myPolygonOffset.Mode = Aspect_POM_Fill; return;
- }
- }
-
- //! Disables theSetting
- Standard_DEPRECATED("Deprecated method DisableSetting() should be replaced by individual property getters")
- void DisableSetting (const Graphic3d_ZLayerSetting theSetting)
- {
- switch (theSetting)
- {
- case Graphic3d_ZLayerDepthTest: myToEnableDepthTest = Standard_False; return;
- case Graphic3d_ZLayerDepthWrite: myToEnableDepthWrite = Standard_False; return;
- case Graphic3d_ZLayerDepthClear: myToClearDepth = Standard_False; return;
- case Graphic3d_ZLayerDepthOffset: myPolygonOffset.Mode = Aspect_POM_Off; return;
- }
- }
-
//! Sets minimal possible positive depth offset.
void SetDepthOffsetPositive()
{
return myData.ChangeValue (theRow, theCol);
}
-public:
-
- Standard_DEPRECATED("This member is deprecated, use Image_Format enumeration instead")
- typedef Image_Format ImgFormat;
- static const Image_Format ImgUNKNOWN = Image_Format_UNKNOWN;
- static const Image_Format ImgGray = Image_Format_Gray;
- static const Image_Format ImgAlpha = Image_Format_Alpha;
- static const Image_Format ImgRGB = Image_Format_RGB;
- static const Image_Format ImgBGR = Image_Format_BGR;
- static const Image_Format ImgRGB32 = Image_Format_RGB32;
- static const Image_Format ImgBGR32 = Image_Format_BGR32;
- static const Image_Format ImgRGBA = Image_Format_RGBA;
- static const Image_Format ImgBGRA = Image_Format_BGRA;
- static const Image_Format ImgGrayF = Image_Format_GrayF;
- static const Image_Format ImgAlphaF = Image_Format_AlphaF;
- static const Image_Format ImgRGBF = Image_Format_RGBF;
- static const Image_Format ImgBGRF = Image_Format_BGRF;
- static const Image_Format ImgRGBAF = Image_Format_RGBAF;
- static const Image_Format ImgBGRAF = Image_Format_BGRAF;
-
protected:
Image_PixMapData myData; //!< data buffer
myFrame->height = aCodecCtx->height;
const Standard_Size aStride = aCodecCtx->width + 16 - (aCodecCtx->width % 16);
- if (!myImgSrcRgba.InitZero (Image_PixMap::ImgRGBA, aCodecCtx->width, aCodecCtx->height, aStride))
+ if (!myImgSrcRgba.InitZero (Image_Format_RGBA, aCodecCtx->width, aCodecCtx->height, aStride))
{
::Message::SendFail (TCollection_AsciiString ("Error: can not allocate RGBA32 picture ")
+ aCodecCtx->width+ "x" + aCodecCtx->height);
+++ /dev/null
-MMgt_TShared.hxx
+++ /dev/null
-// Created on: 1992-10-13
-// Created by: Ramin BARRETO, CLE (1994 Standard Light)
-// Copyright (c) 1992-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.
-
-#ifndef _MMgt_TShared_HeaderFile
-#define _MMgt_TShared_HeaderFile
-
-#include <Standard_Transient.hxx>
-
-Standard_DEPRECATED("Type is deprecated, Standard_Transient should be used instead")
-typedef Standard_Transient MMgt_TShared;
-
-#endif // _MMgt_TShared_HeaderFile
MeshVS_Array1OfSequenceOfInteger.hxx
MeshVS_Buffer.hxx
MeshVS_BuilderPriority.hxx
-MeshVS_ColorHasher.hxx
MeshVS_CommonSensitiveEntity.hxx
MeshVS_CommonSensitiveEntity.cxx
MeshVS_DataMapIteratorOfDataMapOfColorMapOfInteger.hxx
+++ /dev/null
-// Created on: 2003-12-05
-// Created by: Alexander SOLOVYOV
-// Copyright (c) 2003-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.
-
-#ifndef _MeshVS_ColorHasher_HeaderFile
-#define _MeshVS_ColorHasher_HeaderFile
-
-#include <Quantity_ColorHasher.hxx>
-
-Standard_DEPRECATED("This type name is deprecated - Quantity_ColorHasher should be used instead")
-typedef Quantity_ColorHasher MeshVS_ColorHasher;
-
-#endif // _MeshVS_ColorHasher_HeaderFile
#include <Standard_Type.hxx>
-class Message_Alert;
-DEFINE_STANDARD_HANDLE(Message_Alert, MMgt_TShared)
+DEFINE_STANDARD_HANDLE(Message_Alert, Standard_Transient)
//! Base class of the hierarchy of classes describing various situations
//! occurring during execution of some algorithm or procedure.
//! can be merged with another one of the same type. Method SupportsMerge()
//! should return true if merge is supported; method Merge() should do the
//! merge if possible and return true in that case and false otherwise.
-//!
class Message_Alert : public Standard_Transient
{
public:
class Message_Report;
-DEFINE_STANDARD_HANDLE(Message_Report, MMgt_TShared)
+DEFINE_STANDARD_HANDLE(Message_Report, Standard_Transient)
//! Container for alert messages, sorted according to their gravity.
//!
// standard formats
mySupportedFormats->Clear();
- mySupportedFormats->Add (Image_PixMap::ImgGray);
- mySupportedFormats->Add (Image_PixMap::ImgAlpha);
- mySupportedFormats->Add (Image_PixMap::ImgRGB);
- mySupportedFormats->Add (Image_PixMap::ImgRGB32);
- mySupportedFormats->Add (Image_PixMap::ImgRGBA);
+ mySupportedFormats->Add (Image_Format_Gray);
+ mySupportedFormats->Add (Image_Format_Alpha);
+ mySupportedFormats->Add (Image_Format_RGB);
+ mySupportedFormats->Add (Image_Format_RGB32);
+ mySupportedFormats->Add (Image_Format_RGBA);
if (caps->contextMajorVersionUpper != -1)
{
if (extBgra)
{
// no BGR on OpenGL ES - only BGRA as extension
- mySupportedFormats->Add (Image_PixMap::ImgBGR32);
- mySupportedFormats->Add (Image_PixMap::ImgBGRA);
+ mySupportedFormats->Add (Image_Format_BGR32);
+ mySupportedFormats->Add (Image_Format_BGRA);
}
core11fwd = (OpenGl_GlCore11Fwd* )(&(*myFuncs));
if (extBgra)
{
- mySupportedFormats->Add (Image_PixMap::ImgBGR);
- mySupportedFormats->Add (Image_PixMap::ImgBGR32);
- mySupportedFormats->Add (Image_PixMap::ImgBGRA);
+ mySupportedFormats->Add (Image_Format_BGR);
+ mySupportedFormats->Add (Image_Format_BGR32);
+ mySupportedFormats->Add (Image_Format_BGRA);
}
hasDrawBuffers = IsGlGreaterEqual (2, 0) ? OpenGl_FeatureInCore :
const Standard_Real theAngle,
const Standard_Real theLength);
- //! Alias to another method Draw() for backward compatibility.
- Standard_DEPRECATED("Prs3d_Arrow::Draw() taking Graphic3d_Group should be used instead")
- static void Draw (const Handle(Prs3d_Presentation)& thePrs,
- const gp_Pnt& theLocation,
- const gp_Dir& theDirection,
- const Standard_Real theAngle,
- const Standard_Real theLength)
- {
- Draw (thePrs->CurrentGroup(), theLocation, theDirection, theAngle, theLength);
- }
-
};
#endif // _Prs3d_Arrow_HeaderFile
myTextAspects[Prs3d_DatumParts_ZAxis] = new Prs3d_TextAspect();
}
-// =======================================================================
-// function : SetDrawFirstAndSecondAxis
-// purpose :
-// =======================================================================
-void Prs3d_DatumAspect::SetDrawFirstAndSecondAxis (Standard_Boolean theToDraw)
-{
- if (theToDraw)
- {
- myAxes = ((myAxes & Prs3d_DatumAxes_ZAxis) != 0 ? Prs3d_DatumAxes_XYZAxes : Prs3d_DatumAxes_XYAxes);
- }
- else
- {
- myAxes = Prs3d_DatumAxes_ZAxis;
- }
-}
-
-// =======================================================================
-// function : SetDrawThirdAxis
-// purpose :
-// =======================================================================
-void Prs3d_DatumAspect::SetDrawThirdAxis (Standard_Boolean theToDraw)
-{
- if (theToDraw)
- {
- myAxes = ((myAxes & Prs3d_DatumAxes_XYAxes) != 0 ? Prs3d_DatumAxes_XYZAxes : Prs3d_DatumAxes_ZAxis);
- }
- else
- {
- myAxes = Prs3d_DatumAxes_XYAxes;
- }
-}
-
// =======================================================================
// function : DrawDatumPart
// purpose :
Standard_DEPRECATED("This method is deprecated - TextAspect() with axis parameter should be called instead")
const Handle(Prs3d_TextAspect)& TextAspect() const { return myTextAspects[Prs3d_DatumParts_XAxis]; }
- //! Returns the attributes for display of the first axis.
- Standard_DEPRECATED("This method is deprecated - LineAspect() should be called instead")
- const Handle(Prs3d_LineAspect)& FirstAxisAspect() const { return myLineAspects[Prs3d_DatumParts_XAxis]; }
-
- //! Returns the attributes for display of the second axis.
- Standard_DEPRECATED("This method is deprecated - LineAspect() should be called instead")
- const Handle(Prs3d_LineAspect)& SecondAxisAspect() const { return myLineAspects[Prs3d_DatumParts_YAxis]; }
-
- //! Returns the attributes for display of the third axis.
- Standard_DEPRECATED("This method is deprecated - LineAspect() should be called instead")
- const Handle(Prs3d_LineAspect)& ThirdAxisAspect() const { return myLineAspects[Prs3d_DatumParts_ZAxis]; }
-
- //! Sets the DrawFirstAndSecondAxis attributes to active.
- Standard_DEPRECATED("This method is deprecated - SetDrawDatumAxes() should be called instead")
- Standard_EXPORT void SetDrawFirstAndSecondAxis (Standard_Boolean theToDraw);
-
- //! Returns true if the first and second axes can be drawn.
- Standard_DEPRECATED("This method is deprecated - DatumAxes() should be called instead")
- Standard_Boolean DrawFirstAndSecondAxis() const
- {
- return (myAxes & Prs3d_DatumAxes_XAxis) != 0
- && (myAxes & Prs3d_DatumAxes_YAxis) != 0;
- }
-
- //! Sets the DrawThirdAxis attributes to active.
- Standard_DEPRECATED("This method is deprecated - SetDrawDatumAxes() should be called instead")
- Standard_EXPORT void SetDrawThirdAxis (Standard_Boolean theToDraw);
-
- //! Returns true if the third axis can be drawn.
- Standard_DEPRECATED("This method is deprecated - DatumAxes() should be called instead")
- Standard_Boolean DrawThirdAxis() const { return (myAxes & Prs3d_DatumAxes_ZAxis) != 0; }
-
- //! Returns the length of the displayed first axis.
- Standard_DEPRECATED("This method is deprecated - AxisLength() should be called instead")
- Standard_Real FirstAxisLength() const { return myAttributes[Prs3d_DatumAttribute_XAxisLength]; }
-
- //! Returns the length of the displayed second axis.
- Standard_DEPRECATED("This method is deprecated - AxisLength() should be called instead")
- Standard_Real SecondAxisLength() const { return myAttributes[Prs3d_DatumAttribute_YAxisLength]; }
-
- //! Returns the length of the displayed third axis.
- Standard_DEPRECATED("This method is deprecated - AxisLength() should be called instead")
- Standard_Real ThirdAxisLength() const { return myAttributes[Prs3d_DatumAttribute_ZAxisLength]; }
-
protected:
Handle(Prs3d_ShadingAspect) myShadedAspects[Prs3d_DatumParts_NB];
Standard_Boolean myHasOwnDimAngleDisplayUnits;
};
-Standard_DEPRECATED("Class name is deprecated - use Prs3d_Drawer instead")
-typedef Prs3d_Drawer Graphic3d_HighlightStyle;
-
#endif // _Prs3d_Drawer_HeaderFile
const gp_Ax2& theOrientation,
const Standard_Boolean theHasOwnAnchor = Standard_True);
-public:
-
- //! Alias to another method Draw() for backward compatibility.
- Standard_DEPRECATED("Prs3d_Text::Draw() taking Graphic3d_Group should be used instead")
- static void Draw (const Handle(Prs3d_Presentation)& thePrs,
- const Handle(Prs3d_Drawer)& theDrawer,
- const TCollection_ExtendedString& theText,
- const gp_Pnt& theAttachmentPoint)
- {
- Draw (thePrs->CurrentGroup(), theDrawer->TextAspect(), theText, theAttachmentPoint);
- }
-
- //! Alias to another method Draw() for backward compatibility.
- Standard_DEPRECATED("Prs3d_Text::Draw() taking Graphic3d_Group should be used instead")
- static void Draw (const Handle(Prs3d_Presentation)& thePrs,
- const Handle(Prs3d_TextAspect)& theAspect,
- const TCollection_ExtendedString& theText,
- const gp_Ax2& theOrientation,
- const Standard_Boolean theHasOwnAnchor = Standard_True)
- {
- Draw (thePrs->CurrentGroup(), theAspect, theText, theOrientation, theHasOwnAnchor);
- }
-
- //! Alias to another method Draw() for backward compatibility.
- Standard_DEPRECATED("Prs3d_Text::Draw() taking Graphic3d_Group should be used instead")
- static void Draw (const Handle(Prs3d_Presentation)& thePrs,
- const Handle(Prs3d_TextAspect)& theAspect,
- const TCollection_ExtendedString& theText,
- const gp_Pnt& theAttachmentPoint)
- {
- Draw (thePrs->CurrentGroup(), theAspect, theText, theAttachmentPoint);
- }
-
};
#endif // _Prs3d_Text_HeaderFile
}
}
-//=======================================================================
-//function : GetTransformPersistence
-//purpose :
-//=======================================================================
-gp_Pnt PrsMgr_PresentableObject::GetTransformPersistencePoint() const
-{
- if (myTransformPersistence.IsNull())
- {
- return gp_Pnt();
- }
- else if (myTransformPersistence->IsZoomOrRotate())
- {
- return myTransformPersistence->AnchorPoint();
- }
- else if (!myTransformPersistence->IsTrihedronOr2d())
- {
- return gp_Pnt();
- }
-
- Standard_Real anX = 0.0;
- if ((myTransformPersistence->Corner2d() & Aspect_TOTP_RIGHT) != 0)
- {
- anX = 1.0;
- }
- else if ((myTransformPersistence->Corner2d() & Aspect_TOTP_LEFT) != 0)
- {
- anX = -1.0;
- }
-
- Standard_Real anY = 0.0;
- if ((myTransformPersistence->Corner2d() & Aspect_TOTP_TOP) != 0)
- {
- anY = 1.0;
- }
- else if ((myTransformPersistence->Corner2d() & Aspect_TOTP_BOTTOM) != 0)
- {
- anY = -1.0;
- }
-
- return gp_Pnt (anX, anY, myTransformPersistence->Offset2d().x());
-}
-
//=======================================================================
//function : AddChild
//purpose :
Standard_DEPRECATED("This method is deprecated - UpdatePresentations() should be called instead")
Standard_EXPORT void ToBeUpdated (TColStd_ListOfInteger& ListOfMode) const;
- Standard_DEPRECATED("This method is deprecated - overload taking Handle should be used instead")
- void SetClipPlanes (const Graphic3d_SequenceOfHClipPlane& thePlanes)
- {
- Handle(Graphic3d_SequenceOfHClipPlane) aPlanes = new Graphic3d_SequenceOfHClipPlane (thePlanes);
- SetClipPlanes (aPlanes);
- }
-
- //! Sets up Transform Persistence Mode for this object.
- //! This function used to lock in object position, rotation and / or zooming relative to camera position.
- //! Object will be drawn in the origin setted by thePoint parameter (except Graphic3d_TMF_TriedronPers flag
- //! - see description later). theMode should be:
- //! - Graphic3d_TMF_None - no persistence attributes (reset);
- //! - Graphic3d_TMF_ZoomPers - object doesn't resize;
- //! - Graphic3d_TMF_RotatePers - object doesn't rotate;
- //! - Graphic3d_TMF_ZoomRotatePers - object doesn't resize and rotate;
- //! - Graphic3d_TMF_RotatePers - object doesn't rotate;
- //! - Graphic3d_TMF_TriedronPers - object behaves like trihedron.
- //! If Graphic3d_TMF_TriedronPers or Graphic3d_TMF_2d persistence mode selected thePoint coordinates X and Y means:
- //! - X = 0.0, Y = 0.0 - center of view window;
- //! - X > 0.0, Y > 0.0 - right upper corner of view window;
- //! - X > 0.0, Y < 0.0 - right lower corner of view window;
- //! - X < 0.0, Y > 0.0 - left upper corner of view window;
- //! - X < 0.0, Y < 0.0 - left lower corner of view window.
- //! And Z coordinate defines the gap from border of view window (except center position).
- Standard_DEPRECATED("This method is deprecated - SetTransformPersistence() taking Graphic3d_TransformPers should be called instead")
- void SetTransformPersistence (const Graphic3d_TransModeFlags theMode, const gp_Pnt& thePoint = gp_Pnt (0.0, 0.0, 0.0))
- {
- SetTransformPersistence (Graphic3d_TransformPers::FromDeprecatedParams (theMode, thePoint));
- }
-
- //! Gets Transform Persistence Mode for this object
- Standard_DEPRECATED("This method is deprecated - TransformPersistence() should be called instead")
- Graphic3d_TransModeFlags GetTransformPersistenceMode() const
- {
- return myTransformPersistence.IsNull()
- ? Graphic3d_TMF_None
- : myTransformPersistence->Mode();
- }
-
- //! Gets point of transform persistence for this object
- Standard_DEPRECATED("This method is deprecated - TransformPersistence() should be called instead")
- Standard_EXPORT gp_Pnt GetTransformPersistencePoint() const;
-
//! Get value of the flag "propagate visual state"
//! It means that the display/erase/color visual state is propagated automatically to all children;
//! by default, the flag is true
//! Presentation manager with the given mode.
//! If @theMode is -1, then erases all presentations of the object.
Standard_EXPORT void Erase (const Handle(PrsMgr_PresentableObject)& thePrsObject, const Standard_Integer theMode = 0);
-
+
//! Clears the presentation of the presentable object thePrsObject in this framework with the display mode theMode.
Standard_EXPORT virtual void Clear (const Handle(PrsMgr_PresentableObject)& thePrsObject, const Standard_Integer theMode = 0);
//! Removes highlighting from the presentation of the presentable object.
Standard_EXPORT void Unhighlight (const Handle(PrsMgr_PresentableObject)& thePrsObject);
- Standard_DEPRECATED("Deprecated method Unhighlight() - argument theMode will be ignored")
- void Unhighlight (const Handle(PrsMgr_PresentableObject)& thePrsObject, const Standard_Integer theMode) { Unhighlight (thePrsObject); (void )theMode; }
-
//! Sets the display priority theNewPrior of the
//! presentable object thePrsObject in this framework with the display mode theMode.
Standard_EXPORT void SetDisplayPriority (const Handle(PrsMgr_PresentableObject)& thePrsObject, const Standard_Integer theMode, const Standard_Integer theNewPrior) const;
-
+
//! Returns the display priority of the presentable object
//! thePrsObject in this framework with the display mode theMode.
-Quantity_AbsorbedDose.hxx
-Quantity_Acceleration.hxx
-Quantity_AcousticIntensity.hxx
-Quantity_Activity.hxx
-Quantity_Admittance.hxx
-Quantity_AmountOfSubstance.hxx
-Quantity_AngularVelocity.hxx
-Quantity_Area.hxx
Quantity_Array1OfColor.hxx
Quantity_Array2OfColor.hxx
-Quantity_Capacitance.hxx
-Quantity_Coefficient.hxx
-Quantity_CoefficientOfExpansion.hxx
Quantity_Color.cxx
Quantity_Color.hxx
Quantity_ColorTable.pxx
Quantity_ColorRGBA.cxx
Quantity_ColorRGBA.hxx
Quantity_ColorRGBAHasher.hxx
-Quantity_Concentration.hxx
-Quantity_Conductivity.hxx
-Quantity_Constant.hxx
-Quantity_Consumption.hxx
-Quantity_Content.hxx
Quantity_Date.cxx
Quantity_Date.hxx
Quantity_DateDefinitionError.hxx
-Quantity_Density.hxx
-Quantity_DoseEquivalent.hxx
-Quantity_ElectricCapacitance.hxx
-Quantity_ElectricCharge.hxx
-Quantity_ElectricCurrent.hxx
-Quantity_ElectricFieldStrength.hxx
-Quantity_ElectricPotential.hxx
-Quantity_Energy.hxx
-Quantity_Enthalpy.hxx
-Quantity_Entropy.hxx
-Quantity_Factor.hxx
-Quantity_Force.hxx
-Quantity_Frequency.hxx
Quantity_HArray1OfColor.hxx
-Quantity_Illuminance.hxx
-Quantity_Impedance.hxx
-Quantity_Index.hxx
-Quantity_Inductance.hxx
-Quantity_KinematicViscosity.hxx
-Quantity_KineticMoment.hxx
-Quantity_Length.hxx
-Quantity_Luminance.hxx
-Quantity_LuminousEfficacity.hxx
-Quantity_LuminousExposition.hxx
-Quantity_LuminousFlux.hxx
-Quantity_LuminousIntensity.hxx
-Quantity_MagneticFieldStrength.hxx
-Quantity_MagneticFlux.hxx
-Quantity_MagneticFluxDensity.hxx
-Quantity_Mass.hxx
-Quantity_MassFlow.hxx
-Quantity_MolarConcentration.hxx
-Quantity_Molarity.hxx
-Quantity_MolarMass.hxx
-Quantity_MolarVolume.hxx
-Quantity_MomentOfAForce.hxx
-Quantity_MomentOfInertia.hxx
-Quantity_Momentum.hxx
Quantity_NameOfColor.hxx
-Quantity_Normality.hxx
-Quantity_Parameter.hxx
Quantity_Period.cxx
Quantity_Period.hxx
Quantity_PeriodDefinitionError.hxx
Quantity_PhysicalQuantity.hxx
-Quantity_PlaneAngle.hxx
-Quantity_Power.hxx
-Quantity_Pressure.hxx
-Quantity_Quotient.hxx
-Quantity_Rate.hxx
-Quantity_Ratio.hxx
-Quantity_Reluctance.hxx
-Quantity_Resistance.hxx
-Quantity_Resistivity.hxx
-Quantity_Scalaire.hxx
-Quantity_SolidAngle.hxx
-Quantity_SoundIntensity.hxx
-Quantity_SpecificHeatCapacity.hxx
-Quantity_Speed.hxx
-Quantity_SurfaceTension.hxx
-Quantity_Temperature.hxx
-Quantity_ThermalConductivity.hxx
-Quantity_Torque.hxx
Quantity_TypeOfColor.hxx
-Quantity_Velocity.hxx
-Quantity_Viscosity.hxx
-Quantity_Volume.hxx
-Quantity_VolumeFlow.hxx
-Quantity_Weight.hxx
-Quantity_Work.hxx
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_AbsorbedDose_HeaderFile
-#define _Quantity_AbsorbedDose_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the energy absorbed per unit mass in an
-//! irradiated medium.
-//! It is measured in grays.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_AbsorbedDose;
-
-#endif // _Quantity_AbsorbedDose_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Acceleration_HeaderFile
-#define _Quantity_Acceleration_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the change of velocity per unit time.
-//! It is a vector quantity.
-//! It is measured in metres per second per second.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Acceleration;
-
-#endif // _Quantity_Acceleration_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_AcousticIntensity_HeaderFile
-#define _Quantity_AcousticIntensity_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as a dimensionless comparison of sound pressure
-//! levels. The conventional unit, the bel, is the base ten
-//! logarithm of the ratio of the two pressures. In practice
-//! the decibel (one tenth of a bel) is used.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_AcousticIntensity;
-
-#endif // _Quantity_AcousticIntensity_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Activity_HeaderFile
-#define _Quantity_Activity_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the number of atoms of a radioactive
-//! substance which disintegrate per unit time. It is
-//! measured in becquerels (one disintegration per second).
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Activity;
-
-#endif // _Quantity_Activity_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Admittance_HeaderFile
-#define _Quantity_Admittance_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the reciprocal of impedance.
-//! It is measured in Siemens (reciprocal Ohms).
-//! The square of the admittance is equal to the sum of the
-//! squares of the conductance and the susceptance.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Admittance;
-
-#endif // _Quantity_Admittance_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_AmountOfSubstance_HeaderFile
-#define _Quantity_AmountOfSubstance_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as a dimensionless quantity proportional to
-//! the number of specified particles of a substance.
-//! Amount of substance is measured in moles.
-//! For all substances the number of molecules in a mole
-//! is given by Avogadro's Constant.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_AmountOfSubstance;
-
-#endif // _Quantity_AmountOfSubstance_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_AngularVelocity_HeaderFile
-#define _Quantity_AngularVelocity_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the rate at which a body moves around an axis.
-//! It is quantified as change in direction per unit time.
-//! It is measured in radians per second.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_AngularVelocity;
-
-#endif // _Quantity_AngularVelocity_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Area_HeaderFile
-#define _Quantity_Area_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as superficial extension.
-//! It is measured in square metres.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Area;
-
-#endif // _Quantity_Area_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Capacitance_HeaderFile
-#define _Quantity_Capacitance_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as a measure of the increase in voltage on
-//! an isolated conductor by the addition of a charge.
-//! for two isolated conductors, it is the ratio of the charge
-//! on either conductor to the potential difference between
-//! them.
-//! It is measured in farads (coulomb per volt).
-//! In practice micro-, nano-, and pico-farads are used.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Capacitance;
-
-#endif // _Quantity_Capacitance_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Coefficient_HeaderFile
-#define _Quantity_Coefficient_HeaderFile
-
-#include <Standard_Real.hxx>
-
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Coefficient;
-
-#endif // _Quantity_Coefficient_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_CoefficientOfExpansion_HeaderFile
-#define _Quantity_CoefficientOfExpansion_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the proportional change in the length,
-//! area, or volume of a solid per degree of temperature.
-//! For a liquid the expansion of the container must be
-//! taken into account.
-//! For a gas there are coefficients for constant pressure
-//! and constant volume changes.
-//! It is measured in units of reciprocal degree kelvin.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_CoefficientOfExpansion;
-
-#endif // _Quantity_CoefficientOfExpansion_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Concentration_HeaderFile
-#define _Quantity_Concentration_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the strength of a mixture or solution. It can
-//! be measured as kilograms per litre of solvent or of
-//! solution. For certain purposes percentage by weight or
-//! volume can be used, and parts per million (ppm) is used
-//! for trace elements.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Concentration;
-
-#endif // _Quantity_Concentration_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Conductivity_HeaderFile
-#define _Quantity_Conductivity_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the current density divided by the electrical
-//! field strength. It is also the reciprocal of resistivity.
-//! It is measured in Siemens per metre.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Conductivity;
-
-#endif // _Quantity_Conductivity_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Constant_HeaderFile
-#define _Quantity_Constant_HeaderFile
-
-#include <Standard_Real.hxx>
-
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Constant;
-
-#endif // _Quantity_Constant_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Consumption_HeaderFile
-#define _Quantity_Consumption_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as a measure of fuel used per unit distance
-//! travelled, or distance travelled per unit of fuel.
-//! It is measured in litres per 100 kilometres or in
-//! miles per gallon (UK or US).
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Consumption;
-
-#endif // _Quantity_Consumption_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Content_HeaderFile
-#define _Quantity_Content_HeaderFile
-
-#include <Standard_Real.hxx>
-
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Content;
-
-#endif // _Quantity_Content_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Density_HeaderFile
-#define _Quantity_Density_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as mass per unit volume.
-//! It is measured in kilograms per cubic metre.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Density;
-
-#endif // _Quantity_Density_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_DoseEquivalent_HeaderFile
-#define _Quantity_DoseEquivalent_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the product of the absorbed dose and a
-//! quality factor related to the effect of a particular
-//! type of radiation on biological tissue.
-//! It is measured in sieverts.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_DoseEquivalent;
-
-#endif // _Quantity_DoseEquivalent_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_ElectricCapacitance_HeaderFile
-#define _Quantity_ElectricCapacitance_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined for a capacitor as the ratio of the charge on
-//! either conductor to the potential between them.
-//! It is measured in farads (coulomb per volt).
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_ElectricCapacitance;
-
-#endif // _Quantity_ElectricCapacitance_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_ElectricCharge_HeaderFile
-#define _Quantity_ElectricCharge_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as a property of elementary particles. It is
-//! more commonly viewed as the product of electric current
-//! and time.
-//! It is measured in coulombs (ampere-second).
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_ElectricCharge;
-
-#endif // _Quantity_ElectricCharge_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_ElectricCurrent_HeaderFile
-#define _Quantity_ElectricCurrent_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the amount of charge flowing per unit time.
-//! It is measured in amperes (coulombs per second).
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_ElectricCurrent;
-
-#endif // _Quantity_ElectricCurrent_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_ElectricFieldStrength_HeaderFile
-#define _Quantity_ElectricFieldStrength_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the force exerted on a unit charge at a
-//! given point in space.
-//! It is measured in volts per metre.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_ElectricFieldStrength;
-
-#endif // _Quantity_ElectricFieldStrength_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_ElectricPotential_HeaderFile
-#define _Quantity_ElectricPotential_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the work done in bringing unit positive
-//! charge from infinity to the point.
-//! It is measured in volts.
-//! Volts are in practice used to measure differences
-//! in potential e.g. the electromotive force generated when
-//! a conductor cuts a magnetic field.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_ElectricPotential;
-
-#endif // _Quantity_ElectricPotential_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Energy_HeaderFile
-#define _Quantity_Energy_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the capacity of a system to do work.
-//! In mechanical terms this can be quantified as the
-//! product of a force and a distance moved by its point of
-//! application.
-//! In kinetic terms it is the product of half the mass
-//! and the square of the speed .
-//! In a rotating system it is the product of half the
-//! moment of inertia and the square of the angular velocity.
-//! In potential terms it is the product of a mass,
-//! a height, and the free fall acceleration.
-//! In molecular terms it is the sum of the kinetic and
-//! potential energies of the molecules.
-//! In electric terms it is the product of charge and
-//! the electric potential traversed.
-//! In relativistic terms it is the difference between
-//! the observed mass and the rest mass of a body multiplied
-//! by the square of the speed of light.
-//! It is measured in joules (newton-metres).
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Energy;
-
-#endif // _Quantity_Energy_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Enthalpy_HeaderFile
-#define _Quantity_Enthalpy_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the sum of the internal energy of a system plus
-//! the product of its pressure and volume. For a reversible
-//! process at constant pressure the change in enthalpy is
-//! equal to the quantity of heat absorbed (or lost).
-//! It is measured in joules.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Enthalpy;
-
-#endif // _Quantity_Enthalpy_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Entropy_HeaderFile
-#define _Quantity_Entropy_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as a property which changes as a system undergoes
-//! reversible change. The change in entropy is quantified as
-//! the change in energy per degree of temperature. All real
-//! changes are at least partially irreversible so entropy
-//! is increased by change. Entropy can be viewed as a
-//! measure of the molecular disorder of a system, or as the
-//! unavailability of its internal energy to do work in a
-//! cyclical process.
-//! A change in entropy is measured in joules per degree kelvin.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Entropy;
-
-#endif // _Quantity_Entropy_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Factor_HeaderFile
-#define _Quantity_Factor_HeaderFile
-
-#include <Standard_Real.hxx>
-
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Factor;
-
-#endif // _Quantity_Factor_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Force_HeaderFile
-#define _Quantity_Force_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the product of the mass of a body
-//! and the acceleration that the force produces.
-//! It is a vector quantity.
-//! It is measured in newtons.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Force;
-
-#endif // _Quantity_Force_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Frequency_HeaderFile
-#define _Quantity_Frequency_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the number of oscillations per unit time.
-//! It is measured in cycles per second.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Frequency;
-
-#endif // _Quantity_Frequency_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Illuminance_HeaderFile
-#define _Quantity_Illuminance_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the incident luminous flux per unit area.
-//! It is measured in lux (lumen per square metre).
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Illuminance;
-
-#endif // _Quantity_Illuminance_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Impedance_HeaderFile
-#define _Quantity_Impedance_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the total opposition to the flow of current
-//! in a circuit. Includes the contributions of resistance,
-//! inductance, and capacitance.
-//! It is measured in Ohms.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Impedance;
-
-#endif // _Quantity_Impedance_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Index_HeaderFile
-#define _Quantity_Index_HeaderFile
-
-#include <Standard_Real.hxx>
-
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Index;
-
-#endif // _Quantity_Index_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Inductance_HeaderFile
-#define _Quantity_Inductance_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as numerically equal to the electromotive force
-//! induced when the current in a circuit changes at
-//! unit rate.
-//! It is measured in henrys (webers per ampere).
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Inductance;
-
-#endif // _Quantity_Inductance_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_KinematicViscosity_HeaderFile
-#define _Quantity_KinematicViscosity_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the ratio of the dynamic viscosity
-//! to the fluid density. Used in modifying the motion of a
-//! perfect fluid to include terms due to a real fluid.
-//! It is quantified as area per unit time.
-//! It is measured in square metres per second.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_KinematicViscosity;
-
-#endif // _Quantity_KinematicViscosity_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_KineticMoment_HeaderFile
-#define _Quantity_KineticMoment_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the product of momentum of a body
-//! and the distance of its centre of gravity from an axis.
-//! It is measured in kilogram-square-metres per second.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_KineticMoment;
-
-#endif // _Quantity_KineticMoment_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Length_HeaderFile
-#define _Quantity_Length_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as spatial extension.
-//! It is measured in metres.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Length;
-
-#endif // _Quantity_Length_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Luminance_HeaderFile
-#define _Quantity_Luminance_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! It is defined the luminous flux per unit area per unit
-//! solid angle.
-//! It is measured in candelas per square metre.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Luminance;
-
-#endif // _Quantity_Luminance_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_LuminousEfficacity_HeaderFile
-#define _Quantity_LuminousEfficacity_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the ratio of luminous flux emitted by a
-//! source to the power it consumes.
-//! It is measured in lumens per watt.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_LuminousEfficacity;
-
-#endif // _Quantity_LuminousEfficacity_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_LuminousExposition_HeaderFile
-#define _Quantity_LuminousExposition_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the quantity of illuminance with time.
-//! It is measured in lux-seconds.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_LuminousExposition;
-
-#endif // _Quantity_LuminousExposition_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_LuminousFlux_HeaderFile
-#define _Quantity_LuminousFlux_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the rate of flow of radiant energy as evaluated
-//! by the luminous sensation it produces. This means it
-//! depends on the sensitivity of the receptor or observer. It
-//! is related to the radiant flux of the source by the
-//! spectral luminous efficiency.
-//! It is measured in lumens.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_LuminousFlux;
-
-#endif // _Quantity_LuminousFlux_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_LuminousIntensity_HeaderFile
-#define _Quantity_LuminousIntensity_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the luminous flux emitted per unit solid
-//! angle in a given direction by a point source.
-//! It is measured in candelas.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_LuminousIntensity;
-
-#endif // _Quantity_LuminousIntensity_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_MagneticFieldStrength_HeaderFile
-#define _Quantity_MagneticFieldStrength_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Described as a vector quantity, it is the ratio of the
-//! magnetic flux density to the permeability of the medium.
-//! Its integral along a closed line is equal to the
-//! magnetomotive force.
-//! It is measured in amperes per metre.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_MagneticFieldStrength;
-
-#endif // _Quantity_MagneticFieldStrength_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_MagneticFlux_HeaderFile
-#define _Quantity_MagneticFlux_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the product of a given area and the
-//! average magnetic flux density normal to it.
-//! It is measured in webers (tesla-square-metre).
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_MagneticFlux;
-
-#endif // _Quantity_MagneticFlux_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_MagneticFluxDensity_HeaderFile
-#define _Quantity_MagneticFluxDensity_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the magnetic flux passing through unit area
-//! of a magnetic field normal to the magnetic force.
-//! It is a vector quantity, the product of the permeability
-//! and the magnetic field strength and with a direction at any
-//! given point the same as that of the magnetic field.
-//! It is measured in teslas (webers per square metre).
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_MagneticFluxDensity;
-
-#endif // _Quantity_MagneticFluxDensity_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Mass_HeaderFile
-#define _Quantity_Mass_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as a quantity of matter. Gives rise to the
-//! inertial and gravitational properties of a body.
-//! It is measured in kilograms.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Mass;
-
-#endif // _Quantity_Mass_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_MassFlow_HeaderFile
-#define _Quantity_MassFlow_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as mass per unit time.
-//! It is measured in kilograms per second.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_MassFlow;
-
-#endif // _Quantity_MassFlow_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_MolarConcentration_HeaderFile
-#define _Quantity_MolarConcentration_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the concentration in moles per litre of
-//! solution. It is also called molarity.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_MolarConcentration;
-
-#endif // _Quantity_MolarConcentration_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_MolarMass_HeaderFile
-#define _Quantity_MolarMass_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the mass of a given substance contained in one
-//! mole. One mole of any substance contains Avogadro's
-//! Constant of molecules.
-//! It is measured in kilograms per mole.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_MolarMass;
-
-#endif // _Quantity_MolarMass_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_MolarVolume_HeaderFile
-#define _Quantity_MolarVolume_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the volume occupied by one mole of substance.
-//! One mole of any substance contains Avogadro's
-//! Constant of molecules.
-//! It is measured in cubic metres per mole.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_MolarVolume;
-
-#endif // _Quantity_MolarVolume_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Molarity_HeaderFile
-#define _Quantity_Molarity_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the concentration in moles per kilogram of
-//! solvent.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Molarity;
-
-#endif // _Quantity_Molarity_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_MomentOfAForce_HeaderFile
-#define _Quantity_MomentOfAForce_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the product of a force and the
-//! perpendicular distance to an axis.
-//! It is measured in newtons x metres.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_MomentOfAForce;
-
-#endif // _Quantity_MomentOfAForce_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_MomentOfInertia_HeaderFile
-#define _Quantity_MomentOfInertia_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the product of the mass of a body
-//! and the square of the distance of its centre of gravity
-//! from an axis.
-//! It is measured in kilogram-square-metres.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_MomentOfInertia;
-
-#endif // _Quantity_MomentOfInertia_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Momentum_HeaderFile
-#define _Quantity_Momentum_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the product of mass and velocity.
-//! It is a vector quantity.
-//! It is measured in kilogram-metres per second.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Momentum;
-
-#endif // _Quantity_Momentum_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Normality_HeaderFile
-#define _Quantity_Normality_HeaderFile
-
-#include <Standard_Real.hxx>
-
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Normality;
-
-#endif // _Quantity_Normality_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Parameter_HeaderFile
-#define _Quantity_Parameter_HeaderFile
-
-#include <Standard_Real.hxx>
-
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Parameter;
-
-#endif // _Quantity_Parameter_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_PlaneAngle_HeaderFile
-#define _Quantity_PlaneAngle_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as a difference in direction.
-//! It is measured in radians.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_PlaneAngle;
-
-#endif // _Quantity_PlaneAngle_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Power_HeaderFile
-#define _Quantity_Power_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the rate of expending energy or doing work.
-//! In mechanical terms it is the product of a force and
-//! the distance it moves per unit time.
-//! In electrical terms it is the product of the voltage
-//! and the current. For AC the root-mean-square values
-//! are multiplied by the cosine of the phase angle.
-//! It is measured in watts (joules per second).
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Power;
-
-#endif // _Quantity_Power_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Pressure_HeaderFile
-#define _Quantity_Pressure_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the force perpendicular to a
-//! unit area. In a fluid it is defined as the product
-//! of the depth, density, and free fall acceleration.
-//! It is measured in pascals (newtons per square metre).
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Pressure;
-
-#endif // _Quantity_Pressure_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Quotient_HeaderFile
-#define _Quantity_Quotient_HeaderFile
-
-#include <Standard_Real.hxx>
-
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Quotient;
-
-#endif // _Quantity_Quotient_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Rate_HeaderFile
-#define _Quantity_Rate_HeaderFile
-
-#include <Standard_Real.hxx>
-
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Rate;
-
-#endif // _Quantity_Rate_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Ratio_HeaderFile
-#define _Quantity_Ratio_HeaderFile
-
-#include <Standard_Real.hxx>
-
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Ratio;
-
-#endif // _Quantity_Ratio_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Reluctance_HeaderFile
-#define _Quantity_Reluctance_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the ratio of the magnetomotive force applied
-//! to a magnetic circuit to the magnetic flux in the circuit.
-//! It is measured in reciprocal henrys.
-//! Its reciprocal is permanence.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Reluctance;
-
-#endif // _Quantity_Reluctance_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Resistance_HeaderFile
-#define _Quantity_Resistance_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the ratio of the potential difference
-//! across a conductor to the current flowing through it.
-//! It is measured in ohms.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Resistance;
-
-#endif // _Quantity_Resistance_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Resistivity_HeaderFile
-#define _Quantity_Resistivity_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the resistance of a conductor of unit
-//! cross-section per unit length.
-//! It is measured in Ohm-metres.
-//! It is the reciprocal of the conductivity.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Resistivity;
-
-#endif // _Quantity_Resistivity_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Scalaire_HeaderFile
-#define _Quantity_Scalaire_HeaderFile
-
-#include <Standard_Real.hxx>
-
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Scalaire;
-
-
-#endif // _Quantity_Scalaire_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_SolidAngle_HeaderFile
-#define _Quantity_SolidAngle_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as an angle formed by three or more planes.
-//! It is measured in steradians.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_SolidAngle;
-
-#endif // _Quantity_SolidAngle_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_SoundIntensity_HeaderFile
-#define _Quantity_SoundIntensity_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the rate of flow of sound energy through
-//! a unit area normal to the flow. It is quantified as the
-//! square of the root-mean-square sound pressure, divided by
-//! the density of the medium and by the speed of sound.
-//! It is measured in watts per square metre.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_SoundIntensity;
-
-#endif // _Quantity_SoundIntensity_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_SpecificHeatCapacity_HeaderFile
-#define _Quantity_SpecificHeatCapacity_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the quantity of heat required to raise
-//! unit mass by one degree temperature. For a gas
-//! there are two values: one at constant pressure, the
-//! other at constant volume. Their ratio is linked to the
-//! speed of sound in the gas and to the number of
-//! degrees of freedom of the molecules.
-//! It is quantified as energy per unit mass per
-//! degree of temperature.
-//! It is measured in joules per kilogram per degree
-//! kelvin.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_SpecificHeatCapacity;
-
-#endif // _Quantity_SpecificHeatCapacity_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Speed_HeaderFile
-#define _Quantity_Speed_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as distance covered per unit time.
-//! It is measured in metres per second.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Speed;
-
-#endif // _Quantity_Speed_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_SurfaceTension_HeaderFile
-#define _Quantity_SurfaceTension_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the force required to hold unit length
-//! of a plane liquid surface.
-//! It is measured in newtons per metre.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_SurfaceTension;
-
-#endif // _Quantity_SurfaceTension_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Temperature_HeaderFile
-#define _Quantity_Temperature_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as a measure of the average kinetic energy
-//! of the molecules in a body.
-//! It is measured in degrees kelvin.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Temperature;
-
-#endif // _Quantity_Temperature_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_ThermalConductivity_HeaderFile
-#define _Quantity_ThermalConductivity_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the rate at which heat passes through an
-//! area inside a body. Quantified as work per unit time
-//! per unit length per unit of temperature.
-//! It is measured in watts per metre per degee kelvin.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_ThermalConductivity;
-
-#endif // _Quantity_ThermalConductivity_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Torque_HeaderFile
-#define _Quantity_Torque_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the product of a force and the
-//! perpendicular distance to an axis or as the
-//! the product of a force couple.
-//! It is measured in newtons x metres.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Torque;
-
-#endif // _Quantity_Torque_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Velocity_HeaderFile
-#define _Quantity_Velocity_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as distance covered per unit time in a
-//! given direction. It is a vector quantity.
-//! It is measured in metres per second.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Velocity;
-
-#endif // _Quantity_Velocity_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Viscosity_HeaderFile
-#define _Quantity_Viscosity_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the resistance to flow in a fluid.
-//! It is quantified as the product of pressure
-//! and time. For a liquid it generally decreases with
-//! temperature; for a gas it increases.
-//! It is measured in pascal-seconds.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Viscosity;
-
-#endif // _Quantity_Viscosity_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Volume_HeaderFile
-#define _Quantity_Volume_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as an extension in three dimensions.
-//! It is measured in cubic metres.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Volume;
-
-#endif // _Quantity_Volume_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_VolumeFlow_HeaderFile
-#define _Quantity_VolumeFlow_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as volume per unit time.
-//! It is measured in cubic metres per second.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_VolumeFlow;
-
-#endif // _Quantity_VolumeFlow_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Weight_HeaderFile
-#define _Quantity_Weight_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! Defined as the force of gravitation acting on a body
-//! near to the surface of the Earth or other planet.
-//! It is quantified as the product of the mass of the body
-//! and the local value of the acceleration of free fall.
-//! It is measured in newtons.
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Weight;
-
-#endif // _Quantity_Weight_HeaderFile
+++ /dev/null
-// Created on: 1994-02-08
-// Created by: Gilles DEBARBOUILLE
-// Copyright (c) 1994-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.
-
-#ifndef _Quantity_Work_HeaderFile
-#define _Quantity_Work_HeaderFile
-
-#include <Standard_Real.hxx>
-
-//! In mechanics, the product of a force and the distance
-//! moved. In a rotating system, the product of the torque
-//! and the angular displacement. In a pressure system,
-//! the product of the pressure and the change in volume.
-//! In electrical terms, the product of a charge and the
-//! potential difference it traverses.
-//! It is measured in joules (newton-metres).
-Standard_DEPRECATED("This type is deprecated - Standard_Real should be used instead")
-typedef Standard_Real Quantity_Work;
-
-#endif // _Quantity_Work_HeaderFile
myToUpdateTolerance (Standard_True),
myCameraScale (1.0),
myToPrebuildBVH (Standard_False),
- myCurRank (0),
myIsLeftChildQueuedFirst (Standard_False)
{
myEntitySetBuilder = new BVH_BinnedBuilder<Standard_Real, 3, 4> (BVH_Constants_LeafNodeSizeSingle, BVH_Constants_MaxTreeDepth, Standard_True);
mystored.Clear();
}
-//==================================================
-// Function: Picked
-// Purpose :
-//==================================================
-Handle(SelectMgr_EntityOwner) SelectMgr_ViewerSelector::Picked() const
-{
- const Standard_Integer aRankInMap = myIndexes->Value (myCurRank);
- const Handle(SelectMgr_EntityOwner)& anOwner = mystored.FindKey (aRankInMap);
- return anOwner;
-}
-
//=======================================================================
//function : Picked
//purpose :
}
}
-//=======================================================================
-// function : DetectedEntity
-// purpose : Returns sensitive entity that was detected during the
-// previous run of selection algorithm
-//=======================================================================
-const Handle(Select3D_SensitiveEntity)& SelectMgr_ViewerSelector::DetectedEntity() const
-{
- const Standard_Integer aRankInMap = myIndexes->Value(myCurRank);
- return mystored.FindFromIndex (aRankInMap).Entity;
-}
-
//=======================================================================
// function : ActiveOwners
// purpose : Returns the list of active entity owners
if (!myIndexes.IsNull())
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myIndexes->Size())
- OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myCurRank)
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myIsLeftChildQueuedFirst)
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myMapOfObjectSensitives.Extent())
}
//! Dumps the content of me into the stream
Standard_EXPORT void DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth = -1) const;
-public:
-
- //! Begins an iteration scanning for the owners detected at a position in the view.
- Standard_DEPRECATED("Deprecated method Init()")
- void Init() { initPicked(); }
-
- //! Continues the interation scanning for the owners detected at a position in the view,
- //! or continues the iteration scanning for the owner closest to the position in the view.
- Standard_DEPRECATED("Deprecated method More()")
- Standard_Boolean More() { return morePicked(); }
-
- //! Returns the next owner found in the iteration. This is
- //! a scan for the owners detected at a position in the view.
- Standard_DEPRECATED("Deprecated method Next()")
- void Next() { nextPicked(); }
-
- //! Returns the current selected entity detected by the selector;
- Standard_DEPRECATED("Deprecated method Picked()")
- Standard_EXPORT Handle(SelectMgr_EntityOwner) Picked() const;
-
- //! Initializes internal iterator for stored detected sensitive entities
- Standard_DEPRECATED("Deprecated method InitDetected()")
- void InitDetected() { initPicked(); }
-
- //! Makes a step along the map of detected sensitive entities and their owners
- Standard_DEPRECATED("Deprecated method NextDetected()")
- void NextDetected() { nextPicked(); }
-
- //! Returns true if iterator of map of detected sensitive entities has reached its end
- Standard_DEPRECATED("Deprecated method MoreDetected()")
- Standard_Boolean MoreDetected() { return morePicked(); }
-
- //! Returns sensitive entity that was detected during the previous run of selection algorithm
- Standard_DEPRECATED("Deprecated method DetectedEntity() should be replaced by DetectedEntity(int)")
- Standard_EXPORT const Handle(Select3D_SensitiveEntity)& DetectedEntity() const;
-
public:
//! Enables/disables building BVH for sensitives in separate threads
SelectMgr_SelectingVolumeManager& theResMgr);
-private: // implementation of deprecated methods
-
- //! Initializes internal iterator for stored detected sensitive entities
- void initPicked() { myCurRank = 1; }
-
- //! Makes a step along the map of detected sensitive entities and their owners
- void nextPicked() { ++myCurRank; }
-
- //! Returns true if iterator of map of detected sensitive entities has reached its end
- Standard_Boolean morePicked() const
- {
- if (mystored.Extent() == 0) return Standard_False;
- if (myCurRank == 0) return Standard_False;
- return myCurRank <= myIndexes->Length();
- }
+private:
//! Compute 3d position for detected entity.
void updatePoint3d (SelectMgr_SortCriterion& theCriterion,
Handle(SelectMgr_BVHThreadPool) myBVHThreadPool;
Handle(TColStd_HArray1OfInteger) myIndexes;
- Standard_Integer myCurRank;
Standard_Boolean myIsLeftChildQueuedFirst;
SelectMgr_MapOfObjectSensitives myMapOfObjectSensitives;
namespace
{
- //! Global last failure object returned by Standard_Failure::Caught().
- static Standard_THREADLOCAL Handle(Standard_Failure) Standard_Failure_RaisedError;
-
//! Global parameter defining default length of stack trace.
static Standard_Integer Standard_Failure_DefaultStackTraceLength = 0;
}
myStackTrace = StringRef::allocate_message (theStack);
}
-// =======================================================================
-// function : Caught
-// purpose :
-// =======================================================================
-Handle(Standard_Failure) Standard_Failure::Caught()
-{
- return Standard_Failure_RaisedError;
-}
-
// =======================================================================
// function : Raise
// purpose :
// =======================================================================
void Standard_Failure::Reraise()
{
- Standard_Failure_RaisedError = this;
Throw();
}
Standard_ErrorHandler::Error (this);
Standard_ErrorHandler::Abort (this);
#else
- Standard_Failure_RaisedError = this;
Throw();
#endif
}
//! the current active signal handler, and only then is
//! converted to C++ exception.
Standard_EXPORT void Jump();
-
- //! Returns the last caught exception.
- //! Needed when exceptions are emulated by C longjumps,
- //! in other cases is also provided for compatibility.
- Standard_DEPRECATED("This method is deprecated (not thread-safe), use standard C++ mechanism instead")
- Standard_EXPORT static Handle(Standard_Failure) Caught();
DEFINE_STANDARD_RTTIEXT(Standard_Failure,Standard_Transient)
FSD
-MMgt
OSD
Plugin
Quantity
//! @param thePlane [in] the clip plane to be removed from view.
Standard_EXPORT virtual void RemoveClipPlane (const Handle(Graphic3d_ClipPlane)& thePlane);
+ //! Get clip planes.
+ //! @return sequence clip planes that have been set for the view
+ Standard_EXPORT const Handle(Graphic3d_SequenceOfHClipPlane)& ClipPlanes() const;
+
//! Sets sequence of clip planes to the view. The planes that have been set
//! before are removed from the view. The composition of clip planes
//! truncates the rendering space to convex volume. Number of supported
//! @param thePlanes [in] the clip planes to set.
Standard_EXPORT void SetClipPlanes (const Handle(Graphic3d_SequenceOfHClipPlane)& thePlanes);
- Standard_DEPRECATED("This method is deprecated - overload taking Handle should be used instead")
- void SetClipPlanes (const Graphic3d_SequenceOfHClipPlane& thePlanes)
- {
- Handle(Graphic3d_SequenceOfHClipPlane) aPlanes = new Graphic3d_SequenceOfHClipPlane (thePlanes);
- SetClipPlanes (aPlanes);
- }
-
- //! Get clip planes.
- //! @return sequence clip planes that have been set for the view
- Standard_EXPORT const Handle(Graphic3d_SequenceOfHClipPlane)& ClipPlanes() const;
-
//! Returns the MAX number of clipping planes associated to the view.
Standard_EXPORT Standard_Integer PlaneLimit() const;
myCGrid = new V3d_CircularGrid (this, Quantity_Color (Quantity_NOC_GRAY50), Quantity_Color (Quantity_NOC_GRAY70));
}
-// ========================================================================
-// function : V3d_Viewer
-// purpose :
-// ========================================================================
-V3d_Viewer::V3d_Viewer (const Handle(Graphic3d_GraphicDriver)& theDriver,
- const Standard_ExtString ,
- const Standard_CString ,
- const Standard_Real theViewSize,
- const V3d_TypeOfOrientation theViewProj,
- const Quantity_Color& theViewBackground,
- const V3d_TypeOfVisualization theVisualization,
- const Graphic3d_TypeOfShadingModel theShadingModel,
- const Standard_Boolean theComputedMode,
- const Standard_Boolean theDefaultComputedMode)
-: myDriver (theDriver),
- myStructureManager (new Graphic3d_StructureManager (theDriver)),
- myZLayerGenId (1, IntegerLast()),
- myBackground (theViewBackground),
- myViewSize (theViewSize),
- myViewProj (theViewProj),
- myVisualization (theVisualization),
- myShadingModel (theShadingModel),
- myDefaultTypeOfView (V3d_ORTHOGRAPHIC),
- myComputedMode (theComputedMode),
- myDefaultComputedMode (theDefaultComputedMode),
- myPrivilegedPlane (gp_Ax3 (gp_Pnt (0.,0.,0), gp_Dir (0.,0.,1.), gp_Dir (1.,0.,0.))),
- myDisplayPlane (Standard_False),
- myDisplayPlaneLength (theViewSize),
- myGridType (Aspect_GT_Rectangular),
- myGridEcho (Standard_True),
- myGridEchoLastVert (ShortRealLast(), ShortRealLast(), ShortRealLast())
-{
- myRGrid = new V3d_RectangularGrid (this, Quantity_Color (Quantity_NOC_GRAY50), Quantity_Color (Quantity_NOC_GRAY70));
- myCGrid = new V3d_CircularGrid (this, Quantity_Color (Quantity_NOC_GRAY50), Quantity_Color (Quantity_NOC_GRAY70));
- SetDefaultViewSize (theViewSize);
-}
-
// ========================================================================
// function : CreateView
// purpose :
public: //! @name deprecated methods
- Standard_DEPRECATED("This constructor is deprecated")
- Standard_EXPORT V3d_Viewer (const Handle(Graphic3d_GraphicDriver)& theDriver,
- const Standard_ExtString theName,
- const Standard_CString theDomain = "",
- const Standard_Real theViewSize = 1000.0,
- const V3d_TypeOfOrientation theViewProj = V3d_XposYnegZpos,
- const Quantity_Color& theViewBackground = Quantity_NOC_GRAY30,
- const V3d_TypeOfVisualization theVisualization = V3d_ZBUFFER,
- const Graphic3d_TypeOfShadingModel theShadingModel = Graphic3d_TOSM_VERTEX,
- const Standard_Boolean theComputedMode = Standard_True,
- const Standard_Boolean theDefaultComputedMode = Standard_True);
-
- //! Defines the default base colour of views attached
- //! to the Viewer by supplying the type of colour
- //! definition and the three component values.
- Standard_DEPRECATED("This method is deprecated - SetDefaultBackgroundColor() taking Quantity_Color should be used instead")
- void SetDefaultBackgroundColor (const Quantity_TypeOfColor theType,
- const Standard_Real theV1,
- const Standard_Real theV2,
- const Standard_Real theV3)
- {
- Standard_Real aV1 = theV1;
- Standard_Real aV2 = theV2;
- Standard_Real aV3 = theV3;
- if (aV1 < 0.0) aV1 = 0.0; else if (aV1 > 1.0) aV1 = 1.0;
- if (aV2 < 0.0) aV2 = 0.0; else if (aV2 > 1.0) aV2 = 1.0;
- if (aV3 < 0.0) aV3 = 0.0; else if (aV3 > 1.0) aV3 = 1.0;
- SetDefaultBackgroundColor (Quantity_Color (aV1, aV2, aV3, theType));
- }
-
- Standard_DEPRECATED("This method is deprecated - DefaultBackgroundColor() without arguments should be used instead")
- void DefaultBackgroundColor (const Quantity_TypeOfColor theType, Standard_Real& theV1, Standard_Real& theV2, Standard_Real& theV3) const
- {
- Quantity_Color aColor = DefaultBackgroundColor();
- aColor.Values (theV1, theV2, theV3, theType) ;
- }
-
//! Initializes an internal iterator on the active views.
Standard_DEPRECATED ("Deprecated method - ActiveViews() should be used instead")
void InitActiveViews() { myActiveViewsIterator.Initialize (myActiveViews); }
}
}
- const gp_Pnt aPnt (aX.RealValue(), aY.RealValue(), aZ.RealValue());
if (aTrsfPers->IsZoomOrRotate())
{
- aTrsfPers->SetAnchorPoint (aPnt);
+ aTrsfPers->SetAnchorPoint (gp_Pnt (aX.RealValue(), aY.RealValue(), aZ.RealValue()));
}
else if (aTrsfPers->IsTrihedronOr2d())
{
- aTrsfPers = Graphic3d_TransformPers::FromDeprecatedParams (aTrsfPers->Mode(), aPnt);
+ Standard_Integer aCorner = Aspect_TOTP_CENTER;
+ if (aX.RealValue() > 0.0) { aCorner |= Aspect_TOTP_RIGHT; }
+ else if (aX.RealValue() < 0.0) { aCorner |= Aspect_TOTP_LEFT; }
+ if (aY.RealValue() > 0.0) { aCorner |= Aspect_TOTP_TOP; }
+ else if (aY.RealValue() < 0.0) { aCorner |= Aspect_TOTP_BOTTOM; }
+ aTrsfPers = new Graphic3d_TransformPers (aTrsfPers->Mode(), Aspect_TypeOfTriedronPosition (aCorner), Graphic3d_Vec2i (aZ.IntegerValue()));
}
}
else if (aNameCase == "-layer"
}
}
- aTrsfPers = Graphic3d_TransformPers::FromDeprecatedParams (Graphic3d_TMF_2d, gp_Pnt (aX.IntegerValue(), aY.IntegerValue(), aZ.IntegerValue()));
+ Standard_Integer aCorner = Aspect_TOTP_CENTER;
+ if (aX.IntegerValue() > 0.0) { aCorner |= Aspect_TOTP_RIGHT; }
+ else if (aX.IntegerValue() < 0.0) { aCorner |= Aspect_TOTP_LEFT; }
+ if (aY.IntegerValue() > 0.0) { aCorner |= Aspect_TOTP_TOP; }
+ else if (aY.IntegerValue() < 0.0) { aCorner |= Aspect_TOTP_BOTTOM; }
+ aTrsfPers = new Graphic3d_TransformPers (aTrsfPers->Mode(), Aspect_TypeOfTriedronPosition (aCorner), Graphic3d_Vec2i (aZ.IntegerValue()));
}
else
{