File indexing completed on 2026-06-05 08:35:07
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _StepVisual_AnnotationPlane_HeaderFile
0017 #define _StepVisual_AnnotationPlane_HeaderFile
0018
0019 #include <Standard.hxx>
0020
0021 #include <StepVisual_AnnotationOccurrence.hxx>
0022 #include <StepVisual_HArray1OfAnnotationPlaneElement.hxx>
0023
0024 class StepVisual_AnnotationPlane;
0025 DEFINE_STANDARD_HANDLE(StepVisual_AnnotationPlane, StepVisual_AnnotationOccurrence)
0026
0027 class StepVisual_AnnotationPlane : public StepVisual_AnnotationOccurrence
0028 {
0029 public:
0030
0031 Standard_EXPORT StepVisual_AnnotationPlane();
0032
0033 Standard_EXPORT void Init(
0034 const Handle(TCollection_HAsciiString)& theName,
0035 const Handle(StepVisual_HArray1OfPresentationStyleAssignment)& theStyles,
0036 const Handle(Standard_Transient)& theItem,
0037 const Handle(StepVisual_HArray1OfAnnotationPlaneElement)& theElements);
0038
0039
0040 inline Handle(StepVisual_HArray1OfAnnotationPlaneElement) Elements() const { return myElements; }
0041
0042
0043 inline void SetElements(const Handle(StepVisual_HArray1OfAnnotationPlaneElement)& theElements)
0044 {
0045 myElements = theElements;
0046 }
0047
0048
0049 inline Standard_Integer NbElements() const
0050 {
0051 return (myElements.IsNull() ? 0 : myElements->Length());
0052 }
0053
0054
0055 inline StepVisual_AnnotationPlaneElement ElementsValue(const Standard_Integer theNum) const
0056 {
0057 return myElements->Value(theNum);
0058 }
0059
0060
0061 inline void SetElementsValue(const Standard_Integer theNum,
0062 const StepVisual_AnnotationPlaneElement& theItem)
0063 {
0064 myElements->SetValue(theNum, theItem);
0065 }
0066
0067 DEFINE_STANDARD_RTTIEXT(StepVisual_AnnotationPlane, StepVisual_AnnotationOccurrence)
0068
0069 private:
0070 Handle(StepVisual_HArray1OfAnnotationPlaneElement) myElements;
0071 };
0072 #endif