Warning, file /include/opencascade/StepVisual_AnnotationPlane.hxx was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
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_AnnotationPlaneElement.hxx>
0023 #include <NCollection_Array1.hxx>
0024 #include <NCollection_HArray1.hxx>
0025
0026 class StepVisual_AnnotationPlane : public StepVisual_AnnotationOccurrence
0027 {
0028 public:
0029
0030 Standard_EXPORT StepVisual_AnnotationPlane();
0031
0032 Standard_EXPORT void Init(
0033 const occ::handle<TCollection_HAsciiString>& theName,
0034 const occ::handle<NCollection_HArray1<occ::handle<StepVisual_PresentationStyleAssignment>>>&
0035 theStyles,
0036 const occ::handle<Standard_Transient>& theItem,
0037 const occ::handle<NCollection_HArray1<StepVisual_AnnotationPlaneElement>>& theElements);
0038
0039
0040 inline occ::handle<NCollection_HArray1<StepVisual_AnnotationPlaneElement>> Elements() const
0041 {
0042 return myElements;
0043 }
0044
0045
0046 inline void SetElements(
0047 const occ::handle<NCollection_HArray1<StepVisual_AnnotationPlaneElement>>& theElements)
0048 {
0049 myElements = theElements;
0050 }
0051
0052
0053 inline int NbElements() const { return (myElements.IsNull() ? 0 : myElements->Length()); }
0054
0055
0056 inline StepVisual_AnnotationPlaneElement ElementsValue(const int theNum) const
0057 {
0058 return myElements->Value(theNum);
0059 }
0060
0061
0062 inline void SetElementsValue(const int theNum, const StepVisual_AnnotationPlaneElement& theItem)
0063 {
0064 myElements->SetValue(theNum, theItem);
0065 }
0066
0067 DEFINE_STANDARD_RTTIEXT(StepVisual_AnnotationPlane, StepVisual_AnnotationOccurrence)
0068
0069 private:
0070 occ::handle<NCollection_HArray1<StepVisual_AnnotationPlaneElement>> myElements;
0071 };
0072 #endif