File indexing completed on 2025-01-18 10:05:15
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
0032 Standard_EXPORT StepVisual_AnnotationPlane();
0033
0034 Standard_EXPORT void Init (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
0041 {
0042 return myElements;
0043 }
0044
0045
0046 inline void SetElements (const Handle(StepVisual_HArray1OfAnnotationPlaneElement) &theElements)
0047 {
0048 myElements = theElements;
0049 }
0050
0051
0052 inline Standard_Integer NbElements () const
0053 {
0054 return (myElements.IsNull() ? 0 : myElements->Length());
0055 }
0056
0057
0058 inline StepVisual_AnnotationPlaneElement ElementsValue(const Standard_Integer theNum) const
0059 {
0060 return myElements->Value(theNum);
0061 }
0062
0063
0064 inline void SetElementsValue(const Standard_Integer theNum, const StepVisual_AnnotationPlaneElement& theItem)
0065 {
0066 myElements->SetValue (theNum, theItem);
0067 }
0068
0069 DEFINE_STANDARD_RTTIEXT(StepVisual_AnnotationPlane,StepVisual_AnnotationOccurrence)
0070
0071 private:
0072
0073 Handle(StepVisual_HArray1OfAnnotationPlaneElement) myElements;
0074 };
0075 #endif