// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _IGESAppli_NodalResults_HeaderFile #define _IGESAppli_NodalResults_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_IGESAppli_NodalResults_HeaderFile #include #endif #ifndef _Handle_IGESDimen_GeneralNote_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _Handle_TColStd_HArray1OfInteger_HeaderFile #include #endif #ifndef _Handle_IGESAppli_HArray1OfNode_HeaderFile #include #endif #ifndef _Handle_TColStd_HArray2OfReal_HeaderFile #include #endif #ifndef _IGESData_IGESEntity_HeaderFile #include #endif #ifndef _Handle_IGESAppli_Node_HeaderFile #include #endif class IGESDimen_GeneralNote; class TColStd_HArray1OfInteger; class IGESAppli_HArray1OfNode; class TColStd_HArray2OfReal; class Standard_DimensionMismatch; class Standard_OutOfRange; class IGESAppli_Node; //! defines NodalResults, Type <146>
//! in package IGESAppli
//! Used to store the Analysis Data results per FEM Node
class IGESAppli_NodalResults : public IGESData_IGESEntity { public: Standard_EXPORT IGESAppli_NodalResults(); //! This method is used to set the fields of the class
//! NodalResults
//! - aNote : General Note that describes the
//! analysis case
//! - aNumber : Analysis Subcase number
//! - aTime : Analysis time
//! - allNodeIdentifiers : Node identifiers for the nodes
//! - allNodes : List of FEM Node Entities
//! - allData : Values of the Finite Element analysis
//! result data
//! raises exception if Lengths of allNodeIdentifiers, allNodes and
//! allData (Cols) are not same
Standard_EXPORT void Init(const Handle(IGESDimen_GeneralNote)& aNote,const Standard_Integer aNumber,const Standard_Real aTime,const Handle(TColStd_HArray1OfInteger)& allNodeIdentifiers,const Handle(IGESAppli_HArray1OfNode)& allNodes,const Handle(TColStd_HArray2OfReal)& allData) ; //! Changes the FormNumber (which indicates Type of Result)
//! Error if not in range [0-34]
Standard_EXPORT void SetFormNumber(const Standard_Integer form) ; //! returns the General Note Entity that describes the analysis case
Standard_EXPORT Handle_IGESDimen_GeneralNote Note() const; //! returns zero if there is no subcase
Standard_EXPORT Standard_Integer SubCaseNumber() const; //! returns the Analysis time value for this subcase. It is the time
//! at which transient analysis results occur in the mathematical
//! FEM model.
Standard_EXPORT Standard_Real Time() const; //! returns number of real values in array V for a FEM node
Standard_EXPORT Standard_Integer NbData() const; //! returns number of FEM nodes for which data is to be read.
Standard_EXPORT Standard_Integer NbNodes() const; //! returns FEM node number identifier for the (Index)th node
//! raises exception if Index <= 0 or Index > NbNodes
Standard_EXPORT Standard_Integer NodeIdentifier(const Standard_Integer Index) const; //! returns the node as specified by the Index
//! raises exception if Index <= 0 or Index > NbNodes
Standard_EXPORT Handle_IGESAppli_Node Node(const Standard_Integer Index) const; //! returns the finite element analysis result value
//! raises exception if (NodeNum <= 0 or NodeNum > NbNodes()) or
//! if (DataNum <=0 or DataNum > NbData())
Standard_EXPORT Standard_Real Data(const Standard_Integer NodeNum,const Standard_Integer DataNum) const; DEFINE_STANDARD_RTTI(IGESAppli_NodalResults) protected: private: Handle_IGESDimen_GeneralNote theNote; Standard_Integer theSubCaseNum; Standard_Real theTime; Handle_TColStd_HArray1OfInteger theNodeIdentifiers; Handle_IGESAppli_HArray1OfNode theNodes; Handle_TColStd_HArray2OfReal theData; }; // other Inline functions and methods (like "C++: function call" methods) #endif