0031682: Visualization - Prs3d_ShadingAspect::SetTransparency() has no effect with...
[occt.git] / src / BiTgte / BiTgte_HCurveOnEdge.hxx
CommitLineData
42cf5bc1 1// Created on: 1996-12-16
2// Created by: Bruno DUMORTIER
3// Copyright (c) 1996-1999 Matra Datavision
4// Copyright (c) 1999-2014 OPEN CASCADE SAS
5//
6// This file is part of Open CASCADE Technology software library.
7//
8// This library is free software; you can redistribute it and/or modify it under
9// the terms of the GNU Lesser General Public License version 2.1 as published
10// by the Free Software Foundation, with special exception defined in the file
11// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12// distribution for complete text of the license and disclaimer of any warranty.
13//
14// Alternatively, this file may be used under the terms of Open CASCADE
15// commercial license or contractual agreement.
16
17#ifndef _BiTgte_HCurveOnEdge_HeaderFile
18#define _BiTgte_HCurveOnEdge_HeaderFile
19
20#include <Standard.hxx>
21#include <Standard_Type.hxx>
22
23#include <BiTgte_CurveOnEdge.hxx>
24#include <Adaptor3d_HCurve.hxx>
25class Standard_OutOfRange;
26class Standard_NoSuchObject;
27class Standard_DomainError;
28class BiTgte_CurveOnEdge;
29class Adaptor3d_Curve;
30
31
32class BiTgte_HCurveOnEdge;
33DEFINE_STANDARD_HANDLE(BiTgte_HCurveOnEdge, Adaptor3d_HCurve)
34
35
36class BiTgte_HCurveOnEdge : public Adaptor3d_HCurve
37{
38
39public:
40
41
36b9ff75 42 //! Creates an empty GenHCurve.
42cf5bc1 43 Standard_EXPORT BiTgte_HCurveOnEdge();
44
36b9ff75 45 //! Creates a GenHCurve from a Curve
42cf5bc1 46 Standard_EXPORT BiTgte_HCurveOnEdge(const BiTgte_CurveOnEdge& C);
47
36b9ff75 48 //! Sets the field of the GenHCurve.
42cf5bc1 49 Standard_EXPORT void Set (const BiTgte_CurveOnEdge& C);
50
36b9ff75 51 //! Returns the curve used to create the GenHCurve.
52 //! This is redefined from HCurve, cannot be inline.
79104795 53 Standard_EXPORT const Adaptor3d_Curve& Curve() const Standard_OVERRIDE;
42cf5bc1 54
36b9ff75 55 //! Returns the curve used to create the GenHCurve.
56 //! This is redefined from HCurve, cannot be inline.
79104795 57 Standard_EXPORT Adaptor3d_Curve& GetCurve() Standard_OVERRIDE;
42cf5bc1 58
36b9ff75 59 //! Returns the curve used to create the GenHCurve.
42cf5bc1 60 BiTgte_CurveOnEdge& ChangeCurve();
61
62
63
64
92efcf78 65 DEFINE_STANDARD_RTTI_INLINE(BiTgte_HCurveOnEdge,Adaptor3d_HCurve)
42cf5bc1 66
67protected:
68
69
70 BiTgte_CurveOnEdge myCurve;
71
72
73private:
74
75
76
77
78};
79
80#define TheCurve BiTgte_CurveOnEdge
81#define TheCurve_hxx <BiTgte_CurveOnEdge.hxx>
82#define Adaptor3d_GenHCurve BiTgte_HCurveOnEdge
83#define Adaptor3d_GenHCurve_hxx <BiTgte_HCurveOnEdge.hxx>
84#define Handle_Adaptor3d_GenHCurve Handle(BiTgte_HCurveOnEdge)
85
86#include <Adaptor3d_GenHCurve.lxx>
87
88#undef TheCurve
89#undef TheCurve_hxx
90#undef Adaptor3d_GenHCurve
91#undef Adaptor3d_GenHCurve_hxx
92#undef Handle_Adaptor3d_GenHCurve
93
94
95
96
97#endif // _BiTgte_HCurveOnEdge_HeaderFile