0027235: Export GDT: Annotation plane and Presentation.

Implement Null_Style STEP type.
Implement export of annotation planes and presentation as tessellated geometry.
Add tests.
This commit is contained in:
ika
2016-03-09 14:25:17 +03:00
committed by bugmaster
parent fe1a6e4e54
commit b0cef6061a
29 changed files with 747 additions and 46 deletions

View File

@@ -16,6 +16,7 @@
#include <Standard_Transient.hxx>
#include <StepVisual_CurveStyle.hxx>
#include <StepVisual_FillAreaStyle.hxx>
#include <StepVisual_NullStyleMember.hxx>
#include <StepVisual_PointStyle.hxx>
#include <StepVisual_PresentationStyleSelect.hxx>
#include <StepVisual_SurfaceStyleUsage.hxx>
@@ -32,6 +33,7 @@ Standard_Integer StepVisual_PresentationStyleSelect::CaseNum(const Handle(Standa
// if (ent->IsKind(STANDARD_TYPE(StepVisual_SymbolStyle))) return 4;
// if (ent->IsKind(STANDARD_TYPE(StepVisual_FillAreaStyle))) return 5;
// if (ent->IsKind(STANDARD_TYPE(StepVisual_TextStyle))) return 6;
if (ent->IsKind(STANDARD_TYPE(StepVisual_NullStyleMember))) return 7;
return 0;
}
@@ -45,6 +47,11 @@ Handle(StepVisual_CurveStyle) StepVisual_PresentationStyleSelect::CurveStyle ()
return GetCasted(StepVisual_CurveStyle,Value());
}
Handle(StepVisual_NullStyleMember) StepVisual_PresentationStyleSelect::NullStyle () const
{
return GetCasted(StepVisual_NullStyleMember,Value());
}
Handle(StepVisual_SurfaceStyleUsage) StepVisual_PresentationStyleSelect::SurfaceStyleUsage () const
{
return GetCasted(StepVisual_SurfaceStyleUsage,Value());