0031682: Visualization - Prs3d_ShadingAspect::SetTransparency() has no effect with...
[occt.git] / src / StepDimTol / StepDimTol_ToleranceZoneForm.hxx
CommitLineData
28a73c1f 1// Created on: 2015-07-13
2// Created by: Irina KRYLOVA
3// Copyright (c) 2015 OPEN CASCADE SAS
4//
5// This file is part of Open CASCADE Technology software library.
6//
7// This library is free software; you can redistribute it and/or modify it under
8// the terms of the GNU Lesser General Public License version 2.1 as published
9// by the Free Software Foundation, with special exception defined in the file
10// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11// distribution for complete text of the license and disclaimer of any warranty.
12//
13// Alternatively, this file may be used under the terms of Open CASCADE
14// commercial license or contractual agreement.
15
16#ifndef _StepDimTol_ToleranceZoneForm_HeaderFile
17#define _StepDimTol_ToleranceZoneForm_HeaderFile
18
19#include <StepDimTol_ToleranceZoneForm.hxx>
20
25e59720 21#include <Standard_Transient.hxx>
28a73c1f 22#include <Standard.hxx>
23#include <Standard_Type.hxx>
24#include <TCollection_HAsciiString.hxx>
25
26class TCollection_HAsciiString;
27
28class StepDimTol_ToleranceZoneForm;
25e59720 29DEFINE_STANDARD_HANDLE(StepDimTol_ToleranceZoneForm, Standard_Transient)
28a73c1f 30//! Added for Dimensional Tolerances
25e59720 31class StepDimTol_ToleranceZoneForm : public Standard_Transient
28a73c1f 32{
33
34public:
35
36 Standard_EXPORT StepDimTol_ToleranceZoneForm();
37
38 //! Init all field own and inherited
18f7c9a5 39 Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName);
28a73c1f 40
41 //! Returns field Name
42 inline Handle(TCollection_HAsciiString) Name()
43 {
2f220b97 44 return myName;
28a73c1f 45 }
46
47 //! Set field Name
48 inline void SetName(const Handle(TCollection_HAsciiString) &theName)
49 {
2f220b97 50 myName = theName;
28a73c1f 51 }
52
25e59720 53 DEFINE_STANDARD_RTTIEXT(StepDimTol_ToleranceZoneForm,Standard_Transient)
28a73c1f 54
55private:
2f220b97 56 Handle(TCollection_HAsciiString) myName;
28a73c1f 57
58};
59#endif // _StepDimTol_ToleranceZoneForm_HeaderFile