mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0024002: Overall code and build procedure refactoring -- automatic
Automatic upgrade of OCCT code by command "occt_upgrade . -nocdl": - WOK-generated header files from inc and sources from drv are moved to src - CDL files removed - All packages are converted to nocdlpack
This commit is contained in:
2
src/StepAP209/FILES
Normal file
2
src/StepAP209/FILES
Normal file
@@ -0,0 +1,2 @@
|
||||
StepAP209_Construct.cxx
|
||||
StepAP209_Construct.hxx
|
@@ -1,37 +0,0 @@
|
||||
-- Created on: 1999-11-17
|
||||
-- Created by: Andrey BETENEV
|
||||
-- Copyright (c) 1999 Matra Datavision
|
||||
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
package StepAP209
|
||||
|
||||
---Purpose:
|
||||
|
||||
uses
|
||||
|
||||
XSControl,
|
||||
STEPConstruct,
|
||||
StepData,
|
||||
StepShape,
|
||||
StepRepr,
|
||||
StepBasic,
|
||||
StepFEA,
|
||||
StepElement
|
||||
|
||||
is
|
||||
|
||||
|
||||
class Construct;
|
||||
|
||||
end StepAP209;
|
@@ -1,138 +0,0 @@
|
||||
-- Created on: 2002-12-06
|
||||
-- Created by: data exchange team
|
||||
-- Copyright (c) 2002-2014 OPEN CASCADE SAS
|
||||
--
|
||||
-- This file is part of Open CASCADE Technology software library.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or modify it under
|
||||
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
-- by the Free Software Foundation, with special exception defined in the file
|
||||
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
-- distribution for complete text of the license and disclaimer of any warranty.
|
||||
--
|
||||
-- Alternatively, this file may be used under the terms of Open CASCADE
|
||||
-- commercial license or contractual agreement.
|
||||
|
||||
class Construct from StepAP209 inherits Tool from STEPConstruct
|
||||
|
||||
---Purpose: Basic tool for working with AP209 model
|
||||
|
||||
uses
|
||||
WorkSession from XSControl,
|
||||
Product from StepBasic,
|
||||
ProductDefinition from StepBasic,
|
||||
ProductDefinitionFormation from StepBasic,
|
||||
ProductDefinitionShape from StepRepr,
|
||||
HSequenceOfElementRepresentation from StepFEA,
|
||||
HSequenceOfElementMaterial from StepElement,
|
||||
HSequenceOfCurveElementSectionDefinition from StepElement,
|
||||
HSequenceOfElementGeometricRelationship from StepFEA,
|
||||
FeaModel from StepFEA,
|
||||
ShapeRepresentation from StepShape,
|
||||
Curve3dElementRepresentation from StepFEA,
|
||||
ElementRepresentation from StepFEA,
|
||||
FeaAxis2Placement3d from StepFEA,
|
||||
StepModel from StepData
|
||||
|
||||
|
||||
is
|
||||
|
||||
Create returns Construct;
|
||||
---Purpose: Creates an empty tool
|
||||
|
||||
Create (WS: WorkSession from XSControl) returns Construct;
|
||||
---Purpose: Creates a tool and initializes it
|
||||
|
||||
Init (me: in out; WS: WorkSession from XSControl) returns Boolean;
|
||||
---Purpose: Initializes tool; returns True if succeeded
|
||||
|
||||
IsDesing(me; PD: ProductDefinitionFormation from StepBasic) returns Boolean;
|
||||
IsAnalys(me; PD: ProductDefinitionFormation from StepBasic) returns Boolean;
|
||||
|
||||
|
||||
-- methods for getting fea_model
|
||||
FeaModel(me; Prod: Product from StepBasic) returns FeaModel from StepFEA;
|
||||
|
||||
FeaModel(me; PDF: ProductDefinitionFormation from StepBasic) returns FeaModel from StepFEA;
|
||||
|
||||
|
||||
-- methods for gettig fea_axis2_placement_3d
|
||||
GetFeaAxis2Placement3d(me; theFeaModel: FeaModel from StepFEA)
|
||||
returns FeaAxis2Placement3d from StepFEA;
|
||||
|
||||
|
||||
-- methods for getting idealized_analysis_shape
|
||||
IdealShape(me; Prod: Product from StepBasic) returns ShapeRepresentation from StepShape;
|
||||
|
||||
IdealShape(me; PDF: ProductDefinitionFormation from StepBasic) returns ShapeRepresentation from StepShape;
|
||||
|
||||
|
||||
-- methods for getting nominal_design_shape
|
||||
NominShape(me; Prod: Product from StepBasic) returns ShapeRepresentation from StepShape;
|
||||
|
||||
NominShape(me; PDF: ProductDefinitionFormation from StepBasic) returns ShapeRepresentation from StepShape;
|
||||
|
||||
|
||||
-- method for getting list of element_material
|
||||
GetElementMaterial(me) returns HSequenceOfElementMaterial from StepElement;
|
||||
|
||||
-- method for getting list of element_geometric_relationship
|
||||
GetElemGeomRelat(me) returns HSequenceOfElementGeometricRelationship from StepFEA;
|
||||
|
||||
|
||||
-- methods for getting list of element_representations
|
||||
GetElements1D(me; theFeaModel: FeaModel from StepFEA)
|
||||
returns HSequenceOfElementRepresentation from StepFEA;
|
||||
|
||||
GetElements2D(me; theFEAModel: FeaModel from StepFEA)
|
||||
returns HSequenceOfElementRepresentation from StepFEA;
|
||||
|
||||
GetElements3D(me; theFEAModel: FeaModel from StepFEA)
|
||||
returns HSequenceOfElementRepresentation from StepFEA;
|
||||
|
||||
GetFeaElements(me; theFeaModel: FeaModel from StepFEA;
|
||||
theType: Type from Standard)
|
||||
returns HSequenceOfElementRepresentation from StepFEA is protected;
|
||||
|
||||
|
||||
GetCurElemSection(me; ElemRepr: Curve3dElementRepresentation from StepFEA)
|
||||
returns HSequenceOfCurveElementSectionDefinition from StepElement;
|
||||
--- Purpose: Getting list of curve_element_section_definitions
|
||||
--- for given element_representation
|
||||
|
||||
GetShReprForElem(me; ElemRepr: ElementRepresentation from StepFEA)
|
||||
returns ShapeRepresentation from StepShape;
|
||||
|
||||
CreateAnalysStructure(me; Prod: Product from StepBasic) returns Boolean from Standard;
|
||||
--- Purpose: Create empty structure for idealized_analysis_shape
|
||||
|
||||
CreateFeaStructure(me; Prod: Product from StepBasic) returns Boolean from Standard;
|
||||
--- Purpose: Create fea structure
|
||||
|
||||
ReplaceCcDesingToApplied(me) returns Boolean from Standard;
|
||||
--- Purpose: Put into model entities Applied... for AP209 instead of
|
||||
-- entities CcDesing... from AP203.
|
||||
|
||||
CreateAddingEntities(me; AnaPD: ProductDefinition from StepBasic) returns Boolean from Standard;
|
||||
--- Purpose: Create approval.. , date.. , time.. , person.. and
|
||||
-- organization.. entities for analysis structure
|
||||
|
||||
CreateAP203Structure(me) returns StepModel from StepData;
|
||||
--- Purpose: Create AP203 structure from existing AP209 structure
|
||||
|
||||
CreateAdding203Entities(me; PD: ProductDefinition from StepBasic;
|
||||
aModel: in out StepModel from StepData)
|
||||
returns Boolean from Standard;
|
||||
--- Purpose: Create approval.. , date.. , time.. , person.. and
|
||||
-- organization.. entities for 203 structure
|
||||
|
||||
-- auxiliary methods
|
||||
FeaModel(me; PDS: ProductDefinitionShape from StepRepr) returns FeaModel from StepFEA;
|
||||
FeaModel(me; PD: ProductDefinition from StepBasic) returns FeaModel from StepFEA;
|
||||
IdealShape(me; PD: ProductDefinition from StepBasic) returns ShapeRepresentation from StepShape;
|
||||
IdealShape(me; PDS: ProductDefinitionShape from StepRepr) returns ShapeRepresentation from StepShape;
|
||||
|
||||
|
||||
--fields
|
||||
|
||||
end Construct;
|
@@ -11,127 +11,115 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <StepAP209_Construct.ixx>
|
||||
|
||||
#include <HeaderSection_FileDescription.hxx>
|
||||
#include <HeaderSection_FileName.hxx>
|
||||
#include <HeaderSection_FileSchema.hxx>
|
||||
#include <Interface_EntityIterator.hxx>
|
||||
#include <Interface_HArray1OfHAsciiString.hxx>
|
||||
#include <OSD_Process.hxx>
|
||||
#include <Quantity_Date.hxx>
|
||||
#include <StepAP203_CcDesignApproval.hxx>
|
||||
#include <StepAP203_CcDesignDateAndTimeAssignment.hxx>
|
||||
#include <StepAP203_CcDesignPersonAndOrganizationAssignment.hxx>
|
||||
#include <StepAP203_CcDesignSecurityClassification.hxx>
|
||||
#include <StepAP203_HArray1OfApprovedItem.hxx>
|
||||
#include <StepAP203_HArray1OfClassifiedItem.hxx>
|
||||
#include <StepAP203_HArray1OfDateTimeItem.hxx>
|
||||
#include <StepAP203_HArray1OfPersonOrganizationItem.hxx>
|
||||
#include <StepAP209_Construct.hxx>
|
||||
#include <StepAP214_AppliedApprovalAssignment.hxx>
|
||||
#include <StepAP214_AppliedDateAndTimeAssignment.hxx>
|
||||
#include <StepAP214_AppliedPersonAndOrganizationAssignment.hxx>
|
||||
#include <StepAP214_AppliedSecurityClassificationAssignment.hxx>
|
||||
#include <StepAP214_ApprovalItem.hxx>
|
||||
#include <StepAP214_DateAndTimeItem.hxx>
|
||||
#include <StepAP214_HArray1OfApprovalItem.hxx>
|
||||
#include <StepAP214_HArray1OfDateAndTimeItem.hxx>
|
||||
#include <StepAP214_HArray1OfPersonAndOrganizationItem.hxx>
|
||||
#include <StepAP214_HArray1OfSecurityClassificationItem.hxx>
|
||||
#include <StepAP214_PersonAndOrganizationItem.hxx>
|
||||
#include <StepAP214_SecurityClassificationItem.hxx>
|
||||
#include <StepBasic_ApplicationContext.hxx>
|
||||
#include <StepBasic_ApplicationProtocolDefinition.hxx>
|
||||
#include <StepBasic_Approval.hxx>
|
||||
#include <StepBasic_ApprovalDateTime.hxx>
|
||||
#include <StepBasic_ApprovalPersonOrganization.hxx>
|
||||
#include <StepBasic_ApprovalRole.hxx>
|
||||
#include <StepBasic_ApprovalStatus.hxx>
|
||||
#include <StepBasic_CalendarDate.hxx>
|
||||
#include <StepBasic_CoordinatedUniversalTimeOffset.hxx>
|
||||
#include <StepBasic_DateAndTime.hxx>
|
||||
#include <StepBasic_DateTimeRole.hxx>
|
||||
#include <StepBasic_DateTimeSelect.hxx>
|
||||
#include <StepBasic_DesignContext.hxx>
|
||||
#include <StepBasic_DimensionalExponents.hxx>
|
||||
#include <StepBasic_HArray1OfNamedUnit.hxx>
|
||||
#include <StepBasic_HArray1OfProduct.hxx>
|
||||
#include <StepBasic_HArray1OfProductContext.hxx>
|
||||
#include <StepBasic_HArray1OfUncertaintyMeasureWithUnit.hxx>
|
||||
#include <StepBasic_LocalTime.hxx>
|
||||
#include <StepBasic_MechanicalContext.hxx>
|
||||
#include <StepBasic_Organization.hxx>
|
||||
#include <StepBasic_Person.hxx>
|
||||
#include <StepBasic_PersonAndOrganization.hxx>
|
||||
#include <StepBasic_PersonAndOrganizationRole.hxx>
|
||||
#include <StepBasic_PersonOrganizationSelect.hxx>
|
||||
#include <StepBasic_Product.hxx>
|
||||
#include <StepBasic_ProductCategory.hxx>
|
||||
#include <StepBasic_ProductCategoryRelationship.hxx>
|
||||
#include <StepBasic_ProductContext.hxx>
|
||||
#include <StepBasic_ProductDefinition.hxx>
|
||||
#include <StepBasic_ProductDefinitionContext.hxx>
|
||||
#include <StepBasic_ProductDefinitionFormation.hxx>
|
||||
#include <StepBasic_ProductDefinitionFormationRelationship.hxx>
|
||||
#include <StepBasic_ProductRelatedProductCategory.hxx>
|
||||
#include <StepBasic_SecurityClassification.hxx>
|
||||
#include <StepBasic_SecurityClassificationLevel.hxx>
|
||||
#include <StepBasic_SiUnitAndMassUnit.hxx>
|
||||
#include <StepBasic_SiUnitAndThermodynamicTemperatureUnit.hxx>
|
||||
#include <StepBasic_SiUnitAndTimeUnit.hxx>
|
||||
#include <StepData_StepModel.hxx>
|
||||
#include <StepElement_AnalysisItemWithinRepresentation.hxx>
|
||||
#include <StepElement_ElementMaterial.hxx>
|
||||
#include <StepFEA_CoordinateSystemType.hxx>
|
||||
#include <StepFEA_Curve3dElementProperty.hxx>
|
||||
#include <StepFEA_Curve3dElementRepresentation.hxx>
|
||||
#include <StepFEA_CurveElementIntervalConstant.hxx>
|
||||
#include <StepFEA_ElementGeometricRelationship.hxx>
|
||||
#include <StepFEA_ElementRepresentation.hxx>
|
||||
#include <StepFEA_FeaAxis2Placement3d.hxx>
|
||||
#include <StepFEA_FeaModel.hxx>
|
||||
#include <StepFEA_FeaModel3d.hxx>
|
||||
#include <StepFEA_FeaModelDefinition.hxx>
|
||||
#include <StepFEA_HArray1OfCurveElementInterval.hxx>
|
||||
#include <StepFEA_Surface3dElementRepresentation.hxx>
|
||||
#include <StepFEA_Volume3dElementRepresentation.hxx>
|
||||
#include <StepGeom_CartesianPoint.hxx>
|
||||
#include <StepGeom_Direction.hxx>
|
||||
#include <StepGeom_GeometricRepresentationContextAndGlobalUnitAssignedContext.hxx>
|
||||
#include <StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx.hxx>
|
||||
#include <StepRepr_GlobalUncertaintyAssignedContext.hxx>
|
||||
#include <StepRepr_GlobalUnitAssignedContext.hxx>
|
||||
#include <StepRepr_HArray1OfRepresentationItem.hxx>
|
||||
#include <StepRepr_ProductDefinitionShape.hxx>
|
||||
#include <StepRepr_PropertyDefinitionRepresentation.hxx>
|
||||
#include <StepRepr_RepresentationItem.hxx>
|
||||
#include <StepRepr_ShapeRepresentationRelationship.hxx>
|
||||
#include <StepRepr_StructuralResponseProperty.hxx>
|
||||
#include <StepRepr_StructuralResponsePropertyDefinitionRepresentation.hxx>
|
||||
#include <StepShape_ShapeDefinitionRepresentation.hxx>
|
||||
#include <StepShape_ShapeRepresentation.hxx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
#include <TColStd_HArray1OfAsciiString.hxx>
|
||||
#include <TColStd_HArray1OfReal.hxx>
|
||||
#include <OSD_Process.hxx>
|
||||
#include <Quantity_Date.hxx>
|
||||
|
||||
#include <HeaderSection_FileName.hxx>
|
||||
#include <HeaderSection_FileSchema.hxx>
|
||||
#include <HeaderSection_FileDescription.hxx>
|
||||
|
||||
#include <StepBasic_ProductDefinitionFormation.hxx>
|
||||
#include <StepBasic_ProductDefinitionFormationRelationship.hxx>
|
||||
#include <StepBasic_HArray1OfProductContext.hxx>
|
||||
#include <StepBasic_ProductDefinitionContext.hxx>
|
||||
#include <StepBasic_HArray1OfNamedUnit.hxx>
|
||||
#include <StepBasic_HArray1OfUncertaintyMeasureWithUnit.hxx>
|
||||
#include <StepBasic_SiUnitAndTimeUnit.hxx>
|
||||
#include <StepBasic_SiUnitAndMassUnit.hxx>
|
||||
#include <StepBasic_SiUnitAndThermodynamicTemperatureUnit.hxx>
|
||||
#include <StepBasic_DimensionalExponents.hxx>
|
||||
#include <StepBasic_ApprovalStatus.hxx>
|
||||
#include <StepBasic_Approval.hxx>
|
||||
#include <StepBasic_SecurityClassificationLevel.hxx>
|
||||
#include <StepBasic_SecurityClassification.hxx>
|
||||
#include <StepBasic_CalendarDate.hxx>
|
||||
#include <StepBasic_CoordinatedUniversalTimeOffset.hxx>
|
||||
#include <StepBasic_LocalTime.hxx>
|
||||
#include <StepBasic_DateAndTime.hxx>
|
||||
#include <StepBasic_DateTimeRole.hxx>
|
||||
#include <StepBasic_ApprovalDateTime.hxx>
|
||||
#include <StepBasic_DateTimeSelect.hxx>
|
||||
#include <StepBasic_Person.hxx>
|
||||
#include <StepBasic_Organization.hxx>
|
||||
#include <StepBasic_PersonAndOrganization.hxx>
|
||||
#include <StepBasic_PersonAndOrganizationRole.hxx>
|
||||
#include <StepBasic_ApprovalRole.hxx>
|
||||
#include <StepBasic_ApprovalPersonOrganization.hxx>
|
||||
#include <StepBasic_PersonOrganizationSelect.hxx>
|
||||
#include <StepBasic_HArray1OfProduct.hxx>
|
||||
#include <StepBasic_ProductRelatedProductCategory.hxx>
|
||||
#include <StepBasic_ProductCategory.hxx>
|
||||
#include <StepBasic_ProductCategoryRelationship.hxx>
|
||||
#include <StepBasic_MechanicalContext.hxx>
|
||||
#include <StepBasic_DesignContext.hxx>
|
||||
#include <StepBasic_ApplicationProtocolDefinition.hxx>
|
||||
#include <StepBasic_ApplicationContext.hxx>
|
||||
|
||||
#include <StepRepr_PropertyDefinitionRepresentation.hxx>
|
||||
#include <StepRepr_StructuralResponseProperty.hxx>
|
||||
#include <StepRepr_StructuralResponsePropertyDefinitionRepresentation.hxx>
|
||||
#include <StepRepr_RepresentationItem.hxx>
|
||||
#include <StepRepr_HArray1OfRepresentationItem.hxx>
|
||||
#include <StepRepr_ShapeRepresentationRelationship.hxx>
|
||||
#include <StepRepr_GlobalUncertaintyAssignedContext.hxx>
|
||||
#include <StepRepr_GlobalUnitAssignedContext.hxx>
|
||||
|
||||
#include <StepFEA_Curve3dElementRepresentation.hxx>
|
||||
#include <StepFEA_Surface3dElementRepresentation.hxx>
|
||||
#include <StepFEA_Volume3dElementRepresentation.hxx>
|
||||
#include <StepFEA_FeaModelDefinition.hxx>
|
||||
#include <StepFEA_HArray1OfCurveElementInterval.hxx>
|
||||
#include <StepFEA_CurveElementIntervalConstant.hxx>
|
||||
#include <StepFEA_Curve3dElementProperty.hxx>
|
||||
#include <StepFEA_ElementGeometricRelationship.hxx>
|
||||
#include <StepFEA_FeaModel3d.hxx>
|
||||
#include <StepFEA_FeaAxis2Placement3d.hxx>
|
||||
#include <StepFEA_CoordinateSystemType.hxx>
|
||||
|
||||
#include <StepShape_ShapeDefinitionRepresentation.hxx>
|
||||
|
||||
#include <StepData_StepModel.hxx>
|
||||
|
||||
#include <StepElement_AnalysisItemWithinRepresentation.hxx>
|
||||
|
||||
#include <StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx.hxx>
|
||||
#include <StepGeom_GeometricRepresentationContextAndGlobalUnitAssignedContext.hxx>
|
||||
#include <StepGeom_CartesianPoint.hxx>
|
||||
#include <StepGeom_Direction.hxx>
|
||||
|
||||
#include <StepAP203_CcDesignApproval.hxx>
|
||||
#include <StepAP203_CcDesignPersonAndOrganizationAssignment.hxx>
|
||||
#include <StepAP203_CcDesignDateAndTimeAssignment.hxx>
|
||||
#include <StepAP203_CcDesignSecurityClassification.hxx>
|
||||
#include <StepAP203_HArray1OfApprovedItem.hxx>
|
||||
#include <StepAP203_HArray1OfPersonOrganizationItem.hxx>
|
||||
#include <StepAP203_HArray1OfDateTimeItem.hxx>
|
||||
#include <StepAP203_HArray1OfClassifiedItem.hxx>
|
||||
|
||||
#include <StepAP214_AppliedApprovalAssignment.hxx>
|
||||
#include <StepAP214_AppliedPersonAndOrganizationAssignment.hxx>
|
||||
#include <StepAP214_AppliedDateAndTimeAssignment.hxx>
|
||||
#include <StepAP214_AppliedSecurityClassificationAssignment.hxx>
|
||||
#include <StepAP214_HArray1OfApprovalItem.hxx>
|
||||
#include <StepAP214_ApprovalItem.hxx>
|
||||
#include <StepAP214_HArray1OfPersonAndOrganizationItem.hxx>
|
||||
#include <StepAP214_PersonAndOrganizationItem.hxx>
|
||||
#include <StepAP214_HArray1OfDateAndTimeItem.hxx>
|
||||
#include <StepAP214_DateAndTimeItem.hxx>
|
||||
#include <StepAP214_HArray1OfSecurityClassificationItem.hxx>
|
||||
#include <StepAP214_SecurityClassificationItem.hxx>
|
||||
#include <StepAP214_ApprovalItem.hxx>
|
||||
#include <StepElement_ElementMaterial.hxx>
|
||||
#include <StepFEA_FeaModel.hxx>
|
||||
#include <StepFEA_ElementRepresentation.hxx>
|
||||
#include <StepShape_ShapeRepresentation.hxx>
|
||||
#include <StepBasic_ProductDefinition.hxx>
|
||||
#include <StepRepr_ProductDefinitionShape.hxx>
|
||||
#include <StepBasic_ProductContext.hxx>
|
||||
#include <XSControl_WorkSession.hxx>
|
||||
|
||||
//#include <.hxx>
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : StepAP209_Construct
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepAP209_Construct::StepAP209_Construct ()
|
||||
{
|
||||
}
|
||||
|
148
src/StepAP209/StepAP209_Construct.hxx
Normal file
148
src/StepAP209/StepAP209_Construct.hxx
Normal file
@@ -0,0 +1,148 @@
|
||||
// Created on: 2002-12-06
|
||||
// Created by: data exchange team
|
||||
// Copyright (c) 2002-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _StepAP209_Construct_HeaderFile
|
||||
#define _StepAP209_Construct_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <STEPConstruct_Tool.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <StepElement_HSequenceOfElementMaterial.hxx>
|
||||
#include <StepFEA_HSequenceOfElementGeometricRelationship.hxx>
|
||||
#include <StepFEA_HSequenceOfElementRepresentation.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
#include <StepElement_HSequenceOfCurveElementSectionDefinition.hxx>
|
||||
class XSControl_WorkSession;
|
||||
class StepBasic_ProductDefinitionFormation;
|
||||
class StepFEA_FeaModel;
|
||||
class StepBasic_Product;
|
||||
class StepFEA_FeaAxis2Placement3d;
|
||||
class StepShape_ShapeRepresentation;
|
||||
class StepFEA_Curve3dElementRepresentation;
|
||||
class StepFEA_ElementRepresentation;
|
||||
class StepBasic_ProductDefinition;
|
||||
class StepData_StepModel;
|
||||
class StepRepr_ProductDefinitionShape;
|
||||
|
||||
|
||||
//! Basic tool for working with AP209 model
|
||||
class StepAP209_Construct : public STEPConstruct_Tool
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
//! Creates an empty tool
|
||||
Standard_EXPORT StepAP209_Construct();
|
||||
|
||||
//! Creates a tool and initializes it
|
||||
Standard_EXPORT StepAP209_Construct(const Handle(XSControl_WorkSession)& WS);
|
||||
|
||||
//! Initializes tool; returns True if succeeded
|
||||
Standard_EXPORT Standard_Boolean Init (const Handle(XSControl_WorkSession)& WS);
|
||||
|
||||
Standard_EXPORT Standard_Boolean IsDesing (const Handle(StepBasic_ProductDefinitionFormation)& PD) const;
|
||||
|
||||
Standard_EXPORT Standard_Boolean IsAnalys (const Handle(StepBasic_ProductDefinitionFormation)& PD) const;
|
||||
|
||||
Standard_EXPORT Handle(StepFEA_FeaModel) FeaModel (const Handle(StepBasic_Product)& Prod) const;
|
||||
|
||||
Standard_EXPORT Handle(StepFEA_FeaModel) FeaModel (const Handle(StepBasic_ProductDefinitionFormation)& PDF) const;
|
||||
|
||||
Standard_EXPORT Handle(StepFEA_FeaAxis2Placement3d) GetFeaAxis2Placement3d (const Handle(StepFEA_FeaModel)& theFeaModel) const;
|
||||
|
||||
Standard_EXPORT Handle(StepShape_ShapeRepresentation) IdealShape (const Handle(StepBasic_Product)& Prod) const;
|
||||
|
||||
Standard_EXPORT Handle(StepShape_ShapeRepresentation) IdealShape (const Handle(StepBasic_ProductDefinitionFormation)& PDF) const;
|
||||
|
||||
Standard_EXPORT Handle(StepShape_ShapeRepresentation) NominShape (const Handle(StepBasic_Product)& Prod) const;
|
||||
|
||||
Standard_EXPORT Handle(StepShape_ShapeRepresentation) NominShape (const Handle(StepBasic_ProductDefinitionFormation)& PDF) const;
|
||||
|
||||
Standard_EXPORT Handle(StepElement_HSequenceOfElementMaterial) GetElementMaterial() const;
|
||||
|
||||
Standard_EXPORT Handle(StepFEA_HSequenceOfElementGeometricRelationship) GetElemGeomRelat() const;
|
||||
|
||||
Standard_EXPORT Handle(StepFEA_HSequenceOfElementRepresentation) GetElements1D (const Handle(StepFEA_FeaModel)& theFeaModel) const;
|
||||
|
||||
Standard_EXPORT Handle(StepFEA_HSequenceOfElementRepresentation) GetElements2D (const Handle(StepFEA_FeaModel)& theFEAModel) const;
|
||||
|
||||
Standard_EXPORT Handle(StepFEA_HSequenceOfElementRepresentation) GetElements3D (const Handle(StepFEA_FeaModel)& theFEAModel) const;
|
||||
|
||||
//! Getting list of curve_element_section_definitions
|
||||
//! for given element_representation
|
||||
Standard_EXPORT Handle(StepElement_HSequenceOfCurveElementSectionDefinition) GetCurElemSection (const Handle(StepFEA_Curve3dElementRepresentation)& ElemRepr) const;
|
||||
|
||||
Standard_EXPORT Handle(StepShape_ShapeRepresentation) GetShReprForElem (const Handle(StepFEA_ElementRepresentation)& ElemRepr) const;
|
||||
|
||||
//! Create empty structure for idealized_analysis_shape
|
||||
Standard_EXPORT Standard_Boolean CreateAnalysStructure (const Handle(StepBasic_Product)& Prod) const;
|
||||
|
||||
//! Create fea structure
|
||||
Standard_EXPORT Standard_Boolean CreateFeaStructure (const Handle(StepBasic_Product)& Prod) const;
|
||||
|
||||
//! Put into model entities Applied... for AP209 instead of
|
||||
//! entities CcDesing... from AP203.
|
||||
Standard_EXPORT Standard_Boolean ReplaceCcDesingToApplied() const;
|
||||
|
||||
//! Create approval.. , date.. , time.. , person.. and
|
||||
//! organization.. entities for analysis structure
|
||||
Standard_EXPORT Standard_Boolean CreateAddingEntities (const Handle(StepBasic_ProductDefinition)& AnaPD) const;
|
||||
|
||||
//! Create AP203 structure from existing AP209 structure
|
||||
Standard_EXPORT Handle(StepData_StepModel) CreateAP203Structure() const;
|
||||
|
||||
//! Create approval.. , date.. , time.. , person.. and
|
||||
//! organization.. entities for 203 structure
|
||||
Standard_EXPORT Standard_Boolean CreateAdding203Entities (const Handle(StepBasic_ProductDefinition)& PD, Handle(StepData_StepModel)& aModel) const;
|
||||
|
||||
Standard_EXPORT Handle(StepFEA_FeaModel) FeaModel (const Handle(StepRepr_ProductDefinitionShape)& PDS) const;
|
||||
|
||||
Standard_EXPORT Handle(StepFEA_FeaModel) FeaModel (const Handle(StepBasic_ProductDefinition)& PD) const;
|
||||
|
||||
Standard_EXPORT Handle(StepShape_ShapeRepresentation) IdealShape (const Handle(StepBasic_ProductDefinition)& PD) const;
|
||||
|
||||
Standard_EXPORT Handle(StepShape_ShapeRepresentation) IdealShape (const Handle(StepRepr_ProductDefinitionShape)& PDS) const;
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
Standard_EXPORT Handle(StepFEA_HSequenceOfElementRepresentation) GetFeaElements (const Handle(StepFEA_FeaModel)& theFeaModel, const Handle(Standard_Type)& theType) const;
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _StepAP209_Construct_HeaderFile
|
Reference in New Issue
Block a user