0031682: Visualization - Prs3d_ShadingAspect::SetTransparency() has no effect with...
[occt.git] / src / StepFEA / StepFEA_Surface3dElementRepresentation.hxx
CommitLineData
42cf5bc1 1// Created on: 2002-12-12
2// Created by: data exchange team
3// Copyright (c) 2002-2014 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 _StepFEA_Surface3dElementRepresentation_HeaderFile
17#define _StepFEA_Surface3dElementRepresentation_HeaderFile
18
19#include <Standard.hxx>
20#include <Standard_Type.hxx>
21
22#include <StepFEA_ElementRepresentation.hxx>
23#include <StepRepr_HArray1OfRepresentationItem.hxx>
24#include <StepFEA_HArray1OfNodeRepresentation.hxx>
25class StepFEA_FeaModel3d;
26class StepElement_Surface3dElementDescriptor;
27class StepElement_SurfaceElementProperty;
28class StepElement_ElementMaterial;
29class TCollection_HAsciiString;
30class StepRepr_RepresentationContext;
31
32
33class StepFEA_Surface3dElementRepresentation;
34DEFINE_STANDARD_HANDLE(StepFEA_Surface3dElementRepresentation, StepFEA_ElementRepresentation)
35
36//! Representation of STEP entity Surface3dElementRepresentation
37class StepFEA_Surface3dElementRepresentation : public StepFEA_ElementRepresentation
38{
39
40public:
41
42
43 //! Empty constructor
44 Standard_EXPORT StepFEA_Surface3dElementRepresentation();
45
46 //! Initialize all fields (own and inherited)
47 Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aRepresentation_Name, const Handle(StepRepr_HArray1OfRepresentationItem)& aRepresentation_Items, const Handle(StepRepr_RepresentationContext)& aRepresentation_ContextOfItems, const Handle(StepFEA_HArray1OfNodeRepresentation)& aElementRepresentation_NodeList, const Handle(StepFEA_FeaModel3d)& aModelRef, const Handle(StepElement_Surface3dElementDescriptor)& aElementDescriptor, const Handle(StepElement_SurfaceElementProperty)& aProperty, const Handle(StepElement_ElementMaterial)& aMaterial);
48
49 //! Returns field ModelRef
50 Standard_EXPORT Handle(StepFEA_FeaModel3d) ModelRef() const;
51
52 //! Set field ModelRef
53 Standard_EXPORT void SetModelRef (const Handle(StepFEA_FeaModel3d)& ModelRef);
54
55 //! Returns field ElementDescriptor
56 Standard_EXPORT Handle(StepElement_Surface3dElementDescriptor) ElementDescriptor() const;
57
58 //! Set field ElementDescriptor
59 Standard_EXPORT void SetElementDescriptor (const Handle(StepElement_Surface3dElementDescriptor)& ElementDescriptor);
60
61 //! Returns field Property
62 Standard_EXPORT Handle(StepElement_SurfaceElementProperty) Property() const;
63
64 //! Set field Property
65 Standard_EXPORT void SetProperty (const Handle(StepElement_SurfaceElementProperty)& Property);
66
67 //! Returns field Material
68 Standard_EXPORT Handle(StepElement_ElementMaterial) Material() const;
69
70 //! Set field Material
71 Standard_EXPORT void SetMaterial (const Handle(StepElement_ElementMaterial)& Material);
72
73
74
75
92efcf78 76 DEFINE_STANDARD_RTTIEXT(StepFEA_Surface3dElementRepresentation,StepFEA_ElementRepresentation)
42cf5bc1 77
78protected:
79
80
81
82
83private:
84
85
86 Handle(StepFEA_FeaModel3d) theModelRef;
87 Handle(StepElement_Surface3dElementDescriptor) theElementDescriptor;
88 Handle(StepElement_SurfaceElementProperty) theProperty;
89 Handle(StepElement_ElementMaterial) theMaterial;
90
91
92};
93
94
95
96
97
98
99
100#endif // _StepFEA_Surface3dElementRepresentation_HeaderFile