mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
354
src/StepVisual/StepVisual.cdl
Executable file
354
src/StepVisual/StepVisual.cdl
Executable file
@@ -0,0 +1,354 @@
|
||||
-- File: StepVisual.cdl
|
||||
-- Created: Fri Dec 1 11:11:09 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
|
||||
|
||||
package StepVisual
|
||||
|
||||
---Purpose: Collects definitions of STEP entities for visual
|
||||
-- presentations from Part 46 of ISO10303
|
||||
|
||||
uses
|
||||
|
||||
|
||||
TCollection, TColStd, StepData, Interface, MMgt,
|
||||
StepBasic, StepRepr, StepGeom
|
||||
|
||||
is
|
||||
|
||||
|
||||
|
||||
enumeration CentralOrParallel is
|
||||
|
||||
copCentral,
|
||||
copParallel
|
||||
end;
|
||||
|
||||
enumeration MarkerType is -- reordered from CC1-Rev2 to Rev4
|
||||
|
||||
mtDot,
|
||||
mtX,
|
||||
mtPlus,
|
||||
mtAsterisk,
|
||||
mtRing,
|
||||
mtSquare,
|
||||
mtTriangle
|
||||
end;
|
||||
|
||||
enumeration SurfaceSide is
|
||||
|
||||
ssNegative,
|
||||
ssPositive,
|
||||
ssBoth
|
||||
end;
|
||||
|
||||
-- Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4 :enumeration TextPath
|
||||
|
||||
enumeration TextPath is
|
||||
|
||||
tpUp,
|
||||
tpRight,
|
||||
tpDown,
|
||||
tpLeft
|
||||
end;
|
||||
|
||||
-- Removed from CC1-Rev2 to Rev4, re-added CC2-Rev4 : -- FMA made Select Type
|
||||
class BoxCharacteristicSelect;
|
||||
|
||||
class DirectionCountSelect; -- FMA made Select Type for
|
||||
-- UDirectionCount (Integer)
|
||||
-- VDirectionCount (Integer)
|
||||
|
||||
class AreaOrView; -- Select Type for
|
||||
|
||||
-- PresentationArea
|
||||
-- PresentationView
|
||||
|
||||
|
||||
|
||||
-- Removed from CC1-Rev2 to Rev4 :class CurveOrAnnotationCurveOccurrence; Select Type
|
||||
|
||||
|
||||
class CurveStyleFontSelect; -- Select Type for
|
||||
|
||||
-- CurveStyleFont
|
||||
-- PreDefinedCurveFont
|
||||
-- ExternallyDefinedCurveFont
|
||||
|
||||
|
||||
-- Removed from CC1-Rev2 to Rev4 :class DefinedSymbolSelect; -- Select Type
|
||||
|
||||
-- Removed from CC1-Rev2 to Rev4 :class DraughtingCalloutElement; -- Select Type
|
||||
|
||||
class FillStyleSelect; -- Select Type for
|
||||
|
||||
-- FillAreaStyleColour
|
||||
-- ExternallyDefinedTileStyle
|
||||
-- FillAreaStyleTiles
|
||||
-- ExternallyDefinedHatchStyle
|
||||
-- FillAreaStyleHatching
|
||||
|
||||
|
||||
-- Removed from CC1-Rev2 to CC1-Rev4 , re-added CC2-Rev4
|
||||
class FontSelect; -- Select Type
|
||||
-- PreDefinedTextFont
|
||||
-- ExternallyDefinedTextFont
|
||||
|
||||
-- Removed from CC1-Rev2 to Rev4 :class HidingOrBlankingSelect; -- Select Type
|
||||
|
||||
class InvisibilityContext; -- Select Type for
|
||||
|
||||
-- PresentationRepresentation
|
||||
-- PresentationSet
|
||||
|
||||
|
||||
class InvisibleItem; -- Select Type for
|
||||
|
||||
-- StyledItem
|
||||
-- PresentationLayerAssignment
|
||||
-- PresentationRepresentation
|
||||
|
||||
|
||||
class LayeredItem; -- Select Type for
|
||||
|
||||
-- PresentationRepresentation
|
||||
-- RepresentationItem
|
||||
|
||||
|
||||
class MarkerSelect; -- Select Type for
|
||||
|
||||
class MarkerMember; -- Select Type for MarkerSelect (just one enum)
|
||||
|
||||
|
||||
class PresentationRepresentationSelect; -- Select Type for
|
||||
|
||||
-- PresentationRepresentation
|
||||
-- PresentationSet
|
||||
|
||||
|
||||
class PresentationSizeAssignmentSelect; -- Select Type for
|
||||
|
||||
-- PresentationView
|
||||
-- PresentationArea
|
||||
-- AreaInSet
|
||||
|
||||
|
||||
class PresentationStyleSelect; -- Select Type for
|
||||
|
||||
-- PointStyle
|
||||
-- CurveStyle
|
||||
-- SurfaceStyleUsage
|
||||
-- SymbolStyle
|
||||
-- FillAreaStyle
|
||||
-- TextStyle
|
||||
|
||||
class StyleContextSelect; -- Select Type for
|
||||
|
||||
-- Representation
|
||||
-- RepresentationItem
|
||||
-- PresentationSet
|
||||
|
||||
|
||||
class SurfaceStyleElementSelect; -- Select Type for
|
||||
|
||||
-- SurfaceStyleFillArea
|
||||
-- SurfaceStyleBoundary
|
||||
-- SurfaceStyleSilhouette
|
||||
-- SurfaceStyleSegmentationCurve
|
||||
-- SurfaceStyleControlGrid
|
||||
-- SurfaceStyleParameterLine
|
||||
|
||||
|
||||
-- Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4
|
||||
class TextOrCharacter; -- Select Type
|
||||
|
||||
|
||||
--class Protocol;
|
||||
|
||||
|
||||
class AreaInSet;
|
||||
class Colour;
|
||||
class BackgroundColour;
|
||||
class ColourSpecification;
|
||||
class ColourRgb;
|
||||
class CurveStyle;
|
||||
class CurveStyleFont;
|
||||
class CurveStyleFontPattern;
|
||||
-- Removed from CC1-Rev2 to Rev4 :class DrawingDefinition;
|
||||
--moved to StepBasic: class ExternalSource;
|
||||
--moved to StepBasic: class ExternallyDefinedItem;
|
||||
class ExternallyDefinedCurveFont;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class ExternallyDefinedHatchStyle;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class ExternallyDefinedSymbol;
|
||||
-- Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4 (for FontSelect)
|
||||
class ExternallyDefinedTextFont;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class ExternallyDefinedTileStyle;
|
||||
class FillAreaStyle;
|
||||
class FillAreaStyleColour;
|
||||
class Invisibility;
|
||||
class ContextDependentInvisibility;
|
||||
class PointStyle;
|
||||
class PreDefinedItem;
|
||||
class PreDefinedColour;
|
||||
class DraughtingPreDefinedColour;
|
||||
class PreDefinedCurveFont;
|
||||
class DraughtingPreDefinedCurveFont;
|
||||
class DraughtingModel; -- added for CAX-IF TR3
|
||||
-- Removed from CC1-Rev2 to Rev4 : class PreDefinedSymbol;
|
||||
-- Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4 :
|
||||
class PreDefinedTextFont;
|
||||
|
||||
class PresentationLayerAssignment;
|
||||
class PresentationSet;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class DrawingRevision;
|
||||
class PresentationSize;
|
||||
class PresentationStyleAssignment;
|
||||
class PresentationStyleByContext;
|
||||
deferred class PresentedItem;
|
||||
--class Representation;
|
||||
class PresentationRepresentation;
|
||||
class MechanicalDesignGeometricPresentationRepresentation;
|
||||
class PresentationArea;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class AutoDesignViewArea;
|
||||
class MechanicalDesignGeometricPresentationArea;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class MechanicalDesignPresentationArea;
|
||||
class PresentationView;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class ProductDataRepresentationView;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class SymbolRepresentation;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class DraughtingSubfigureRepresentation;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class DraughtingSymbolRepresentation;
|
||||
class Template;
|
||||
--class RepresentationItem;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class AnnotationFillArea;
|
||||
class CameraModel;
|
||||
class CameraModelD2;
|
||||
class CameraModelD3;
|
||||
-- Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4
|
||||
class CompositeText;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class CompositeTextWithAssociatedCurves;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class CompositeTextWithBlankingBox;
|
||||
-- Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4
|
||||
class CompositeTextWithExtent;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class DefinedSymbol;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class DraughtingCallout;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class FaceBasedSurfaceModel;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class FillAreaStyleHatching;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class FillAreaStyleTileSymbolWithStyle;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class FillAreaStyleTiles;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class OneDirectionRepeatFactor;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class TwoDirectionRepeatFactor;
|
||||
class PlanarExtent;
|
||||
class PlanarBox;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class SymbolTarget;
|
||||
-- Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4
|
||||
class TextLiteral;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class TextLiteralWithAssociatedCurves;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class TextLiteralWithBlankingBox;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class TextLiteralWithDelineation;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class DraughtingTextLiteralWithDelineation;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class TextLiteralWithExtent;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class AnnotationSymbol;
|
||||
-- Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4 (for TextOrCharacter) :
|
||||
class AnnotationText;
|
||||
|
||||
class CameraImage;
|
||||
class TemplateInstance;
|
||||
class StyledItem;
|
||||
-- Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4 :
|
||||
class AnnotationOccurrence;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class AnnotationCurveOccurrence;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class DimensionCurve;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class AnnotationFillAreaOccurrence;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class AnnotationSymbolOccurrence;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class AnnotationSubfigureOccurrence;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class TerminatorSymbol;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class DimensionCurveTerminator;
|
||||
-- Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4 :
|
||||
class AnnotationTextOccurrence;
|
||||
class DraughtingAnnotationOccurrence;
|
||||
|
||||
class OverRidingStyledItem;
|
||||
class ContextDependentOverRidingStyledItem;
|
||||
--class RepresentationMap;
|
||||
class CameraUsage;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class SymbolRepresentationMap;
|
||||
class SurfaceSideStyle;
|
||||
class SurfaceStyleBoundary;
|
||||
class SurfaceStyleControlGrid;
|
||||
class SurfaceStyleFillArea;
|
||||
class SurfaceStyleParameterLine;
|
||||
class SurfaceStyleSegmentationCurve;
|
||||
class SurfaceStyleSilhouette;
|
||||
class SurfaceStyleUsage;
|
||||
-- Removed from CC1-Rev2 to Rev4 :class SymbolColour;
|
||||
-- Removed from CC1-Rev2 to Rev4 :class SymbolStyle;
|
||||
-- Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4 :
|
||||
class TextStyle;
|
||||
class TextStyleWithBoxCharacteristics;
|
||||
-- Removed from CC1-Rev2 to Rev4 : class TextStyleWithMirror;
|
||||
-- Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4
|
||||
class TextStyleForDefinedFont;
|
||||
|
||||
class ViewVolume;
|
||||
|
||||
-- Added from CC1-Rev2 to Rev4
|
||||
class CameraImage2dWithScale;
|
||||
class CameraImage3dWithScale;
|
||||
class PresentedItemRepresentation;
|
||||
class PresentationLayerUsage;
|
||||
|
||||
|
||||
-- Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4 :
|
||||
class Array1OfTextOrCharacter instantiates Array1 from TCollection (TextOrCharacter);
|
||||
class HArray1OfTextOrCharacter instantiates HArray1 from TCollection (TextOrCharacter,Array1OfTextOrCharacter from StepVisual);
|
||||
|
||||
class Array1OfStyleContextSelect instantiates Array1 from TCollection (StyleContextSelect);
|
||||
class HArray1OfStyleContextSelect instantiates HArray1 from TCollection (StyleContextSelect,Array1OfStyleContextSelect from StepVisual);
|
||||
|
||||
class Array1OfCurveStyleFontPattern instantiates Array1 from TCollection (CurveStyleFontPattern);
|
||||
class HArray1OfCurveStyleFontPattern instantiates HArray1 from TCollection (CurveStyleFontPattern,Array1OfCurveStyleFontPattern from StepVisual);
|
||||
|
||||
-- Removed from CC1-Rev2 to Rev4 :class HArray1OfDraughtingCalloutElement and Array
|
||||
|
||||
class Array1OfFillStyleSelect instantiates Array1 from TCollection (FillStyleSelect);
|
||||
class HArray1OfFillStyleSelect instantiates HArray1 from TCollection (FillStyleSelect,Array1OfFillStyleSelect from StepVisual);
|
||||
|
||||
-- Removed from CC1-Rev2 to Rev4 :class HArray1OfFillAreaStyleTileSymbolWithStyle
|
||||
|
||||
class Array1OfInvisibleItem instantiates Array1 from TCollection (InvisibleItem);
|
||||
class HArray1OfInvisibleItem instantiates HArray1 from TCollection (InvisibleItem,Array1OfInvisibleItem from StepVisual);
|
||||
|
||||
class Array1OfLayeredItem instantiates Array1 from TCollection (LayeredItem);
|
||||
class HArray1OfLayeredItem instantiates HArray1 from TCollection (LayeredItem,Array1OfLayeredItem from StepVisual);
|
||||
|
||||
class Array1OfPresentationStyleSelect instantiates Array1 from TCollection (PresentationStyleSelect);
|
||||
class HArray1OfPresentationStyleSelect instantiates HArray1 from TCollection (PresentationStyleSelect,Array1OfPresentationStyleSelect from StepVisual);
|
||||
|
||||
class Array1OfPresentationStyleAssignment instantiates Array1 from TCollection (PresentationStyleAssignment);
|
||||
class HArray1OfPresentationStyleAssignment instantiates HArray1 from TCollection (PresentationStyleAssignment,Array1OfPresentationStyleAssignment from StepVisual);
|
||||
|
||||
class Array1OfSurfaceStyleElementSelect instantiates Array1 from TCollection (SurfaceStyleElementSelect);
|
||||
class HArray1OfSurfaceStyleElementSelect instantiates HArray1 from TCollection (SurfaceStyleElementSelect,Array1OfSurfaceStyleElementSelect from StepVisual);
|
||||
|
||||
-- Instantiated class made by FMA
|
||||
|
||||
class Array1OfDirectionCountSelect instantiates Array1 from TCollection (DirectionCountSelect);
|
||||
class HArray1OfDirectionCountSelect
|
||||
instantiates HArray1 from TCollection (DirectionCountSelect,
|
||||
Array1OfDirectionCountSelect from StepVisual);
|
||||
|
||||
-- Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4
|
||||
class Array1OfBoxCharacteristicSelect
|
||||
instantiates Array1 from TCollection (BoxCharacteristicSelect);
|
||||
class HArray1OfBoxCharacteristicSelect
|
||||
instantiates HArray1 from TCollection (BoxCharacteristicSelect,
|
||||
Array1OfBoxCharacteristicSelect);
|
||||
|
||||
-- Protocol returns Protocol from StepVisual;
|
||||
---Purpose : creates a Protocol
|
||||
|
||||
end StepVisual;
|
||||
|
22
src/StepVisual/StepVisual_AnnotationOccurrence.cdl
Executable file
22
src/StepVisual/StepVisual_AnnotationOccurrence.cdl
Executable file
@@ -0,0 +1,22 @@
|
||||
-- File: AnnotationOccurrence.cdl
|
||||
-- Created: Fri Dec 1 11:11:13 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class AnnotationOccurrence from StepVisual
|
||||
|
||||
inherits StyledItem from StepVisual
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfPresentationStyleAssignment from StepVisual
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable AnnotationOccurrence;
|
||||
---Purpose: Returns a AnnotationOccurrence
|
||||
|
||||
|
||||
end AnnotationOccurrence;
|
5
src/StepVisual/StepVisual_AnnotationOccurrence.cxx
Executable file
5
src/StepVisual/StepVisual_AnnotationOccurrence.cxx
Executable file
@@ -0,0 +1,5 @@
|
||||
#include <StepVisual_AnnotationOccurrence.ixx>
|
||||
|
||||
|
||||
StepVisual_AnnotationOccurrence::StepVisual_AnnotationOccurrence () {}
|
||||
|
22
src/StepVisual/StepVisual_AnnotationText.cdl
Executable file
22
src/StepVisual/StepVisual_AnnotationText.cdl
Executable file
@@ -0,0 +1,22 @@
|
||||
-- File: AnnotationText.cdl
|
||||
-- Created: Fri Dec 1 11:11:13 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class AnnotationText from StepVisual
|
||||
|
||||
inherits MappedItem from StepRepr
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
RepresentationMap from StepRepr,
|
||||
RepresentationItem from StepRepr
|
||||
is
|
||||
|
||||
Create returns mutable AnnotationText;
|
||||
---Purpose: Returns a AnnotationText
|
||||
|
||||
|
||||
end AnnotationText;
|
5
src/StepVisual/StepVisual_AnnotationText.cxx
Executable file
5
src/StepVisual/StepVisual_AnnotationText.cxx
Executable file
@@ -0,0 +1,5 @@
|
||||
#include <StepVisual_AnnotationText.ixx>
|
||||
|
||||
|
||||
StepVisual_AnnotationText::StepVisual_AnnotationText () {}
|
||||
|
22
src/StepVisual/StepVisual_AnnotationTextOccurrence.cdl
Executable file
22
src/StepVisual/StepVisual_AnnotationTextOccurrence.cdl
Executable file
@@ -0,0 +1,22 @@
|
||||
-- File: AnnotationTextOccurrence.cdl
|
||||
-- Created: Fri Dec 1 11:11:13 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class AnnotationTextOccurrence from StepVisual
|
||||
|
||||
inherits AnnotationOccurrence from StepVisual
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfPresentationStyleAssignment from StepVisual
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable AnnotationTextOccurrence;
|
||||
---Purpose: Returns a AnnotationTextOccurrence
|
||||
|
||||
|
||||
end AnnotationTextOccurrence;
|
5
src/StepVisual/StepVisual_AnnotationTextOccurrence.cxx
Executable file
5
src/StepVisual/StepVisual_AnnotationTextOccurrence.cxx
Executable file
@@ -0,0 +1,5 @@
|
||||
#include <StepVisual_AnnotationTextOccurrence.ixx>
|
||||
|
||||
|
||||
StepVisual_AnnotationTextOccurrence::StepVisual_AnnotationTextOccurrence () {}
|
||||
|
36
src/StepVisual/StepVisual_AreaInSet.cdl
Executable file
36
src/StepVisual/StepVisual_AreaInSet.cdl
Executable file
@@ -0,0 +1,36 @@
|
||||
-- File: AreaInSet.cdl
|
||||
-- Created: Fri Dec 1 11:11:13 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class AreaInSet from StepVisual
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
PresentationArea from StepVisual,
|
||||
PresentationSet from StepVisual
|
||||
is
|
||||
|
||||
Create returns mutable AreaInSet;
|
||||
---Purpose: Returns a AreaInSet
|
||||
|
||||
Init (me : mutable;
|
||||
aArea : mutable PresentationArea from StepVisual;
|
||||
aInSet : mutable PresentationSet from StepVisual) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetArea(me : mutable; aArea : mutable PresentationArea);
|
||||
Area (me) returns mutable PresentationArea;
|
||||
SetInSet(me : mutable; aInSet : mutable PresentationSet);
|
||||
InSet (me) returns mutable PresentationSet;
|
||||
|
||||
fields
|
||||
|
||||
area : PresentationArea from StepVisual;
|
||||
inSet : PresentationSet from StepVisual;
|
||||
|
||||
end AreaInSet;
|
34
src/StepVisual/StepVisual_AreaInSet.cxx
Executable file
34
src/StepVisual/StepVisual_AreaInSet.cxx
Executable file
@@ -0,0 +1,34 @@
|
||||
#include <StepVisual_AreaInSet.ixx>
|
||||
|
||||
|
||||
StepVisual_AreaInSet::StepVisual_AreaInSet () {}
|
||||
|
||||
void StepVisual_AreaInSet::Init(
|
||||
const Handle(StepVisual_PresentationArea)& aArea,
|
||||
const Handle(StepVisual_PresentationSet)& aInSet)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
area = aArea;
|
||||
inSet = aInSet;
|
||||
}
|
||||
|
||||
|
||||
void StepVisual_AreaInSet::SetArea(const Handle(StepVisual_PresentationArea)& aArea)
|
||||
{
|
||||
area = aArea;
|
||||
}
|
||||
|
||||
Handle(StepVisual_PresentationArea) StepVisual_AreaInSet::Area() const
|
||||
{
|
||||
return area;
|
||||
}
|
||||
|
||||
void StepVisual_AreaInSet::SetInSet(const Handle(StepVisual_PresentationSet)& aInSet)
|
||||
{
|
||||
inSet = aInSet;
|
||||
}
|
||||
|
||||
Handle(StepVisual_PresentationSet) StepVisual_AreaInSet::InSet() const
|
||||
{
|
||||
return inSet;
|
||||
}
|
36
src/StepVisual/StepVisual_AreaOrView.cdl
Executable file
36
src/StepVisual/StepVisual_AreaOrView.cdl
Executable file
@@ -0,0 +1,36 @@
|
||||
-- File: AreaOrView.cdl
|
||||
-- Created: Fri Dec 1 11:11:10 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
|
||||
class AreaOrView from StepVisual inherits SelectType from StepData
|
||||
|
||||
-- <AreaOrView> is an EXPRESS Select Type construct translation.
|
||||
-- it gathers : PresentationArea, PresentationView
|
||||
|
||||
uses
|
||||
|
||||
PresentationArea,
|
||||
PresentationView
|
||||
is
|
||||
|
||||
Create returns AreaOrView;
|
||||
---Purpose : Returns a AreaOrView SelectType
|
||||
|
||||
CaseNum (me; ent : Transient) returns Integer;
|
||||
---Purpose: Recognizes a AreaOrView Kind Entity that is :
|
||||
-- 1 -> PresentationArea
|
||||
-- 2 -> PresentationView
|
||||
-- 0 else
|
||||
|
||||
PresentationArea (me) returns any PresentationArea;
|
||||
---Purpose : returns Value as a PresentationArea (Null if another type)
|
||||
|
||||
PresentationView (me) returns any PresentationView;
|
||||
---Purpose : returns Value as a PresentationView (Null if another type)
|
||||
|
||||
|
||||
end AreaOrView;
|
||||
|
23
src/StepVisual/StepVisual_AreaOrView.cxx
Executable file
23
src/StepVisual/StepVisual_AreaOrView.cxx
Executable file
@@ -0,0 +1,23 @@
|
||||
|
||||
#include <StepVisual_AreaOrView.ixx>
|
||||
#include <Interface_Macros.hxx>
|
||||
|
||||
StepVisual_AreaOrView::StepVisual_AreaOrView () { }
|
||||
|
||||
Standard_Integer StepVisual_AreaOrView::CaseNum(const Handle(Standard_Transient)& ent) const
|
||||
{
|
||||
if (ent.IsNull()) return 0;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepVisual_PresentationArea))) return 1;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepVisual_PresentationView))) return 2;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Handle(StepVisual_PresentationArea) StepVisual_AreaOrView::PresentationArea () const
|
||||
{
|
||||
return GetCasted(StepVisual_PresentationArea,Value());
|
||||
}
|
||||
|
||||
Handle(StepVisual_PresentationView) StepVisual_AreaOrView::PresentationView () const
|
||||
{
|
||||
return GetCasted(StepVisual_PresentationView,Value());
|
||||
}
|
31
src/StepVisual/StepVisual_BackgroundColour.cdl
Executable file
31
src/StepVisual/StepVisual_BackgroundColour.cdl
Executable file
@@ -0,0 +1,31 @@
|
||||
-- File: BackgroundColour.cdl
|
||||
-- Created: Fri Dec 1 11:11:15 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class BackgroundColour from StepVisual
|
||||
|
||||
inherits Colour from StepVisual
|
||||
|
||||
uses
|
||||
|
||||
AreaOrView from StepVisual
|
||||
is
|
||||
|
||||
Create returns mutable BackgroundColour;
|
||||
---Purpose: Returns a BackgroundColour
|
||||
|
||||
Init (me : mutable;
|
||||
aPresentation : AreaOrView from StepVisual) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetPresentation(me : mutable; aPresentation : AreaOrView);
|
||||
Presentation (me) returns AreaOrView;
|
||||
|
||||
fields
|
||||
|
||||
presentation : AreaOrView from StepVisual; -- a SelectType
|
||||
|
||||
end BackgroundColour;
|
22
src/StepVisual/StepVisual_BackgroundColour.cxx
Executable file
22
src/StepVisual/StepVisual_BackgroundColour.cxx
Executable file
@@ -0,0 +1,22 @@
|
||||
#include <StepVisual_BackgroundColour.ixx>
|
||||
|
||||
|
||||
StepVisual_BackgroundColour::StepVisual_BackgroundColour () {}
|
||||
|
||||
void StepVisual_BackgroundColour::Init(
|
||||
const StepVisual_AreaOrView& aPresentation)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
presentation = aPresentation;
|
||||
}
|
||||
|
||||
|
||||
void StepVisual_BackgroundColour::SetPresentation(const StepVisual_AreaOrView& aPresentation)
|
||||
{
|
||||
presentation = aPresentation;
|
||||
}
|
||||
|
||||
StepVisual_AreaOrView StepVisual_BackgroundColour::Presentation() const
|
||||
{
|
||||
return presentation;
|
||||
}
|
36
src/StepVisual/StepVisual_BoxCharacteristicSelect.cdl
Executable file
36
src/StepVisual/StepVisual_BoxCharacteristicSelect.cdl
Executable file
@@ -0,0 +1,36 @@
|
||||
-- File: StepVisual_BoxCharacteristicSelect.cdl
|
||||
-- Created: Wed Dec 6 18:22:37 1995
|
||||
-- Author: Frederic MAUPAS
|
||||
-- <fma@pronox>
|
||||
---Copyright: Matra Datavision 1995
|
||||
|
||||
class BoxCharacteristicSelect from StepVisual
|
||||
|
||||
-- Hand made Select Type
|
||||
|
||||
uses
|
||||
|
||||
Real from Standard
|
||||
|
||||
is
|
||||
|
||||
Create returns BoxCharacteristicSelect;
|
||||
|
||||
TypeOfContent(me) returns Integer from Standard;
|
||||
-- 1 box_height,
|
||||
-- 2 box_width,
|
||||
-- 3 box_slant_angle,
|
||||
-- 4 box_rotate_angle)
|
||||
|
||||
SetTypeOfContent(me : in out; aType : Integer from Standard);
|
||||
|
||||
RealValue(me) returns Real from Standard;
|
||||
|
||||
SetRealValue(me : in out; aValue : Real from Standard);
|
||||
|
||||
fields
|
||||
|
||||
theRealValue : Real from Standard;
|
||||
theTypeOfContent : Integer from Standard;
|
||||
|
||||
end BoxCharacteristicSelect;
|
28
src/StepVisual/StepVisual_BoxCharacteristicSelect.cxx
Executable file
28
src/StepVisual/StepVisual_BoxCharacteristicSelect.cxx
Executable file
@@ -0,0 +1,28 @@
|
||||
// File: StepVisual_BoxCharacteristicSelect.cxx
|
||||
// Created: Wed Dec 6 18:27:17 1995
|
||||
// Author: Frederic MAUPAS
|
||||
// <fma@pronox>
|
||||
|
||||
#include <StepVisual_BoxCharacteristicSelect.ixx>
|
||||
|
||||
StepVisual_BoxCharacteristicSelect::StepVisual_BoxCharacteristicSelect() {}
|
||||
|
||||
void StepVisual_BoxCharacteristicSelect::SetTypeOfContent(const Standard_Integer aType)
|
||||
{
|
||||
theTypeOfContent = aType;
|
||||
}
|
||||
|
||||
Standard_Integer StepVisual_BoxCharacteristicSelect::TypeOfContent() const
|
||||
{
|
||||
return theTypeOfContent;
|
||||
}
|
||||
|
||||
Standard_Real StepVisual_BoxCharacteristicSelect::RealValue() const
|
||||
{
|
||||
return theRealValue;
|
||||
}
|
||||
|
||||
void StepVisual_BoxCharacteristicSelect::SetRealValue(const Standard_Real aValue)
|
||||
{
|
||||
theRealValue = aValue;
|
||||
}
|
22
src/StepVisual/StepVisual_CameraImage.cdl
Executable file
22
src/StepVisual/StepVisual_CameraImage.cdl
Executable file
@@ -0,0 +1,22 @@
|
||||
-- File: CameraImage.cdl
|
||||
-- Created: Fri Dec 1 11:11:15 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class CameraImage from StepVisual
|
||||
|
||||
inherits MappedItem from StepRepr
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
RepresentationMap from StepRepr,
|
||||
RepresentationItem from StepRepr
|
||||
is
|
||||
|
||||
Create returns mutable CameraImage;
|
||||
---Purpose: Returns a CameraImage
|
||||
|
||||
|
||||
end CameraImage;
|
5
src/StepVisual/StepVisual_CameraImage.cxx
Executable file
5
src/StepVisual/StepVisual_CameraImage.cxx
Executable file
@@ -0,0 +1,5 @@
|
||||
#include <StepVisual_CameraImage.ixx>
|
||||
|
||||
|
||||
StepVisual_CameraImage::StepVisual_CameraImage () {}
|
||||
|
14
src/StepVisual/StepVisual_CameraImage2dWithScale.cdl
Executable file
14
src/StepVisual/StepVisual_CameraImage2dWithScale.cdl
Executable file
@@ -0,0 +1,14 @@
|
||||
-- File: StepVisual_CameraImage2dWithScale.cdl
|
||||
-- Created: Wed Mar 26 15:22:17 1997
|
||||
-- Author: Christian CAILLET
|
||||
-- <cky@heliox.paris1.matra-dtv.fr>
|
||||
---Copyright: Matra Datavision 1997
|
||||
|
||||
|
||||
class CameraImage2dWithScale from StepVisual inherits CameraImage from StepVisual
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable CameraImage2dWithScale;
|
||||
|
||||
end CameraImage2dWithScale;
|
3
src/StepVisual/StepVisual_CameraImage2dWithScale.cxx
Executable file
3
src/StepVisual/StepVisual_CameraImage2dWithScale.cxx
Executable file
@@ -0,0 +1,3 @@
|
||||
#include <StepVisual_CameraImage2dWithScale.ixx>
|
||||
|
||||
StepVisual_CameraImage2dWithScale::StepVisual_CameraImage2dWithScale () { }
|
14
src/StepVisual/StepVisual_CameraImage3dWithScale.cdl
Executable file
14
src/StepVisual/StepVisual_CameraImage3dWithScale.cdl
Executable file
@@ -0,0 +1,14 @@
|
||||
-- File: StepVisual_CameraImage3dWithScale.cdl
|
||||
-- Created: Wed Mar 26 15:24:33 1997
|
||||
-- Author: Administrateur Atelier XSTEP
|
||||
-- <xstep@heliox.paris1.matra-dtv.fr>
|
||||
---Copyright: Matra Datavision 1997
|
||||
|
||||
|
||||
class CameraImage3dWithScale from StepVisual inherits CameraImage from StepVisual
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable CameraImage3dWithScale;
|
||||
|
||||
end CameraImage3dWithScale;
|
3
src/StepVisual/StepVisual_CameraImage3dWithScale.cxx
Executable file
3
src/StepVisual/StepVisual_CameraImage3dWithScale.cxx
Executable file
@@ -0,0 +1,3 @@
|
||||
#include <StepVisual_CameraImage3dWithScale.ixx>
|
||||
|
||||
StepVisual_CameraImage3dWithScale::StepVisual_CameraImage3dWithScale () { }
|
20
src/StepVisual/StepVisual_CameraModel.cdl
Executable file
20
src/StepVisual/StepVisual_CameraModel.cdl
Executable file
@@ -0,0 +1,20 @@
|
||||
-- File: CameraModel.cdl
|
||||
-- Created: Fri Dec 1 11:11:15 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class CameraModel from StepVisual
|
||||
|
||||
inherits GeometricRepresentationItem from StepGeom
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable CameraModel;
|
||||
---Purpose: Returns a CameraModel
|
||||
|
||||
|
||||
end CameraModel;
|
5
src/StepVisual/StepVisual_CameraModel.cxx
Executable file
5
src/StepVisual/StepVisual_CameraModel.cxx
Executable file
@@ -0,0 +1,5 @@
|
||||
#include <StepVisual_CameraModel.ixx>
|
||||
|
||||
|
||||
StepVisual_CameraModel::StepVisual_CameraModel () {}
|
||||
|
42
src/StepVisual/StepVisual_CameraModelD2.cdl
Executable file
42
src/StepVisual/StepVisual_CameraModelD2.cdl
Executable file
@@ -0,0 +1,42 @@
|
||||
-- File: CameraModelD2.cdl
|
||||
-- Created: Fri Dec 1 11:11:15 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class CameraModelD2 from StepVisual
|
||||
|
||||
inherits CameraModel from StepVisual
|
||||
|
||||
uses
|
||||
|
||||
PlanarBox from StepVisual,
|
||||
Boolean from Standard,
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable CameraModelD2;
|
||||
---Purpose: Returns a CameraModelD2
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aViewWindow : mutable PlanarBox from StepVisual;
|
||||
aViewWindowClipping : Boolean from Standard) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetViewWindow(me : mutable; aViewWindow : mutable PlanarBox);
|
||||
ViewWindow (me) returns mutable PlanarBox;
|
||||
SetViewWindowClipping(me : mutable; aViewWindowClipping : Boolean);
|
||||
ViewWindowClipping (me) returns Boolean;
|
||||
|
||||
fields
|
||||
|
||||
viewWindow : PlanarBox from StepVisual;
|
||||
viewWindowClipping : Boolean from Standard;
|
||||
|
||||
end CameraModelD2;
|
44
src/StepVisual/StepVisual_CameraModelD2.cxx
Executable file
44
src/StepVisual/StepVisual_CameraModelD2.cxx
Executable file
@@ -0,0 +1,44 @@
|
||||
#include <StepVisual_CameraModelD2.ixx>
|
||||
|
||||
|
||||
StepVisual_CameraModelD2::StepVisual_CameraModelD2 () {}
|
||||
|
||||
void StepVisual_CameraModelD2::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
void StepVisual_CameraModelD2::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepVisual_PlanarBox)& aViewWindow,
|
||||
const Standard_Boolean aViewWindowClipping)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
viewWindow = aViewWindow;
|
||||
viewWindowClipping = aViewWindowClipping;
|
||||
// --- classe inherited fields ---
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
|
||||
void StepVisual_CameraModelD2::SetViewWindow(const Handle(StepVisual_PlanarBox)& aViewWindow)
|
||||
{
|
||||
viewWindow = aViewWindow;
|
||||
}
|
||||
|
||||
Handle(StepVisual_PlanarBox) StepVisual_CameraModelD2::ViewWindow() const
|
||||
{
|
||||
return viewWindow;
|
||||
}
|
||||
|
||||
void StepVisual_CameraModelD2::SetViewWindowClipping(const Standard_Boolean aViewWindowClipping)
|
||||
{
|
||||
viewWindowClipping = aViewWindowClipping;
|
||||
}
|
||||
|
||||
Standard_Boolean StepVisual_CameraModelD2::ViewWindowClipping() const
|
||||
{
|
||||
return viewWindowClipping;
|
||||
}
|
42
src/StepVisual/StepVisual_CameraModelD3.cdl
Executable file
42
src/StepVisual/StepVisual_CameraModelD3.cdl
Executable file
@@ -0,0 +1,42 @@
|
||||
-- File: CameraModelD3.cdl
|
||||
-- Created: Fri Dec 1 11:11:15 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class CameraModelD3 from StepVisual
|
||||
|
||||
inherits CameraModel from StepVisual
|
||||
|
||||
uses
|
||||
|
||||
Axis2Placement3d from StepGeom,
|
||||
ViewVolume from StepVisual,
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable CameraModelD3;
|
||||
---Purpose: Returns a CameraModelD3
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aViewReferenceSystem : mutable Axis2Placement3d from StepGeom;
|
||||
aPerspectiveOfVolume : mutable ViewVolume from StepVisual) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetViewReferenceSystem(me : mutable; aViewReferenceSystem : mutable Axis2Placement3d);
|
||||
ViewReferenceSystem (me) returns mutable Axis2Placement3d;
|
||||
SetPerspectiveOfVolume(me : mutable; aPerspectiveOfVolume : mutable ViewVolume);
|
||||
PerspectiveOfVolume (me) returns mutable ViewVolume;
|
||||
|
||||
fields
|
||||
|
||||
viewReferenceSystem : Axis2Placement3d from StepGeom;
|
||||
perspectiveOfVolume : ViewVolume from StepVisual;
|
||||
|
||||
end CameraModelD3;
|
44
src/StepVisual/StepVisual_CameraModelD3.cxx
Executable file
44
src/StepVisual/StepVisual_CameraModelD3.cxx
Executable file
@@ -0,0 +1,44 @@
|
||||
#include <StepVisual_CameraModelD3.ixx>
|
||||
|
||||
|
||||
StepVisual_CameraModelD3::StepVisual_CameraModelD3 () {}
|
||||
|
||||
void StepVisual_CameraModelD3::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
void StepVisual_CameraModelD3::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepGeom_Axis2Placement3d)& aViewReferenceSystem,
|
||||
const Handle(StepVisual_ViewVolume)& aPerspectiveOfVolume)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
viewReferenceSystem = aViewReferenceSystem;
|
||||
perspectiveOfVolume = aPerspectiveOfVolume;
|
||||
// --- classe inherited fields ---
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
|
||||
void StepVisual_CameraModelD3::SetViewReferenceSystem(const Handle(StepGeom_Axis2Placement3d)& aViewReferenceSystem)
|
||||
{
|
||||
viewReferenceSystem = aViewReferenceSystem;
|
||||
}
|
||||
|
||||
Handle(StepGeom_Axis2Placement3d) StepVisual_CameraModelD3::ViewReferenceSystem() const
|
||||
{
|
||||
return viewReferenceSystem;
|
||||
}
|
||||
|
||||
void StepVisual_CameraModelD3::SetPerspectiveOfVolume(const Handle(StepVisual_ViewVolume)& aPerspectiveOfVolume)
|
||||
{
|
||||
perspectiveOfVolume = aPerspectiveOfVolume;
|
||||
}
|
||||
|
||||
Handle(StepVisual_ViewVolume) StepVisual_CameraModelD3::PerspectiveOfVolume() const
|
||||
{
|
||||
return perspectiveOfVolume;
|
||||
}
|
21
src/StepVisual/StepVisual_CameraUsage.cdl
Executable file
21
src/StepVisual/StepVisual_CameraUsage.cdl
Executable file
@@ -0,0 +1,21 @@
|
||||
-- File: CameraUsage.cdl
|
||||
-- Created: Fri Dec 1 11:11:16 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class CameraUsage from StepVisual
|
||||
|
||||
inherits RepresentationMap from StepRepr
|
||||
|
||||
uses
|
||||
|
||||
RepresentationItem from StepRepr,
|
||||
Representation from StepRepr
|
||||
is
|
||||
|
||||
Create returns mutable CameraUsage;
|
||||
---Purpose: Returns a CameraUsage
|
||||
|
||||
|
||||
end CameraUsage;
|
5
src/StepVisual/StepVisual_CameraUsage.cxx
Executable file
5
src/StepVisual/StepVisual_CameraUsage.cxx
Executable file
@@ -0,0 +1,5 @@
|
||||
#include <StepVisual_CameraUsage.ixx>
|
||||
|
||||
|
||||
StepVisual_CameraUsage::StepVisual_CameraUsage () {}
|
||||
|
17
src/StepVisual/StepVisual_Colour.cdl
Executable file
17
src/StepVisual/StepVisual_Colour.cdl
Executable file
@@ -0,0 +1,17 @@
|
||||
-- File: Colour.cdl
|
||||
-- Created: Fri Dec 1 11:11:16 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class Colour from StepVisual
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable Colour;
|
||||
---Purpose: Returns a Colour
|
||||
|
||||
|
||||
end Colour;
|
5
src/StepVisual/StepVisual_Colour.cxx
Executable file
5
src/StepVisual/StepVisual_Colour.cxx
Executable file
@@ -0,0 +1,5 @@
|
||||
#include <StepVisual_Colour.ixx>
|
||||
|
||||
|
||||
StepVisual_Colour::StepVisual_Colour () {}
|
||||
|
45
src/StepVisual/StepVisual_ColourRgb.cdl
Executable file
45
src/StepVisual/StepVisual_ColourRgb.cdl
Executable file
@@ -0,0 +1,45 @@
|
||||
-- File: ColourRgb.cdl
|
||||
-- Created: Fri Dec 1 11:11:16 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class ColourRgb from StepVisual
|
||||
|
||||
inherits ColourSpecification from StepVisual
|
||||
|
||||
uses
|
||||
|
||||
Real from Standard,
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable ColourRgb;
|
||||
---Purpose: Returns a ColourRgb
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aRed : Real from Standard;
|
||||
aGreen : Real from Standard;
|
||||
aBlue : Real from Standard) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetRed(me : mutable; aRed : Real);
|
||||
Red (me) returns Real;
|
||||
SetGreen(me : mutable; aGreen : Real);
|
||||
Green (me) returns Real;
|
||||
SetBlue(me : mutable; aBlue : Real);
|
||||
Blue (me) returns Real;
|
||||
|
||||
fields
|
||||
|
||||
red : Real from Standard;
|
||||
green : Real from Standard;
|
||||
blue : Real from Standard;
|
||||
|
||||
end ColourRgb;
|
56
src/StepVisual/StepVisual_ColourRgb.cxx
Executable file
56
src/StepVisual/StepVisual_ColourRgb.cxx
Executable file
@@ -0,0 +1,56 @@
|
||||
#include <StepVisual_ColourRgb.ixx>
|
||||
|
||||
|
||||
StepVisual_ColourRgb::StepVisual_ColourRgb () {}
|
||||
|
||||
void StepVisual_ColourRgb::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
|
||||
StepVisual_ColourSpecification::Init(aName);
|
||||
}
|
||||
|
||||
void StepVisual_ColourRgb::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Standard_Real aRed,
|
||||
const Standard_Real aGreen,
|
||||
const Standard_Real aBlue)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
red = aRed;
|
||||
green = aGreen;
|
||||
blue = aBlue;
|
||||
// --- classe inherited fields ---
|
||||
StepVisual_ColourSpecification::Init(aName);
|
||||
}
|
||||
|
||||
|
||||
void StepVisual_ColourRgb::SetRed(const Standard_Real aRed)
|
||||
{
|
||||
red = aRed;
|
||||
}
|
||||
|
||||
Standard_Real StepVisual_ColourRgb::Red() const
|
||||
{
|
||||
return red;
|
||||
}
|
||||
|
||||
void StepVisual_ColourRgb::SetGreen(const Standard_Real aGreen)
|
||||
{
|
||||
green = aGreen;
|
||||
}
|
||||
|
||||
Standard_Real StepVisual_ColourRgb::Green() const
|
||||
{
|
||||
return green;
|
||||
}
|
||||
|
||||
void StepVisual_ColourRgb::SetBlue(const Standard_Real aBlue)
|
||||
{
|
||||
blue = aBlue;
|
||||
}
|
||||
|
||||
Standard_Real StepVisual_ColourRgb::Blue() const
|
||||
{
|
||||
return blue;
|
||||
}
|
31
src/StepVisual/StepVisual_ColourSpecification.cdl
Executable file
31
src/StepVisual/StepVisual_ColourSpecification.cdl
Executable file
@@ -0,0 +1,31 @@
|
||||
-- File: ColourSpecification.cdl
|
||||
-- Created: Fri Dec 1 11:11:16 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class ColourSpecification from StepVisual
|
||||
|
||||
inherits Colour from StepVisual
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable ColourSpecification;
|
||||
---Purpose: Returns a ColourSpecification
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetName(me : mutable; aName : mutable HAsciiString);
|
||||
Name (me) returns mutable HAsciiString;
|
||||
|
||||
fields
|
||||
|
||||
name : HAsciiString from TCollection;
|
||||
|
||||
end ColourSpecification;
|
22
src/StepVisual/StepVisual_ColourSpecification.cxx
Executable file
22
src/StepVisual/StepVisual_ColourSpecification.cxx
Executable file
@@ -0,0 +1,22 @@
|
||||
#include <StepVisual_ColourSpecification.ixx>
|
||||
|
||||
|
||||
StepVisual_ColourSpecification::StepVisual_ColourSpecification () {}
|
||||
|
||||
void StepVisual_ColourSpecification::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
name = aName;
|
||||
}
|
||||
|
||||
|
||||
void StepVisual_ColourSpecification::SetName(const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
name = aName;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepVisual_ColourSpecification::Name() const
|
||||
{
|
||||
return name;
|
||||
}
|
40
src/StepVisual/StepVisual_CompositeText.cdl
Executable file
40
src/StepVisual/StepVisual_CompositeText.cdl
Executable file
@@ -0,0 +1,40 @@
|
||||
-- File: CompositeText.cdl
|
||||
-- Created: Fri Dec 1 11:11:16 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class CompositeText from StepVisual
|
||||
|
||||
inherits GeometricRepresentationItem from StepGeom
|
||||
|
||||
uses
|
||||
|
||||
HArray1OfTextOrCharacter from StepVisual,
|
||||
TextOrCharacter from StepVisual,
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable CompositeText;
|
||||
---Purpose: Returns a CompositeText
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aCollectedText : mutable HArray1OfTextOrCharacter from StepVisual) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetCollectedText(me : mutable; aCollectedText : mutable HArray1OfTextOrCharacter);
|
||||
CollectedText (me) returns mutable HArray1OfTextOrCharacter;
|
||||
CollectedTextValue (me; num : Integer) returns TextOrCharacter;
|
||||
NbCollectedText (me) returns Integer;
|
||||
|
||||
fields
|
||||
|
||||
collectedText : HArray1OfTextOrCharacter from StepVisual; -- a SelectType
|
||||
|
||||
end CompositeText;
|
42
src/StepVisual/StepVisual_CompositeText.cxx
Executable file
42
src/StepVisual/StepVisual_CompositeText.cxx
Executable file
@@ -0,0 +1,42 @@
|
||||
#include <StepVisual_CompositeText.ixx>
|
||||
|
||||
|
||||
StepVisual_CompositeText::StepVisual_CompositeText () {}
|
||||
|
||||
void StepVisual_CompositeText::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
void StepVisual_CompositeText::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepVisual_HArray1OfTextOrCharacter)& aCollectedText)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
collectedText = aCollectedText;
|
||||
// --- classe inherited fields ---
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
|
||||
void StepVisual_CompositeText::SetCollectedText(const Handle(StepVisual_HArray1OfTextOrCharacter)& aCollectedText)
|
||||
{
|
||||
collectedText = aCollectedText;
|
||||
}
|
||||
|
||||
Handle(StepVisual_HArray1OfTextOrCharacter) StepVisual_CompositeText::CollectedText() const
|
||||
{
|
||||
return collectedText;
|
||||
}
|
||||
|
||||
StepVisual_TextOrCharacter StepVisual_CompositeText::CollectedTextValue(const Standard_Integer num) const
|
||||
{
|
||||
return collectedText->Value(num);
|
||||
}
|
||||
|
||||
Standard_Integer StepVisual_CompositeText::NbCollectedText () const
|
||||
{
|
||||
return collectedText->Length();
|
||||
}
|
40
src/StepVisual/StepVisual_CompositeTextWithExtent.cdl
Executable file
40
src/StepVisual/StepVisual_CompositeTextWithExtent.cdl
Executable file
@@ -0,0 +1,40 @@
|
||||
-- File: CompositeTextWithExtent.cdl
|
||||
-- Created: Fri Dec 1 11:11:17 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class CompositeTextWithExtent from StepVisual
|
||||
|
||||
inherits CompositeText from StepVisual
|
||||
|
||||
uses
|
||||
|
||||
PlanarExtent from StepVisual,
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfTextOrCharacter from StepVisual
|
||||
is
|
||||
|
||||
Create returns mutable CompositeTextWithExtent;
|
||||
---Purpose: Returns a CompositeTextWithExtent
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aCollectedText : mutable HArray1OfTextOrCharacter from StepVisual) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aCollectedText : mutable HArray1OfTextOrCharacter from StepVisual;
|
||||
aExtent : mutable PlanarExtent from StepVisual) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetExtent(me : mutable; aExtent : mutable PlanarExtent);
|
||||
Extent (me) returns mutable PlanarExtent;
|
||||
|
||||
fields
|
||||
|
||||
extent : PlanarExtent from StepVisual;
|
||||
|
||||
end CompositeTextWithExtent;
|
34
src/StepVisual/StepVisual_CompositeTextWithExtent.cxx
Executable file
34
src/StepVisual/StepVisual_CompositeTextWithExtent.cxx
Executable file
@@ -0,0 +1,34 @@
|
||||
#include <StepVisual_CompositeTextWithExtent.ixx>
|
||||
|
||||
|
||||
StepVisual_CompositeTextWithExtent::StepVisual_CompositeTextWithExtent () {}
|
||||
|
||||
void StepVisual_CompositeTextWithExtent::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepVisual_HArray1OfTextOrCharacter)& aCollectedText)
|
||||
{
|
||||
|
||||
StepVisual_CompositeText::Init(aName, aCollectedText);
|
||||
}
|
||||
|
||||
void StepVisual_CompositeTextWithExtent::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepVisual_HArray1OfTextOrCharacter)& aCollectedText,
|
||||
const Handle(StepVisual_PlanarExtent)& aExtent)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
extent = aExtent;
|
||||
// --- classe inherited fields ---
|
||||
StepVisual_CompositeText::Init(aName, aCollectedText);
|
||||
}
|
||||
|
||||
|
||||
void StepVisual_CompositeTextWithExtent::SetExtent(const Handle(StepVisual_PlanarExtent)& aExtent)
|
||||
{
|
||||
extent = aExtent;
|
||||
}
|
||||
|
||||
Handle(StepVisual_PlanarExtent) StepVisual_CompositeTextWithExtent::Extent() const
|
||||
{
|
||||
return extent;
|
||||
}
|
37
src/StepVisual/StepVisual_ContextDependentInvisibility.cdl
Executable file
37
src/StepVisual/StepVisual_ContextDependentInvisibility.cdl
Executable file
@@ -0,0 +1,37 @@
|
||||
-- File: ContextDependentInvisibility.cdl
|
||||
-- Created: Fri Dec 1 11:11:17 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class ContextDependentInvisibility from StepVisual
|
||||
|
||||
inherits Invisibility from StepVisual
|
||||
|
||||
uses
|
||||
|
||||
InvisibilityContext from StepVisual,
|
||||
HArray1OfInvisibleItem from StepVisual
|
||||
is
|
||||
|
||||
Create returns mutable ContextDependentInvisibility;
|
||||
---Purpose: Returns a ContextDependentInvisibility
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aInvisibleItems : mutable HArray1OfInvisibleItem from StepVisual) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aInvisibleItems : mutable HArray1OfInvisibleItem from StepVisual;
|
||||
aPresentationContext : InvisibilityContext from StepVisual) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetPresentationContext(me : mutable; aPresentationContext : InvisibilityContext);
|
||||
PresentationContext (me) returns InvisibilityContext;
|
||||
|
||||
fields
|
||||
|
||||
presentationContext : InvisibilityContext from StepVisual; -- a SelectType
|
||||
|
||||
end ContextDependentInvisibility;
|
32
src/StepVisual/StepVisual_ContextDependentInvisibility.cxx
Executable file
32
src/StepVisual/StepVisual_ContextDependentInvisibility.cxx
Executable file
@@ -0,0 +1,32 @@
|
||||
#include <StepVisual_ContextDependentInvisibility.ixx>
|
||||
|
||||
|
||||
StepVisual_ContextDependentInvisibility::StepVisual_ContextDependentInvisibility () {}
|
||||
|
||||
void StepVisual_ContextDependentInvisibility::Init(
|
||||
const Handle(StepVisual_HArray1OfInvisibleItem)& aInvisibleItems)
|
||||
{
|
||||
|
||||
StepVisual_Invisibility::Init(aInvisibleItems);
|
||||
}
|
||||
|
||||
void StepVisual_ContextDependentInvisibility::Init(
|
||||
const Handle(StepVisual_HArray1OfInvisibleItem)& aInvisibleItems,
|
||||
const StepVisual_InvisibilityContext& aPresentationContext)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
presentationContext = aPresentationContext;
|
||||
// --- classe inherited fields ---
|
||||
StepVisual_Invisibility::Init(aInvisibleItems);
|
||||
}
|
||||
|
||||
|
||||
void StepVisual_ContextDependentInvisibility::SetPresentationContext(const StepVisual_InvisibilityContext& aPresentationContext)
|
||||
{
|
||||
presentationContext = aPresentationContext;
|
||||
}
|
||||
|
||||
StepVisual_InvisibilityContext StepVisual_ContextDependentInvisibility::PresentationContext() const
|
||||
{
|
||||
return presentationContext;
|
||||
}
|
49
src/StepVisual/StepVisual_ContextDependentOverRidingStyledItem.cdl
Executable file
49
src/StepVisual/StepVisual_ContextDependentOverRidingStyledItem.cdl
Executable file
@@ -0,0 +1,49 @@
|
||||
-- File: ContextDependentOverRidingStyledItem.cdl
|
||||
-- Created: Fri Dec 1 11:11:17 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class ContextDependentOverRidingStyledItem from StepVisual
|
||||
|
||||
inherits OverRidingStyledItem from StepVisual
|
||||
|
||||
uses
|
||||
|
||||
HArray1OfStyleContextSelect from StepVisual,
|
||||
StyleContextSelect from StepVisual,
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfPresentationStyleAssignment from StepVisual,
|
||||
RepresentationItem from StepRepr,
|
||||
StyledItem from StepVisual
|
||||
is
|
||||
|
||||
Create returns mutable ContextDependentOverRidingStyledItem;
|
||||
---Purpose: Returns a ContextDependentOverRidingStyledItem
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aStyles : mutable HArray1OfPresentationStyleAssignment from StepVisual;
|
||||
aItem : mutable RepresentationItem from StepRepr;
|
||||
aOverRiddenStyle : mutable StyledItem from StepVisual) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aStyles : mutable HArray1OfPresentationStyleAssignment from StepVisual;
|
||||
aItem : mutable RepresentationItem from StepRepr;
|
||||
aOverRiddenStyle : mutable StyledItem from StepVisual;
|
||||
aStyleContext : mutable HArray1OfStyleContextSelect from StepVisual) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetStyleContext(me : mutable; aStyleContext : mutable HArray1OfStyleContextSelect);
|
||||
StyleContext (me) returns mutable HArray1OfStyleContextSelect;
|
||||
StyleContextValue (me; num : Integer) returns StyleContextSelect;
|
||||
NbStyleContext (me) returns Integer;
|
||||
|
||||
fields
|
||||
|
||||
styleContext : HArray1OfStyleContextSelect from StepVisual; -- a SelectType
|
||||
|
||||
end ContextDependentOverRidingStyledItem;
|
48
src/StepVisual/StepVisual_ContextDependentOverRidingStyledItem.cxx
Executable file
48
src/StepVisual/StepVisual_ContextDependentOverRidingStyledItem.cxx
Executable file
@@ -0,0 +1,48 @@
|
||||
#include <StepVisual_ContextDependentOverRidingStyledItem.ixx>
|
||||
|
||||
|
||||
StepVisual_ContextDependentOverRidingStyledItem::StepVisual_ContextDependentOverRidingStyledItem () {}
|
||||
|
||||
void StepVisual_ContextDependentOverRidingStyledItem::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepVisual_HArray1OfPresentationStyleAssignment)& aStyles,
|
||||
const Handle(StepRepr_RepresentationItem)& aItem,
|
||||
const Handle(StepVisual_StyledItem)& aOverRiddenStyle)
|
||||
{
|
||||
|
||||
StepVisual_OverRidingStyledItem::Init(aName, aStyles, aItem, aOverRiddenStyle);
|
||||
}
|
||||
|
||||
void StepVisual_ContextDependentOverRidingStyledItem::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepVisual_HArray1OfPresentationStyleAssignment)& aStyles,
|
||||
const Handle(StepRepr_RepresentationItem)& aItem,
|
||||
const Handle(StepVisual_StyledItem)& aOverRiddenStyle,
|
||||
const Handle(StepVisual_HArray1OfStyleContextSelect)& aStyleContext)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
styleContext = aStyleContext;
|
||||
// --- classe inherited fields ---
|
||||
StepVisual_OverRidingStyledItem::Init(aName, aStyles, aItem, aOverRiddenStyle);
|
||||
}
|
||||
|
||||
|
||||
void StepVisual_ContextDependentOverRidingStyledItem::SetStyleContext(const Handle(StepVisual_HArray1OfStyleContextSelect)& aStyleContext)
|
||||
{
|
||||
styleContext = aStyleContext;
|
||||
}
|
||||
|
||||
Handle(StepVisual_HArray1OfStyleContextSelect) StepVisual_ContextDependentOverRidingStyledItem::StyleContext() const
|
||||
{
|
||||
return styleContext;
|
||||
}
|
||||
|
||||
StepVisual_StyleContextSelect StepVisual_ContextDependentOverRidingStyledItem::StyleContextValue(const Standard_Integer num) const
|
||||
{
|
||||
return styleContext->Value(num);
|
||||
}
|
||||
|
||||
Standard_Integer StepVisual_ContextDependentOverRidingStyledItem::NbStyleContext () const
|
||||
{
|
||||
return styleContext->Length();
|
||||
}
|
46
src/StepVisual/StepVisual_CurveStyle.cdl
Executable file
46
src/StepVisual/StepVisual_CurveStyle.cdl
Executable file
@@ -0,0 +1,46 @@
|
||||
-- File: CurveStyle.cdl
|
||||
-- Created: Fri Dec 1 11:11:17 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class CurveStyle from StepVisual
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
CurveStyleFontSelect from StepVisual,
|
||||
SizeSelect from StepBasic,
|
||||
Colour from StepVisual
|
||||
is
|
||||
|
||||
Create returns mutable CurveStyle;
|
||||
---Purpose: Returns a CurveStyle
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aCurveFont : CurveStyleFontSelect from StepVisual;
|
||||
aCurveWidth : SizeSelect from StepBasic;
|
||||
aCurveColour : mutable Colour from StepVisual) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetName(me : mutable; aName : mutable HAsciiString);
|
||||
Name (me) returns mutable HAsciiString;
|
||||
SetCurveFont(me : mutable; aCurveFont : CurveStyleFontSelect);
|
||||
CurveFont (me) returns CurveStyleFontSelect;
|
||||
SetCurveWidth(me : mutable; aCurveWidth : SizeSelect);
|
||||
CurveWidth (me) returns SizeSelect;
|
||||
SetCurveColour(me : mutable; aCurveColour : mutable Colour);
|
||||
CurveColour (me) returns mutable Colour;
|
||||
|
||||
fields
|
||||
|
||||
name : HAsciiString from TCollection;
|
||||
curveFont : CurveStyleFontSelect from StepVisual; -- a SelectType
|
||||
curveWidth : SizeSelect from StepBasic; -- a SelectType
|
||||
curveColour : Colour from StepVisual;
|
||||
|
||||
end CurveStyle;
|
58
src/StepVisual/StepVisual_CurveStyle.cxx
Executable file
58
src/StepVisual/StepVisual_CurveStyle.cxx
Executable file
@@ -0,0 +1,58 @@
|
||||
#include <StepVisual_CurveStyle.ixx>
|
||||
|
||||
|
||||
StepVisual_CurveStyle::StepVisual_CurveStyle () {}
|
||||
|
||||
void StepVisual_CurveStyle::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const StepVisual_CurveStyleFontSelect& aCurveFont,
|
||||
const StepBasic_SizeSelect& aCurveWidth,
|
||||
const Handle(StepVisual_Colour)& aCurveColour)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
name = aName;
|
||||
curveFont = aCurveFont;
|
||||
curveWidth = aCurveWidth;
|
||||
curveColour = aCurveColour;
|
||||
}
|
||||
|
||||
|
||||
void StepVisual_CurveStyle::SetName(const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
name = aName;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepVisual_CurveStyle::Name() const
|
||||
{
|
||||
return name;
|
||||
}
|
||||
|
||||
void StepVisual_CurveStyle::SetCurveFont(const StepVisual_CurveStyleFontSelect& aCurveFont)
|
||||
{
|
||||
curveFont = aCurveFont;
|
||||
}
|
||||
|
||||
StepVisual_CurveStyleFontSelect StepVisual_CurveStyle::CurveFont() const
|
||||
{
|
||||
return curveFont;
|
||||
}
|
||||
|
||||
void StepVisual_CurveStyle::SetCurveWidth(const StepBasic_SizeSelect& aCurveWidth)
|
||||
{
|
||||
curveWidth = aCurveWidth;
|
||||
}
|
||||
|
||||
StepBasic_SizeSelect StepVisual_CurveStyle::CurveWidth() const
|
||||
{
|
||||
return curveWidth;
|
||||
}
|
||||
|
||||
void StepVisual_CurveStyle::SetCurveColour(const Handle(StepVisual_Colour)& aCurveColour)
|
||||
{
|
||||
curveColour = aCurveColour;
|
||||
}
|
||||
|
||||
Handle(StepVisual_Colour) StepVisual_CurveStyle::CurveColour() const
|
||||
{
|
||||
return curveColour;
|
||||
}
|
39
src/StepVisual/StepVisual_CurveStyleFont.cdl
Executable file
39
src/StepVisual/StepVisual_CurveStyleFont.cdl
Executable file
@@ -0,0 +1,39 @@
|
||||
-- File: CurveStyleFont.cdl
|
||||
-- Created: Fri Dec 1 11:11:17 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class CurveStyleFont from StepVisual
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfCurveStyleFontPattern from StepVisual,
|
||||
CurveStyleFontPattern from StepVisual
|
||||
is
|
||||
|
||||
Create returns mutable CurveStyleFont;
|
||||
---Purpose: Returns a CurveStyleFont
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aPatternList : mutable HArray1OfCurveStyleFontPattern from StepVisual) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetName(me : mutable; aName : mutable HAsciiString);
|
||||
Name (me) returns mutable HAsciiString;
|
||||
SetPatternList(me : mutable; aPatternList : mutable HArray1OfCurveStyleFontPattern);
|
||||
PatternList (me) returns mutable HArray1OfCurveStyleFontPattern;
|
||||
PatternListValue (me; num : Integer) returns mutable CurveStyleFontPattern;
|
||||
NbPatternList (me) returns Integer;
|
||||
|
||||
fields
|
||||
|
||||
name : HAsciiString from TCollection;
|
||||
patternList : HArray1OfCurveStyleFontPattern from StepVisual;
|
||||
|
||||
end CurveStyleFont;
|
45
src/StepVisual/StepVisual_CurveStyleFont.cxx
Executable file
45
src/StepVisual/StepVisual_CurveStyleFont.cxx
Executable file
@@ -0,0 +1,45 @@
|
||||
#include <StepVisual_CurveStyleFont.ixx>
|
||||
|
||||
|
||||
StepVisual_CurveStyleFont::StepVisual_CurveStyleFont () {}
|
||||
|
||||
void StepVisual_CurveStyleFont::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepVisual_HArray1OfCurveStyleFontPattern)& aPatternList)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
name = aName;
|
||||
patternList = aPatternList;
|
||||
}
|
||||
|
||||
|
||||
void StepVisual_CurveStyleFont::SetName(const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
name = aName;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepVisual_CurveStyleFont::Name() const
|
||||
{
|
||||
return name;
|
||||
}
|
||||
|
||||
void StepVisual_CurveStyleFont::SetPatternList(const Handle(StepVisual_HArray1OfCurveStyleFontPattern)& aPatternList)
|
||||
{
|
||||
patternList = aPatternList;
|
||||
}
|
||||
|
||||
Handle(StepVisual_HArray1OfCurveStyleFontPattern) StepVisual_CurveStyleFont::PatternList() const
|
||||
{
|
||||
return patternList;
|
||||
}
|
||||
|
||||
Handle(StepVisual_CurveStyleFontPattern) StepVisual_CurveStyleFont::PatternListValue(const Standard_Integer num) const
|
||||
{
|
||||
return patternList->Value(num);
|
||||
}
|
||||
|
||||
Standard_Integer StepVisual_CurveStyleFont::NbPatternList () const
|
||||
{
|
||||
if (patternList.IsNull()) return 0;
|
||||
return patternList->Length();
|
||||
}
|
35
src/StepVisual/StepVisual_CurveStyleFontPattern.cdl
Executable file
35
src/StepVisual/StepVisual_CurveStyleFontPattern.cdl
Executable file
@@ -0,0 +1,35 @@
|
||||
-- File: CurveStyleFontPattern.cdl
|
||||
-- Created: Fri Dec 1 11:11:17 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class CurveStyleFontPattern from StepVisual
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
Real from Standard
|
||||
is
|
||||
|
||||
Create returns mutable CurveStyleFontPattern;
|
||||
---Purpose: Returns a CurveStyleFontPattern
|
||||
|
||||
Init (me : mutable;
|
||||
aVisibleSegmentLength : Real from Standard;
|
||||
aInvisibleSegmentLength : Real from Standard) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetVisibleSegmentLength(me : mutable; aVisibleSegmentLength : Real);
|
||||
VisibleSegmentLength (me) returns Real;
|
||||
SetInvisibleSegmentLength(me : mutable; aInvisibleSegmentLength : Real);
|
||||
InvisibleSegmentLength (me) returns Real;
|
||||
|
||||
fields
|
||||
|
||||
visibleSegmentLength : Real from Standard;
|
||||
invisibleSegmentLength : Real from Standard;
|
||||
|
||||
end CurveStyleFontPattern;
|
34
src/StepVisual/StepVisual_CurveStyleFontPattern.cxx
Executable file
34
src/StepVisual/StepVisual_CurveStyleFontPattern.cxx
Executable file
@@ -0,0 +1,34 @@
|
||||
#include <StepVisual_CurveStyleFontPattern.ixx>
|
||||
|
||||
|
||||
StepVisual_CurveStyleFontPattern::StepVisual_CurveStyleFontPattern () {}
|
||||
|
||||
void StepVisual_CurveStyleFontPattern::Init(
|
||||
const Standard_Real aVisibleSegmentLength,
|
||||
const Standard_Real aInvisibleSegmentLength)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
visibleSegmentLength = aVisibleSegmentLength;
|
||||
invisibleSegmentLength = aInvisibleSegmentLength;
|
||||
}
|
||||
|
||||
|
||||
void StepVisual_CurveStyleFontPattern::SetVisibleSegmentLength(const Standard_Real aVisibleSegmentLength)
|
||||
{
|
||||
visibleSegmentLength = aVisibleSegmentLength;
|
||||
}
|
||||
|
||||
Standard_Real StepVisual_CurveStyleFontPattern::VisibleSegmentLength() const
|
||||
{
|
||||
return visibleSegmentLength;
|
||||
}
|
||||
|
||||
void StepVisual_CurveStyleFontPattern::SetInvisibleSegmentLength(const Standard_Real aInvisibleSegmentLength)
|
||||
{
|
||||
invisibleSegmentLength = aInvisibleSegmentLength;
|
||||
}
|
||||
|
||||
Standard_Real StepVisual_CurveStyleFontPattern::InvisibleSegmentLength() const
|
||||
{
|
||||
return invisibleSegmentLength;
|
||||
}
|
41
src/StepVisual/StepVisual_CurveStyleFontSelect.cdl
Executable file
41
src/StepVisual/StepVisual_CurveStyleFontSelect.cdl
Executable file
@@ -0,0 +1,41 @@
|
||||
-- File: CurveStyleFontSelect.cdl
|
||||
-- Created: Fri Dec 1 11:11:11 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
|
||||
class CurveStyleFontSelect from StepVisual inherits SelectType from StepData
|
||||
|
||||
-- <CurveStyleFontSelect> is an EXPRESS Select Type construct translation.
|
||||
-- it gathers : CurveStyleFont, PreDefinedCurveFont, ExternallyDefinedCurveFont
|
||||
|
||||
uses
|
||||
|
||||
CurveStyleFont,
|
||||
PreDefinedCurveFont,
|
||||
ExternallyDefinedCurveFont
|
||||
is
|
||||
|
||||
Create returns CurveStyleFontSelect;
|
||||
---Purpose : Returns a CurveStyleFontSelect SelectType
|
||||
|
||||
CaseNum (me; ent : Transient) returns Integer;
|
||||
---Purpose: Recognizes a CurveStyleFontSelect Kind Entity that is :
|
||||
-- 1 -> CurveStyleFont
|
||||
-- 2 -> PreDefinedCurveFont
|
||||
-- 3 -> ExternallyDefinedCurveFont
|
||||
-- 0 else
|
||||
|
||||
CurveStyleFont (me) returns any CurveStyleFont;
|
||||
---Purpose : returns Value as a CurveStyleFont (Null if another type)
|
||||
|
||||
PreDefinedCurveFont (me) returns any PreDefinedCurveFont;
|
||||
---Purpose : returns Value as a PreDefinedCurveFont (Null if another type)
|
||||
|
||||
ExternallyDefinedCurveFont (me) returns any ExternallyDefinedCurveFont;
|
||||
---Purpose : returns Value as a ExternallyDefinedCurveFont (Null if another type)
|
||||
|
||||
|
||||
end CurveStyleFontSelect;
|
||||
|
29
src/StepVisual/StepVisual_CurveStyleFontSelect.cxx
Executable file
29
src/StepVisual/StepVisual_CurveStyleFontSelect.cxx
Executable file
@@ -0,0 +1,29 @@
|
||||
|
||||
#include <StepVisual_CurveStyleFontSelect.ixx>
|
||||
#include <Interface_Macros.hxx>
|
||||
|
||||
StepVisual_CurveStyleFontSelect::StepVisual_CurveStyleFontSelect () { }
|
||||
|
||||
Standard_Integer StepVisual_CurveStyleFontSelect::CaseNum(const Handle(Standard_Transient)& ent) const
|
||||
{
|
||||
if (ent.IsNull()) return 0;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepVisual_CurveStyleFont))) return 1;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepVisual_PreDefinedCurveFont))) return 2;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepVisual_ExternallyDefinedCurveFont))) return 3;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Handle(StepVisual_CurveStyleFont) StepVisual_CurveStyleFontSelect::CurveStyleFont () const
|
||||
{
|
||||
return GetCasted(StepVisual_CurveStyleFont,Value());
|
||||
}
|
||||
|
||||
Handle(StepVisual_PreDefinedCurveFont) StepVisual_CurveStyleFontSelect::PreDefinedCurveFont () const
|
||||
{
|
||||
return GetCasted(StepVisual_PreDefinedCurveFont,Value());
|
||||
}
|
||||
|
||||
Handle(StepVisual_ExternallyDefinedCurveFont) StepVisual_CurveStyleFontSelect::ExternallyDefinedCurveFont () const
|
||||
{
|
||||
return GetCasted(StepVisual_ExternallyDefinedCurveFont,Value());
|
||||
}
|
40
src/StepVisual/StepVisual_DirectionCountSelect.cdl
Executable file
40
src/StepVisual/StepVisual_DirectionCountSelect.cdl
Executable file
@@ -0,0 +1,40 @@
|
||||
-- File: StepVisual_DirectionCountSelect.cdl
|
||||
-- Created: Wed Dec 6 09:37:04 1995
|
||||
-- Author: Frederic MAUPAS
|
||||
-- <fma@anion>
|
||||
---Copyright: Matra Datavision 1995
|
||||
|
||||
class DirectionCountSelect from StepVisual
|
||||
|
||||
-- a Select Type (hand generated)
|
||||
|
||||
uses
|
||||
|
||||
Integer from Standard
|
||||
|
||||
is
|
||||
|
||||
Create returns DirectionCountSelect;
|
||||
|
||||
SetTypeOfContent(me : in out; aTypeOfContent : Integer);
|
||||
|
||||
TypeOfContent(me) returns Integer;
|
||||
-- 1 -> UDirectionCount
|
||||
-- 2 -> VDirectionCount
|
||||
|
||||
UDirectionCount(me) returns Integer from Standard;
|
||||
|
||||
SetUDirectionCount(me : in out; aUDirectionCount : Integer from Standard);
|
||||
|
||||
VDirectionCount(me) returns Integer from Standard;
|
||||
|
||||
SetVDirectionCount(me : in out; aUDirectionCount : Integer from Standard);
|
||||
|
||||
|
||||
fields
|
||||
|
||||
theUDirectionCount : Integer from Standard;
|
||||
theVDirectionCount : Integer from Standard;
|
||||
theTypeOfContent : Integer from Standard;
|
||||
|
||||
end DirectionCountSelect;
|
38
src/StepVisual/StepVisual_DirectionCountSelect.cxx
Executable file
38
src/StepVisual/StepVisual_DirectionCountSelect.cxx
Executable file
@@ -0,0 +1,38 @@
|
||||
#include <StepVisual_DirectionCountSelect.hxx>
|
||||
|
||||
StepVisual_DirectionCountSelect::StepVisual_DirectionCountSelect() {}
|
||||
|
||||
void StepVisual_DirectionCountSelect::SetTypeOfContent(const Standard_Integer aType)
|
||||
{
|
||||
theTypeOfContent = aType;
|
||||
}
|
||||
|
||||
Standard_Integer StepVisual_DirectionCountSelect::TypeOfContent() const
|
||||
{
|
||||
return theTypeOfContent;
|
||||
}
|
||||
|
||||
Standard_Integer StepVisual_DirectionCountSelect::UDirectionCount() const
|
||||
{
|
||||
return theUDirectionCount;
|
||||
}
|
||||
|
||||
void StepVisual_DirectionCountSelect::SetUDirectionCount(const Standard_Integer aUDirectionCount)
|
||||
{
|
||||
theUDirectionCount = aUDirectionCount;
|
||||
theTypeOfContent = 1;
|
||||
}
|
||||
|
||||
|
||||
Standard_Integer StepVisual_DirectionCountSelect::VDirectionCount() const
|
||||
{
|
||||
return theUDirectionCount;
|
||||
}
|
||||
|
||||
void StepVisual_DirectionCountSelect::SetVDirectionCount(const Standard_Integer aVDirectionCount)
|
||||
{
|
||||
theVDirectionCount = aVDirectionCount;
|
||||
theTypeOfContent = 2;
|
||||
}
|
||||
|
||||
|
22
src/StepVisual/StepVisual_DraughtingAnnotationOccurrence.cdl
Executable file
22
src/StepVisual/StepVisual_DraughtingAnnotationOccurrence.cdl
Executable file
@@ -0,0 +1,22 @@
|
||||
-- File: DraughtingAnnotationOccurrence.cdl
|
||||
-- Created: Fri Dec 1 11:11:19 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class DraughtingAnnotationOccurrence from StepVisual
|
||||
|
||||
inherits AnnotationOccurrence from StepVisual
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfPresentationStyleAssignment from StepVisual,
|
||||
RepresentationItem from StepRepr
|
||||
is
|
||||
|
||||
Create returns mutable DraughtingAnnotationOccurrence;
|
||||
---Purpose: Returns a DraughtingAnnotationOccurrence
|
||||
|
||||
|
||||
end DraughtingAnnotationOccurrence;
|
5
src/StepVisual/StepVisual_DraughtingAnnotationOccurrence.cxx
Executable file
5
src/StepVisual/StepVisual_DraughtingAnnotationOccurrence.cxx
Executable file
@@ -0,0 +1,5 @@
|
||||
#include <StepVisual_DraughtingAnnotationOccurrence.ixx>
|
||||
|
||||
|
||||
StepVisual_DraughtingAnnotationOccurrence::StepVisual_DraughtingAnnotationOccurrence () {}
|
||||
|
21
src/StepVisual/StepVisual_DraughtingModel.cdl
Executable file
21
src/StepVisual/StepVisual_DraughtingModel.cdl
Executable file
@@ -0,0 +1,21 @@
|
||||
-- File: StepVisual_DraughtingModel.cdl
|
||||
-- Created: Thu Jan 13 10:08:42 2000
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class DraughtingModel from StepVisual
|
||||
inherits Representation from StepRepr
|
||||
|
||||
---Purpose: Representation of STEP entity DraughtingModel
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfRepresentationItem from StepRepr,
|
||||
RepresentationContext from StepRepr
|
||||
|
||||
is
|
||||
Create returns DraughtingModel from StepVisual;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
end DraughtingModel;
|
16
src/StepVisual/StepVisual_DraughtingModel.cxx
Executable file
16
src/StepVisual/StepVisual_DraughtingModel.cxx
Executable file
@@ -0,0 +1,16 @@
|
||||
// File: StepVisual_DraughtingModel.cxx
|
||||
// Created: Thu Jan 13 10:08:42 2000
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepVisual_DraughtingModel.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepVisual_DraughtingModel
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepVisual_DraughtingModel::StepVisual_DraughtingModel ()
|
||||
{
|
||||
}
|
20
src/StepVisual/StepVisual_DraughtingPreDefinedColour.cdl
Executable file
20
src/StepVisual/StepVisual_DraughtingPreDefinedColour.cdl
Executable file
@@ -0,0 +1,20 @@
|
||||
-- File: DraughtingPreDefinedColour.cdl
|
||||
-- Created: Fri Dec 1 11:11:19 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class DraughtingPreDefinedColour from StepVisual
|
||||
|
||||
inherits PreDefinedColour from StepVisual
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable DraughtingPreDefinedColour;
|
||||
---Purpose: Returns a DraughtingPreDefinedColour
|
||||
|
||||
|
||||
end DraughtingPreDefinedColour;
|
5
src/StepVisual/StepVisual_DraughtingPreDefinedColour.cxx
Executable file
5
src/StepVisual/StepVisual_DraughtingPreDefinedColour.cxx
Executable file
@@ -0,0 +1,5 @@
|
||||
#include <StepVisual_DraughtingPreDefinedColour.ixx>
|
||||
|
||||
|
||||
StepVisual_DraughtingPreDefinedColour::StepVisual_DraughtingPreDefinedColour () {}
|
||||
|
20
src/StepVisual/StepVisual_DraughtingPreDefinedCurveFont.cdl
Executable file
20
src/StepVisual/StepVisual_DraughtingPreDefinedCurveFont.cdl
Executable file
@@ -0,0 +1,20 @@
|
||||
-- File: DraughtingPreDefinedCurveFont.cdl
|
||||
-- Created: Fri Dec 1 11:11:19 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class DraughtingPreDefinedCurveFont from StepVisual
|
||||
|
||||
inherits PreDefinedCurveFont from StepVisual
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable DraughtingPreDefinedCurveFont;
|
||||
---Purpose: Returns a DraughtingPreDefinedCurveFont
|
||||
|
||||
|
||||
end DraughtingPreDefinedCurveFont;
|
5
src/StepVisual/StepVisual_DraughtingPreDefinedCurveFont.cxx
Executable file
5
src/StepVisual/StepVisual_DraughtingPreDefinedCurveFont.cxx
Executable file
@@ -0,0 +1,5 @@
|
||||
#include <StepVisual_DraughtingPreDefinedCurveFont.ixx>
|
||||
|
||||
|
||||
StepVisual_DraughtingPreDefinedCurveFont::StepVisual_DraughtingPreDefinedCurveFont () {}
|
||||
|
20
src/StepVisual/StepVisual_ExternallyDefinedCurveFont.cdl
Executable file
20
src/StepVisual/StepVisual_ExternallyDefinedCurveFont.cdl
Executable file
@@ -0,0 +1,20 @@
|
||||
-- File: StepVisual_ExternallyDefinedCurveFont.cdl
|
||||
-- Created: Wed May 10 15:09:07 2000
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
-- Copyright: Matra Datavision 2000
|
||||
|
||||
class ExternallyDefinedCurveFont from StepVisual
|
||||
inherits ExternallyDefinedItem from StepBasic
|
||||
|
||||
---Purpose: Representation of STEP entity ExternallyDefinedCurveFont
|
||||
|
||||
uses
|
||||
SourceItem from StepBasic,
|
||||
ExternalSource from StepBasic
|
||||
|
||||
is
|
||||
Create returns ExternallyDefinedCurveFont from StepVisual;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
end ExternallyDefinedCurveFont;
|
16
src/StepVisual/StepVisual_ExternallyDefinedCurveFont.cxx
Executable file
16
src/StepVisual/StepVisual_ExternallyDefinedCurveFont.cxx
Executable file
@@ -0,0 +1,16 @@
|
||||
// File: StepVisual_ExternallyDefinedCurveFont.cxx
|
||||
// Created: Wed May 10 15:09:07 2000
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
// Copyright: Matra Datavision 2000
|
||||
|
||||
#include <StepVisual_ExternallyDefinedCurveFont.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepVisual_ExternallyDefinedCurveFont
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepVisual_ExternallyDefinedCurveFont::StepVisual_ExternallyDefinedCurveFont ()
|
||||
{
|
||||
}
|
20
src/StepVisual/StepVisual_ExternallyDefinedTextFont.cdl
Executable file
20
src/StepVisual/StepVisual_ExternallyDefinedTextFont.cdl
Executable file
@@ -0,0 +1,20 @@
|
||||
-- File: StepVisual_ExternallyDefinedTextFont.cdl
|
||||
-- Created: Wed May 10 15:09:07 2000
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
-- Copyright: Matra Datavision 2000
|
||||
|
||||
class ExternallyDefinedTextFont from StepVisual
|
||||
inherits ExternallyDefinedItem from StepBasic
|
||||
|
||||
---Purpose: Representation of STEP entity ExternallyDefinedTextFont
|
||||
|
||||
uses
|
||||
SourceItem from StepBasic,
|
||||
ExternalSource from StepBasic
|
||||
|
||||
is
|
||||
Create returns ExternallyDefinedTextFont from StepVisual;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
end ExternallyDefinedTextFont;
|
16
src/StepVisual/StepVisual_ExternallyDefinedTextFont.cxx
Executable file
16
src/StepVisual/StepVisual_ExternallyDefinedTextFont.cxx
Executable file
@@ -0,0 +1,16 @@
|
||||
// File: StepVisual_ExternallyDefinedTextFont.cxx
|
||||
// Created: Wed May 10 15:09:07 2000
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
// Copyright: Matra Datavision 2000
|
||||
|
||||
#include <StepVisual_ExternallyDefinedTextFont.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepVisual_ExternallyDefinedTextFont
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepVisual_ExternallyDefinedTextFont::StepVisual_ExternallyDefinedTextFont ()
|
||||
{
|
||||
}
|
39
src/StepVisual/StepVisual_FillAreaStyle.cdl
Executable file
39
src/StepVisual/StepVisual_FillAreaStyle.cdl
Executable file
@@ -0,0 +1,39 @@
|
||||
-- File: FillAreaStyle.cdl
|
||||
-- Created: Fri Dec 1 11:11:20 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class FillAreaStyle from StepVisual
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfFillStyleSelect from StepVisual,
|
||||
FillStyleSelect from StepVisual
|
||||
is
|
||||
|
||||
Create returns mutable FillAreaStyle;
|
||||
---Purpose: Returns a FillAreaStyle
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aFillStyles : mutable HArray1OfFillStyleSelect from StepVisual) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetName(me : mutable; aName : mutable HAsciiString);
|
||||
Name (me) returns mutable HAsciiString;
|
||||
SetFillStyles(me : mutable; aFillStyles : mutable HArray1OfFillStyleSelect);
|
||||
FillStyles (me) returns mutable HArray1OfFillStyleSelect;
|
||||
FillStylesValue (me; num : Integer) returns FillStyleSelect;
|
||||
NbFillStyles (me) returns Integer;
|
||||
|
||||
fields
|
||||
|
||||
name : HAsciiString from TCollection;
|
||||
fillStyles : HArray1OfFillStyleSelect from StepVisual; -- a SelectType
|
||||
|
||||
end FillAreaStyle;
|
44
src/StepVisual/StepVisual_FillAreaStyle.cxx
Executable file
44
src/StepVisual/StepVisual_FillAreaStyle.cxx
Executable file
@@ -0,0 +1,44 @@
|
||||
#include <StepVisual_FillAreaStyle.ixx>
|
||||
|
||||
|
||||
StepVisual_FillAreaStyle::StepVisual_FillAreaStyle () {}
|
||||
|
||||
void StepVisual_FillAreaStyle::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepVisual_HArray1OfFillStyleSelect)& aFillStyles)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
name = aName;
|
||||
fillStyles = aFillStyles;
|
||||
}
|
||||
|
||||
|
||||
void StepVisual_FillAreaStyle::SetName(const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
name = aName;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepVisual_FillAreaStyle::Name() const
|
||||
{
|
||||
return name;
|
||||
}
|
||||
|
||||
void StepVisual_FillAreaStyle::SetFillStyles(const Handle(StepVisual_HArray1OfFillStyleSelect)& aFillStyles)
|
||||
{
|
||||
fillStyles = aFillStyles;
|
||||
}
|
||||
|
||||
Handle(StepVisual_HArray1OfFillStyleSelect) StepVisual_FillAreaStyle::FillStyles() const
|
||||
{
|
||||
return fillStyles;
|
||||
}
|
||||
|
||||
StepVisual_FillStyleSelect StepVisual_FillAreaStyle::FillStylesValue(const Standard_Integer num) const
|
||||
{
|
||||
return fillStyles->Value(num);
|
||||
}
|
||||
|
||||
Standard_Integer StepVisual_FillAreaStyle::NbFillStyles () const
|
||||
{
|
||||
return fillStyles->Length();
|
||||
}
|
36
src/StepVisual/StepVisual_FillAreaStyleColour.cdl
Executable file
36
src/StepVisual/StepVisual_FillAreaStyleColour.cdl
Executable file
@@ -0,0 +1,36 @@
|
||||
-- File: FillAreaStyleColour.cdl
|
||||
-- Created: Fri Dec 1 11:11:20 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class FillAreaStyleColour from StepVisual
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
Colour from StepVisual
|
||||
is
|
||||
|
||||
Create returns mutable FillAreaStyleColour;
|
||||
---Purpose: Returns a FillAreaStyleColour
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aFillColour : mutable Colour from StepVisual) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetName(me : mutable; aName : mutable HAsciiString);
|
||||
Name (me) returns mutable HAsciiString;
|
||||
SetFillColour(me : mutable; aFillColour : mutable Colour);
|
||||
FillColour (me) returns mutable Colour;
|
||||
|
||||
fields
|
||||
|
||||
name : HAsciiString from TCollection;
|
||||
fillColour : Colour from StepVisual;
|
||||
|
||||
end FillAreaStyleColour;
|
34
src/StepVisual/StepVisual_FillAreaStyleColour.cxx
Executable file
34
src/StepVisual/StepVisual_FillAreaStyleColour.cxx
Executable file
@@ -0,0 +1,34 @@
|
||||
#include <StepVisual_FillAreaStyleColour.ixx>
|
||||
|
||||
|
||||
StepVisual_FillAreaStyleColour::StepVisual_FillAreaStyleColour () {}
|
||||
|
||||
void StepVisual_FillAreaStyleColour::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepVisual_Colour)& aFillColour)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
name = aName;
|
||||
fillColour = aFillColour;
|
||||
}
|
||||
|
||||
|
||||
void StepVisual_FillAreaStyleColour::SetName(const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
name = aName;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepVisual_FillAreaStyleColour::Name() const
|
||||
{
|
||||
return name;
|
||||
}
|
||||
|
||||
void StepVisual_FillAreaStyleColour::SetFillColour(const Handle(StepVisual_Colour)& aFillColour)
|
||||
{
|
||||
fillColour = aFillColour;
|
||||
}
|
||||
|
||||
Handle(StepVisual_Colour) StepVisual_FillAreaStyleColour::FillColour() const
|
||||
{
|
||||
return fillColour;
|
||||
}
|
40
src/StepVisual/StepVisual_FillStyleSelect.cdl
Executable file
40
src/StepVisual/StepVisual_FillStyleSelect.cdl
Executable file
@@ -0,0 +1,40 @@
|
||||
-- File: FillStyleSelect.cdl
|
||||
-- Created: Fri Dec 1 11:11:11 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
|
||||
class FillStyleSelect from StepVisual inherits SelectType from StepData
|
||||
|
||||
-- <FillStyleSelect> is an EXPRESS Select Type construct translation.
|
||||
-- it gathers : FillAreaStyleColour, ExternallyDefinedTileStyle, FillAreaStyleTiles, ExternallyDefinedHatchStyle, FillAreaStyleHatching
|
||||
-- Rev4 : only FillAreaStyleColour remains
|
||||
|
||||
uses
|
||||
|
||||
FillAreaStyleColour
|
||||
-- ExternallyDefinedTileStyle,
|
||||
-- FillAreaStyleTiles,
|
||||
-- ExternallyDefinedHatchStyle,
|
||||
-- FillAreaStyleHatching
|
||||
is
|
||||
|
||||
Create returns FillStyleSelect;
|
||||
---Purpose : Returns a FillStyleSelect SelectType
|
||||
|
||||
CaseNum (me; ent : Transient) returns Integer;
|
||||
---Purpose: Recognizes a FillStyleSelect Kind Entity that is :
|
||||
-- 1 -> FillAreaStyleColour
|
||||
-- 2 -> ExternallyDefinedTileStyle
|
||||
-- 3 -> FillAreaStyleTiles
|
||||
-- 4 -> ExternallyDefinedHatchStyle
|
||||
-- 5 -> FillAreaStyleHatching
|
||||
-- 0 else
|
||||
|
||||
FillAreaStyleColour (me) returns any FillAreaStyleColour;
|
||||
---Purpose : returns Value as a FillAreaStyleColour (Null if another type)
|
||||
|
||||
|
||||
end FillStyleSelect;
|
||||
|
21
src/StepVisual/StepVisual_FillStyleSelect.cxx
Executable file
21
src/StepVisual/StepVisual_FillStyleSelect.cxx
Executable file
@@ -0,0 +1,21 @@
|
||||
|
||||
#include <StepVisual_FillStyleSelect.ixx>
|
||||
#include <Interface_Macros.hxx>
|
||||
|
||||
StepVisual_FillStyleSelect::StepVisual_FillStyleSelect () { }
|
||||
|
||||
Standard_Integer StepVisual_FillStyleSelect::CaseNum(const Handle(Standard_Transient)& ent) const
|
||||
{
|
||||
if (ent.IsNull()) return 0;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepVisual_FillAreaStyleColour))) return 1;
|
||||
// if (ent->IsKind(STANDARD_TYPE(StepVisual_ExternallyDefinedTileStyle))) return 2;
|
||||
// if (ent->IsKind(STANDARD_TYPE(StepVisual_FillAreaStyleTiles))) return 3;
|
||||
// if (ent->IsKind(STANDARD_TYPE(StepVisual_ExternallyDefinedHatchStyle))) return 4;
|
||||
// if (ent->IsKind(STANDARD_TYPE(StepVisual_FillAreaStyleHatching))) return 5;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Handle(StepVisual_FillAreaStyleColour) StepVisual_FillStyleSelect::FillAreaStyleColour () const
|
||||
{
|
||||
return GetCasted(StepVisual_FillAreaStyleColour,Value());
|
||||
}
|
36
src/StepVisual/StepVisual_FontSelect.cdl
Executable file
36
src/StepVisual/StepVisual_FontSelect.cdl
Executable file
@@ -0,0 +1,36 @@
|
||||
-- File: FontSelect.cdl
|
||||
-- Created: Fri Dec 1 11:11:11 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
|
||||
class FontSelect from StepVisual inherits SelectType from StepData
|
||||
|
||||
-- <FontSelect> is an EXPRESS Select Type construct translation.
|
||||
-- it gathers : PreDefinedTextFont, ExternallyDefinedTextFont
|
||||
|
||||
uses
|
||||
|
||||
PreDefinedTextFont,
|
||||
ExternallyDefinedTextFont
|
||||
is
|
||||
|
||||
Create returns FontSelect;
|
||||
---Purpose : Returns a FontSelect SelectType
|
||||
|
||||
CaseNum (me; ent : Transient) returns Integer;
|
||||
---Purpose: Recognizes a FontSelect Kind Entity that is :
|
||||
-- 1 -> PreDefinedTextFont
|
||||
-- 2 -> ExternallyDefinedTextFont
|
||||
-- 0 else
|
||||
|
||||
PreDefinedTextFont (me) returns any PreDefinedTextFont;
|
||||
---Purpose : returns Value as a PreDefinedTextFont (Null if another type)
|
||||
|
||||
ExternallyDefinedTextFont (me) returns any ExternallyDefinedTextFont;
|
||||
---Purpose : returns Value as a ExternallyDefinedTextFont (Null if another type)
|
||||
|
||||
|
||||
end FontSelect;
|
||||
|
23
src/StepVisual/StepVisual_FontSelect.cxx
Executable file
23
src/StepVisual/StepVisual_FontSelect.cxx
Executable file
@@ -0,0 +1,23 @@
|
||||
|
||||
#include <StepVisual_FontSelect.ixx>
|
||||
#include <Interface_Macros.hxx>
|
||||
|
||||
StepVisual_FontSelect::StepVisual_FontSelect () { }
|
||||
|
||||
Standard_Integer StepVisual_FontSelect::CaseNum(const Handle(Standard_Transient)& ent) const
|
||||
{
|
||||
if (ent.IsNull()) return 0;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepVisual_PreDefinedTextFont))) return 1;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepVisual_ExternallyDefinedTextFont))) return 2;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Handle(StepVisual_PreDefinedTextFont) StepVisual_FontSelect::PreDefinedTextFont () const
|
||||
{
|
||||
return GetCasted(StepVisual_PreDefinedTextFont,Value());
|
||||
}
|
||||
|
||||
Handle(StepVisual_ExternallyDefinedTextFont) StepVisual_FontSelect::ExternallyDefinedTextFont () const
|
||||
{
|
||||
return GetCasted(StepVisual_ExternallyDefinedTextFont,Value());
|
||||
}
|
34
src/StepVisual/StepVisual_Invisibility.cdl
Executable file
34
src/StepVisual/StepVisual_Invisibility.cdl
Executable file
@@ -0,0 +1,34 @@
|
||||
-- File: Invisibility.cdl
|
||||
-- Created: Fri Dec 1 11:11:21 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class Invisibility from StepVisual
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
HArray1OfInvisibleItem from StepVisual,
|
||||
InvisibleItem from StepVisual
|
||||
is
|
||||
|
||||
Create returns mutable Invisibility;
|
||||
---Purpose: Returns a Invisibility
|
||||
|
||||
Init (me : mutable;
|
||||
aInvisibleItems : mutable HArray1OfInvisibleItem from StepVisual) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetInvisibleItems(me : mutable; aInvisibleItems : mutable HArray1OfInvisibleItem);
|
||||
InvisibleItems (me) returns mutable HArray1OfInvisibleItem;
|
||||
InvisibleItemsValue (me; num : Integer) returns InvisibleItem;
|
||||
NbInvisibleItems (me) returns Integer;
|
||||
|
||||
fields
|
||||
|
||||
invisibleItems : HArray1OfInvisibleItem from StepVisual; -- a SelectType
|
||||
|
||||
end Invisibility;
|
32
src/StepVisual/StepVisual_Invisibility.cxx
Executable file
32
src/StepVisual/StepVisual_Invisibility.cxx
Executable file
@@ -0,0 +1,32 @@
|
||||
#include <StepVisual_Invisibility.ixx>
|
||||
|
||||
|
||||
StepVisual_Invisibility::StepVisual_Invisibility () {}
|
||||
|
||||
void StepVisual_Invisibility::Init(
|
||||
const Handle(StepVisual_HArray1OfInvisibleItem)& aInvisibleItems)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
invisibleItems = aInvisibleItems;
|
||||
}
|
||||
|
||||
|
||||
void StepVisual_Invisibility::SetInvisibleItems(const Handle(StepVisual_HArray1OfInvisibleItem)& aInvisibleItems)
|
||||
{
|
||||
invisibleItems = aInvisibleItems;
|
||||
}
|
||||
|
||||
Handle(StepVisual_HArray1OfInvisibleItem) StepVisual_Invisibility::InvisibleItems() const
|
||||
{
|
||||
return invisibleItems;
|
||||
}
|
||||
|
||||
StepVisual_InvisibleItem StepVisual_Invisibility::InvisibleItemsValue(const Standard_Integer num) const
|
||||
{
|
||||
return invisibleItems->Value(num);
|
||||
}
|
||||
|
||||
Standard_Integer StepVisual_Invisibility::NbInvisibleItems () const
|
||||
{
|
||||
return invisibleItems->Length();
|
||||
}
|
36
src/StepVisual/StepVisual_InvisibilityContext.cdl
Executable file
36
src/StepVisual/StepVisual_InvisibilityContext.cdl
Executable file
@@ -0,0 +1,36 @@
|
||||
-- File: InvisibilityContext.cdl
|
||||
-- Created: Fri Dec 1 11:11:11 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
|
||||
class InvisibilityContext from StepVisual inherits SelectType from StepData
|
||||
|
||||
-- <InvisibilityContext> is an EXPRESS Select Type construct translation.
|
||||
-- it gathers : PresentationRepresentation, PresentationSet
|
||||
|
||||
uses
|
||||
|
||||
PresentationRepresentation,
|
||||
PresentationSet
|
||||
is
|
||||
|
||||
Create returns InvisibilityContext;
|
||||
---Purpose : Returns a InvisibilityContext SelectType
|
||||
|
||||
CaseNum (me; ent : Transient) returns Integer;
|
||||
---Purpose: Recognizes a InvisibilityContext Kind Entity that is :
|
||||
-- 1 -> PresentationRepresentation
|
||||
-- 2 -> PresentationSet
|
||||
-- 0 else
|
||||
|
||||
PresentationRepresentation (me) returns any PresentationRepresentation;
|
||||
---Purpose : returns Value as a PresentationRepresentation (Null if another type)
|
||||
|
||||
PresentationSet (me) returns any PresentationSet;
|
||||
---Purpose : returns Value as a PresentationSet (Null if another type)
|
||||
|
||||
|
||||
end InvisibilityContext;
|
||||
|
23
src/StepVisual/StepVisual_InvisibilityContext.cxx
Executable file
23
src/StepVisual/StepVisual_InvisibilityContext.cxx
Executable file
@@ -0,0 +1,23 @@
|
||||
|
||||
#include <StepVisual_InvisibilityContext.ixx>
|
||||
#include <Interface_Macros.hxx>
|
||||
|
||||
StepVisual_InvisibilityContext::StepVisual_InvisibilityContext () { }
|
||||
|
||||
Standard_Integer StepVisual_InvisibilityContext::CaseNum(const Handle(Standard_Transient)& ent) const
|
||||
{
|
||||
if (ent.IsNull()) return 0;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepVisual_PresentationRepresentation))) return 1;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepVisual_PresentationSet))) return 2;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Handle(StepVisual_PresentationRepresentation) StepVisual_InvisibilityContext::PresentationRepresentation () const
|
||||
{
|
||||
return GetCasted(StepVisual_PresentationRepresentation,Value());
|
||||
}
|
||||
|
||||
Handle(StepVisual_PresentationSet) StepVisual_InvisibilityContext::PresentationSet () const
|
||||
{
|
||||
return GetCasted(StepVisual_PresentationSet,Value());
|
||||
}
|
41
src/StepVisual/StepVisual_InvisibleItem.cdl
Executable file
41
src/StepVisual/StepVisual_InvisibleItem.cdl
Executable file
@@ -0,0 +1,41 @@
|
||||
-- File: InvisibleItem.cdl
|
||||
-- Created: Fri Dec 1 11:11:11 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
|
||||
class InvisibleItem from StepVisual inherits SelectType from StepData
|
||||
|
||||
-- <InvisibleItem> is an EXPRESS Select Type construct translation.
|
||||
-- it gathers : StyledItem, PresentationLayerAssignment, PresentationRepresentation
|
||||
|
||||
uses
|
||||
|
||||
StyledItem,
|
||||
PresentationLayerAssignment,
|
||||
PresentationRepresentation
|
||||
is
|
||||
|
||||
Create returns InvisibleItem;
|
||||
---Purpose : Returns a InvisibleItem SelectType
|
||||
|
||||
CaseNum (me; ent : Transient) returns Integer;
|
||||
---Purpose: Recognizes a InvisibleItem Kind Entity that is :
|
||||
-- 1 -> StyledItem
|
||||
-- 2 -> PresentationLayerAssignment
|
||||
-- 3 -> PresentationRepresentation
|
||||
-- 0 else
|
||||
|
||||
StyledItem (me) returns any StyledItem;
|
||||
---Purpose : returns Value as a StyledItem (Null if another type)
|
||||
|
||||
PresentationLayerAssignment (me) returns any PresentationLayerAssignment;
|
||||
---Purpose : returns Value as a PresentationLayerAssignment (Null if another type)
|
||||
|
||||
PresentationRepresentation (me) returns any PresentationRepresentation;
|
||||
---Purpose : returns Value as a PresentationRepresentation (Null if another type)
|
||||
|
||||
|
||||
end InvisibleItem;
|
||||
|
29
src/StepVisual/StepVisual_InvisibleItem.cxx
Executable file
29
src/StepVisual/StepVisual_InvisibleItem.cxx
Executable file
@@ -0,0 +1,29 @@
|
||||
|
||||
#include <StepVisual_InvisibleItem.ixx>
|
||||
#include <Interface_Macros.hxx>
|
||||
|
||||
StepVisual_InvisibleItem::StepVisual_InvisibleItem () { }
|
||||
|
||||
Standard_Integer StepVisual_InvisibleItem::CaseNum(const Handle(Standard_Transient)& ent) const
|
||||
{
|
||||
if (ent.IsNull()) return 0;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepVisual_StyledItem))) return 1;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepVisual_PresentationLayerAssignment))) return 2;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepVisual_PresentationRepresentation))) return 3;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Handle(StepVisual_StyledItem) StepVisual_InvisibleItem::StyledItem () const
|
||||
{
|
||||
return GetCasted(StepVisual_StyledItem,Value());
|
||||
}
|
||||
|
||||
Handle(StepVisual_PresentationLayerAssignment) StepVisual_InvisibleItem::PresentationLayerAssignment () const
|
||||
{
|
||||
return GetCasted(StepVisual_PresentationLayerAssignment,Value());
|
||||
}
|
||||
|
||||
Handle(StepVisual_PresentationRepresentation) StepVisual_InvisibleItem::PresentationRepresentation () const
|
||||
{
|
||||
return GetCasted(StepVisual_PresentationRepresentation,Value());
|
||||
}
|
36
src/StepVisual/StepVisual_LayeredItem.cdl
Executable file
36
src/StepVisual/StepVisual_LayeredItem.cdl
Executable file
@@ -0,0 +1,36 @@
|
||||
-- File: LayeredItem.cdl
|
||||
-- Created: Fri Dec 1 11:11:11 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
|
||||
class LayeredItem from StepVisual inherits SelectType from StepData
|
||||
|
||||
-- <LayeredItem> is an EXPRESS Select Type construct translation.
|
||||
-- it gathers : PresentationRepresentation, RepresentationItem
|
||||
|
||||
uses
|
||||
|
||||
PresentationRepresentation,
|
||||
RepresentationItem from StepRepr
|
||||
is
|
||||
|
||||
Create returns LayeredItem;
|
||||
---Purpose : Returns a LayeredItem SelectType
|
||||
|
||||
CaseNum (me; ent : Transient) returns Integer;
|
||||
---Purpose: Recognizes a LayeredItem Kind Entity that is :
|
||||
-- 1 -> PresentationRepresentation
|
||||
-- 2 -> RepresentationItem
|
||||
-- 0 else
|
||||
|
||||
PresentationRepresentation (me) returns any PresentationRepresentation;
|
||||
---Purpose : returns Value as a PresentationRepresentation (Null if another type)
|
||||
|
||||
RepresentationItem (me) returns any RepresentationItem;
|
||||
---Purpose : returns Value as a RepresentationItem (Null if another type)
|
||||
|
||||
|
||||
end LayeredItem;
|
||||
|
23
src/StepVisual/StepVisual_LayeredItem.cxx
Executable file
23
src/StepVisual/StepVisual_LayeredItem.cxx
Executable file
@@ -0,0 +1,23 @@
|
||||
|
||||
#include <StepVisual_LayeredItem.ixx>
|
||||
#include <Interface_Macros.hxx>
|
||||
|
||||
StepVisual_LayeredItem::StepVisual_LayeredItem () { }
|
||||
|
||||
Standard_Integer StepVisual_LayeredItem::CaseNum(const Handle(Standard_Transient)& ent) const
|
||||
{
|
||||
if (ent.IsNull()) return 0;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepVisual_PresentationRepresentation))) return 1;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_RepresentationItem))) return 2;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Handle(StepVisual_PresentationRepresentation) StepVisual_LayeredItem::PresentationRepresentation () const
|
||||
{
|
||||
return GetCasted(StepVisual_PresentationRepresentation,Value());
|
||||
}
|
||||
|
||||
Handle(StepRepr_RepresentationItem) StepVisual_LayeredItem::RepresentationItem () const
|
||||
{
|
||||
return GetCasted(StepRepr_RepresentationItem,Value());
|
||||
}
|
39
src/StepVisual/StepVisual_MarkerMember.cdl
Executable file
39
src/StepVisual/StepVisual_MarkerMember.cdl
Executable file
@@ -0,0 +1,39 @@
|
||||
-- File: StepVisual_MarkerMember.cdl
|
||||
-- Created: Tue Apr 1 18:01:43 1997
|
||||
-- Author: Christian CAILLET
|
||||
-- <cky@heliox.paris1.matra-dtv.fr>
|
||||
---Copyright: Matra Datavision 1997
|
||||
|
||||
|
||||
class MarkerMember from StepVisual inherits SelectInt from StepData
|
||||
|
||||
---Purpose : Defines MarkerType as unique member of MarkerSelect
|
||||
-- Works with an EnumTool
|
||||
|
||||
uses CString, MarkerType from StepVisual
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable MarkerMember;
|
||||
|
||||
HasName (me) returns Boolean is redefined;
|
||||
-- returns True
|
||||
|
||||
Name (me) returns CString is redefined;
|
||||
-- returns MARKER_TYPE
|
||||
|
||||
SetName (me : mutable; name : CString) returns Boolean is redefined;
|
||||
-- does nothing and returns True
|
||||
|
||||
EnumText (me) returns CString is redefined;
|
||||
-- returns the string counterpart of a value
|
||||
|
||||
SetEnumText (me : mutable; val : Integer; text : CString) is redefined;
|
||||
-- considers text and interprets it to set val
|
||||
|
||||
SetValue (me : mutable; val : MarkerType from StepVisual);
|
||||
-- Sets directly the good value as enum
|
||||
|
||||
Value (me) returns MarkerType from StepVisual;
|
||||
|
||||
end MarkerMember;
|
33
src/StepVisual/StepVisual_MarkerMember.cxx
Executable file
33
src/StepVisual/StepVisual_MarkerMember.cxx
Executable file
@@ -0,0 +1,33 @@
|
||||
#include <StepVisual_MarkerMember.ixx>
|
||||
#include <StepData_EnumTool.hxx>
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
|
||||
static StepData_EnumTool tool
|
||||
(".DOT.",".X.",".PLUS.",".ASTERISK.",".RING.",".SQUARE.",".TRIANGLE.");
|
||||
|
||||
StepVisual_MarkerMember::StepVisual_MarkerMember () { }
|
||||
|
||||
Standard_Boolean StepVisual_MarkerMember::HasName () const
|
||||
{ return Standard_True; }
|
||||
|
||||
Standard_CString StepVisual_MarkerMember::Name () const
|
||||
{ return "MARKER_TYPE"; }
|
||||
|
||||
Standard_Boolean StepVisual_MarkerMember::SetName (const Standard_CString name)
|
||||
{ return Standard_True; }
|
||||
|
||||
Standard_CString StepVisual_MarkerMember::EnumText () const
|
||||
{ return tool.Text(Int()).ToCString(); }
|
||||
|
||||
void StepVisual_MarkerMember::SetEnumText
|
||||
(const Standard_Integer val, const Standard_CString text)
|
||||
{
|
||||
Standard_Integer vl = tool.Value (text);
|
||||
if (vl >= 0) SetInt (vl);
|
||||
}
|
||||
|
||||
void StepVisual_MarkerMember::SetValue (const StepVisual_MarkerType val)
|
||||
{ SetInt ( Standard_Integer (val) ); }
|
||||
|
||||
StepVisual_MarkerType StepVisual_MarkerMember::Value () const
|
||||
{ return StepVisual_MarkerType (Int()); }
|
33
src/StepVisual/StepVisual_MarkerSelect.cdl
Executable file
33
src/StepVisual/StepVisual_MarkerSelect.cdl
Executable file
@@ -0,0 +1,33 @@
|
||||
-- File: MarkerSelect.cdl
|
||||
-- Created: Fri Dec 1 11:11:11 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
|
||||
class MarkerSelect from StepVisual inherits SelectType from StepData
|
||||
|
||||
-- <MarkerSelect> is an EXPRESS Select Type construct translation.
|
||||
-- it gathers : enum MarkerType
|
||||
|
||||
uses Transient, SelectMember from StepData, MarkerMember from StepVisual
|
||||
|
||||
is
|
||||
|
||||
Create returns MarkerSelect;
|
||||
---Purpose : Returns a MarkerSelect SelectType
|
||||
|
||||
CaseNum (me; ent : Transient) returns Integer;
|
||||
---Purpose: Recognizes a MarkerSelect Kind Entity that is :
|
||||
-- 0 else
|
||||
|
||||
NewMember (me) returns SelectMember from StepData is redefined;
|
||||
---Purpose : Returns a new MarkerMember
|
||||
|
||||
CaseMem (me; sm : SelectMember from StepData) returns Integer is redefined;
|
||||
---Purpose : Returns 1 for a SelectMember enum, named MARKER_TYPE
|
||||
|
||||
MarkerMember (me) returns MarkerMember from StepVisual;
|
||||
---Purpose : Gives access to the MarkerMember in order to get/set its value
|
||||
|
||||
end MarkerSelect;
|
27
src/StepVisual/StepVisual_MarkerSelect.cxx
Executable file
27
src/StepVisual/StepVisual_MarkerSelect.cxx
Executable file
@@ -0,0 +1,27 @@
|
||||
|
||||
#include <StepVisual_MarkerSelect.ixx>
|
||||
#include <Interface_Macros.hxx>
|
||||
|
||||
StepVisual_MarkerSelect::StepVisual_MarkerSelect () { }
|
||||
|
||||
Standard_Integer StepVisual_MarkerSelect::CaseNum(const Handle(Standard_Transient)& ent) const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
Handle(StepData_SelectMember) StepVisual_MarkerSelect::NewMember () const
|
||||
{ return new StepVisual_MarkerMember; }
|
||||
|
||||
Standard_Integer StepVisual_MarkerSelect::CaseMem
|
||||
(const Handle(StepData_SelectMember)& ent) const
|
||||
{
|
||||
if (ent.IsNull()) return 0;
|
||||
Interface_ParamType type = ent->ParamType();
|
||||
// Void : on admet "non defini" (en principe, on ne devrait pas)
|
||||
if (type != Interface_ParamVoid && type != Interface_ParamEnum) return 0;
|
||||
if (ent->Matches("MARKER_TYPE")) return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Handle(StepVisual_MarkerMember) StepVisual_MarkerSelect::MarkerMember () const
|
||||
{ return GetCasted(StepVisual_MarkerMember,Value()); }
|
22
src/StepVisual/StepVisual_MechanicalDesignGeometricPresentationArea.cdl
Executable file
22
src/StepVisual/StepVisual_MechanicalDesignGeometricPresentationArea.cdl
Executable file
@@ -0,0 +1,22 @@
|
||||
-- File: MechanicalDesignGeometricPresentationArea.cdl
|
||||
-- Created: Fri Dec 1 11:11:22 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class MechanicalDesignGeometricPresentationArea from StepVisual
|
||||
|
||||
inherits PresentationArea from StepVisual
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfRepresentationItem from StepRepr,
|
||||
RepresentationContext from StepRepr
|
||||
is
|
||||
|
||||
Create returns mutable MechanicalDesignGeometricPresentationArea;
|
||||
---Purpose: Returns a MechanicalDesignGeometricPresentationArea
|
||||
|
||||
|
||||
end MechanicalDesignGeometricPresentationArea;
|
5
src/StepVisual/StepVisual_MechanicalDesignGeometricPresentationArea.cxx
Executable file
5
src/StepVisual/StepVisual_MechanicalDesignGeometricPresentationArea.cxx
Executable file
@@ -0,0 +1,5 @@
|
||||
#include <StepVisual_MechanicalDesignGeometricPresentationArea.ixx>
|
||||
|
||||
|
||||
StepVisual_MechanicalDesignGeometricPresentationArea::StepVisual_MechanicalDesignGeometricPresentationArea () {}
|
||||
|
@@ -0,0 +1,22 @@
|
||||
-- File: MechanicalDesignGeometricPresentationRepresentation.cdl
|
||||
-- Created: Fri Dec 1 11:11:22 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class MechanicalDesignGeometricPresentationRepresentation from StepVisual
|
||||
|
||||
inherits PresentationRepresentation from StepVisual
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfRepresentationItem from StepRepr,
|
||||
RepresentationContext from StepRepr
|
||||
is
|
||||
|
||||
Create returns mutable MechanicalDesignGeometricPresentationRepresentation;
|
||||
---Purpose: Returns a MechanicalDesignGeometricPresentationRepresentation
|
||||
|
||||
|
||||
end MechanicalDesignGeometricPresentationRepresentation;
|
@@ -0,0 +1,5 @@
|
||||
#include <StepVisual_MechanicalDesignGeometricPresentationRepresentation.ixx>
|
||||
|
||||
|
||||
StepVisual_MechanicalDesignGeometricPresentationRepresentation::StepVisual_MechanicalDesignGeometricPresentationRepresentation () {}
|
||||
|
42
src/StepVisual/StepVisual_OverRidingStyledItem.cdl
Executable file
42
src/StepVisual/StepVisual_OverRidingStyledItem.cdl
Executable file
@@ -0,0 +1,42 @@
|
||||
-- File: OverRidingStyledItem.cdl
|
||||
-- Created: Fri Dec 1 11:11:23 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class OverRidingStyledItem from StepVisual
|
||||
|
||||
inherits StyledItem from StepVisual
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfPresentationStyleAssignment from StepVisual,
|
||||
RepresentationItem from StepRepr
|
||||
is
|
||||
|
||||
Create returns mutable OverRidingStyledItem;
|
||||
---Purpose: Returns a OverRidingStyledItem
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aStyles : mutable HArray1OfPresentationStyleAssignment from StepVisual;
|
||||
aItem : mutable RepresentationItem from StepRepr) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aStyles : mutable HArray1OfPresentationStyleAssignment from StepVisual;
|
||||
aItem : mutable RepresentationItem from StepRepr;
|
||||
aOverRiddenStyle : mutable StyledItem from StepVisual) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetOverRiddenStyle(me : mutable; aOverRiddenStyle : mutable StyledItem);
|
||||
OverRiddenStyle (me) returns mutable StyledItem;
|
||||
|
||||
fields
|
||||
|
||||
overRiddenStyle : StyledItem from StepVisual;
|
||||
|
||||
end OverRidingStyledItem;
|
36
src/StepVisual/StepVisual_OverRidingStyledItem.cxx
Executable file
36
src/StepVisual/StepVisual_OverRidingStyledItem.cxx
Executable file
@@ -0,0 +1,36 @@
|
||||
#include <StepVisual_OverRidingStyledItem.ixx>
|
||||
|
||||
|
||||
StepVisual_OverRidingStyledItem::StepVisual_OverRidingStyledItem () {}
|
||||
|
||||
void StepVisual_OverRidingStyledItem::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepVisual_HArray1OfPresentationStyleAssignment)& aStyles,
|
||||
const Handle(StepRepr_RepresentationItem)& aItem)
|
||||
{
|
||||
|
||||
StepVisual_StyledItem::Init(aName, aStyles, aItem);
|
||||
}
|
||||
|
||||
void StepVisual_OverRidingStyledItem::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepVisual_HArray1OfPresentationStyleAssignment)& aStyles,
|
||||
const Handle(StepRepr_RepresentationItem)& aItem,
|
||||
const Handle(StepVisual_StyledItem)& aOverRiddenStyle)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
overRiddenStyle = aOverRiddenStyle;
|
||||
// --- classe inherited fields ---
|
||||
StepVisual_StyledItem::Init(aName, aStyles, aItem);
|
||||
}
|
||||
|
||||
|
||||
void StepVisual_OverRidingStyledItem::SetOverRiddenStyle(const Handle(StepVisual_StyledItem)& aOverRiddenStyle)
|
||||
{
|
||||
overRiddenStyle = aOverRiddenStyle;
|
||||
}
|
||||
|
||||
Handle(StepVisual_StyledItem) StepVisual_OverRidingStyledItem::OverRiddenStyle() const
|
||||
{
|
||||
return overRiddenStyle;
|
||||
}
|
42
src/StepVisual/StepVisual_PlanarBox.cdl
Executable file
42
src/StepVisual/StepVisual_PlanarBox.cdl
Executable file
@@ -0,0 +1,42 @@
|
||||
-- File: PlanarBox.cdl
|
||||
-- Created: Fri Dec 1 11:11:24 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class PlanarBox from StepVisual
|
||||
|
||||
inherits PlanarExtent from StepVisual
|
||||
|
||||
uses
|
||||
|
||||
Axis2Placement from StepGeom,
|
||||
HAsciiString from TCollection,
|
||||
Real from Standard
|
||||
is
|
||||
|
||||
Create returns mutable PlanarBox;
|
||||
---Purpose: Returns a PlanarBox
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aSizeInX : Real from Standard;
|
||||
aSizeInY : Real from Standard) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aSizeInX : Real from Standard;
|
||||
aSizeInY : Real from Standard;
|
||||
aPlacement : Axis2Placement from StepGeom) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetPlacement(me : mutable; aPlacement : Axis2Placement);
|
||||
Placement (me) returns Axis2Placement;
|
||||
|
||||
fields
|
||||
|
||||
placement : Axis2Placement from StepGeom; -- a SelectType
|
||||
|
||||
end PlanarBox;
|
36
src/StepVisual/StepVisual_PlanarBox.cxx
Executable file
36
src/StepVisual/StepVisual_PlanarBox.cxx
Executable file
@@ -0,0 +1,36 @@
|
||||
#include <StepVisual_PlanarBox.ixx>
|
||||
|
||||
|
||||
StepVisual_PlanarBox::StepVisual_PlanarBox () {}
|
||||
|
||||
void StepVisual_PlanarBox::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Standard_Real aSizeInX,
|
||||
const Standard_Real aSizeInY)
|
||||
{
|
||||
|
||||
StepVisual_PlanarExtent::Init(aName, aSizeInX, aSizeInY);
|
||||
}
|
||||
|
||||
void StepVisual_PlanarBox::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Standard_Real aSizeInX,
|
||||
const Standard_Real aSizeInY,
|
||||
const StepGeom_Axis2Placement& aPlacement)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
placement = aPlacement;
|
||||
// --- classe inherited fields ---
|
||||
StepVisual_PlanarExtent::Init(aName, aSizeInX, aSizeInY);
|
||||
}
|
||||
|
||||
|
||||
void StepVisual_PlanarBox::SetPlacement(const StepGeom_Axis2Placement& aPlacement)
|
||||
{
|
||||
placement = aPlacement;
|
||||
}
|
||||
|
||||
StepGeom_Axis2Placement StepVisual_PlanarBox::Placement() const
|
||||
{
|
||||
return placement;
|
||||
}
|
41
src/StepVisual/StepVisual_PlanarExtent.cdl
Executable file
41
src/StepVisual/StepVisual_PlanarExtent.cdl
Executable file
@@ -0,0 +1,41 @@
|
||||
-- File: PlanarExtent.cdl
|
||||
-- Created: Fri Dec 1 11:11:24 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class PlanarExtent from StepVisual
|
||||
|
||||
inherits GeometricRepresentationItem from StepGeom
|
||||
|
||||
uses
|
||||
|
||||
Real from Standard,
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable PlanarExtent;
|
||||
---Purpose: Returns a PlanarExtent
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aSizeInX : Real from Standard;
|
||||
aSizeInY : Real from Standard) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetSizeInX(me : mutable; aSizeInX : Real);
|
||||
SizeInX (me) returns Real;
|
||||
SetSizeInY(me : mutable; aSizeInY : Real);
|
||||
SizeInY (me) returns Real;
|
||||
|
||||
fields
|
||||
|
||||
sizeInX : Real from Standard;
|
||||
sizeInY : Real from Standard;
|
||||
|
||||
end PlanarExtent;
|
44
src/StepVisual/StepVisual_PlanarExtent.cxx
Executable file
44
src/StepVisual/StepVisual_PlanarExtent.cxx
Executable file
@@ -0,0 +1,44 @@
|
||||
#include <StepVisual_PlanarExtent.ixx>
|
||||
|
||||
|
||||
StepVisual_PlanarExtent::StepVisual_PlanarExtent () {}
|
||||
|
||||
void StepVisual_PlanarExtent::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
void StepVisual_PlanarExtent::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Standard_Real aSizeInX,
|
||||
const Standard_Real aSizeInY)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
sizeInX = aSizeInX;
|
||||
sizeInY = aSizeInY;
|
||||
// --- classe inherited fields ---
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
|
||||
void StepVisual_PlanarExtent::SetSizeInX(const Standard_Real aSizeInX)
|
||||
{
|
||||
sizeInX = aSizeInX;
|
||||
}
|
||||
|
||||
Standard_Real StepVisual_PlanarExtent::SizeInX() const
|
||||
{
|
||||
return sizeInX;
|
||||
}
|
||||
|
||||
void StepVisual_PlanarExtent::SetSizeInY(const Standard_Real aSizeInY)
|
||||
{
|
||||
sizeInY = aSizeInY;
|
||||
}
|
||||
|
||||
Standard_Real StepVisual_PlanarExtent::SizeInY() const
|
||||
{
|
||||
return sizeInY;
|
||||
}
|
46
src/StepVisual/StepVisual_PointStyle.cdl
Executable file
46
src/StepVisual/StepVisual_PointStyle.cdl
Executable file
@@ -0,0 +1,46 @@
|
||||
-- File: PointStyle.cdl
|
||||
-- Created: Fri Dec 1 11:11:25 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class PointStyle from StepVisual
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
MarkerSelect from StepVisual,
|
||||
SizeSelect from StepBasic,
|
||||
Colour from StepVisual
|
||||
is
|
||||
|
||||
Create returns mutable PointStyle;
|
||||
---Purpose: Returns a PointStyle
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aMarker : MarkerSelect from StepVisual;
|
||||
aMarkerSize : SizeSelect from StepBasic;
|
||||
aMarkerColour : mutable Colour from StepVisual) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetName(me : mutable; aName : mutable HAsciiString);
|
||||
Name (me) returns mutable HAsciiString;
|
||||
SetMarker(me : mutable; aMarker : MarkerSelect);
|
||||
Marker (me) returns MarkerSelect;
|
||||
SetMarkerSize(me : mutable; aMarkerSize : SizeSelect);
|
||||
MarkerSize (me) returns SizeSelect;
|
||||
SetMarkerColour(me : mutable; aMarkerColour : mutable Colour);
|
||||
MarkerColour (me) returns mutable Colour;
|
||||
|
||||
fields
|
||||
|
||||
name : HAsciiString from TCollection;
|
||||
marker : MarkerSelect from StepVisual; -- a SelectType
|
||||
markerSize : SizeSelect from StepBasic; -- a SelectType
|
||||
markerColour : Colour from StepVisual;
|
||||
|
||||
end PointStyle;
|
58
src/StepVisual/StepVisual_PointStyle.cxx
Executable file
58
src/StepVisual/StepVisual_PointStyle.cxx
Executable file
@@ -0,0 +1,58 @@
|
||||
#include <StepVisual_PointStyle.ixx>
|
||||
|
||||
|
||||
StepVisual_PointStyle::StepVisual_PointStyle () {}
|
||||
|
||||
void StepVisual_PointStyle::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const StepVisual_MarkerSelect& aMarker,
|
||||
const StepBasic_SizeSelect& aMarkerSize,
|
||||
const Handle(StepVisual_Colour)& aMarkerColour)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
name = aName;
|
||||
marker = aMarker;
|
||||
markerSize = aMarkerSize;
|
||||
markerColour = aMarkerColour;
|
||||
}
|
||||
|
||||
|
||||
void StepVisual_PointStyle::SetName(const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
name = aName;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepVisual_PointStyle::Name() const
|
||||
{
|
||||
return name;
|
||||
}
|
||||
|
||||
void StepVisual_PointStyle::SetMarker(const StepVisual_MarkerSelect& aMarker)
|
||||
{
|
||||
marker = aMarker;
|
||||
}
|
||||
|
||||
StepVisual_MarkerSelect StepVisual_PointStyle::Marker() const
|
||||
{
|
||||
return marker;
|
||||
}
|
||||
|
||||
void StepVisual_PointStyle::SetMarkerSize(const StepBasic_SizeSelect& aMarkerSize)
|
||||
{
|
||||
markerSize = aMarkerSize;
|
||||
}
|
||||
|
||||
StepBasic_SizeSelect StepVisual_PointStyle::MarkerSize() const
|
||||
{
|
||||
return markerSize;
|
||||
}
|
||||
|
||||
void StepVisual_PointStyle::SetMarkerColour(const Handle(StepVisual_Colour)& aMarkerColour)
|
||||
{
|
||||
markerColour = aMarkerColour;
|
||||
}
|
||||
|
||||
Handle(StepVisual_Colour) StepVisual_PointStyle::MarkerColour() const
|
||||
{
|
||||
return markerColour;
|
||||
}
|
33
src/StepVisual/StepVisual_PreDefinedColour.cdl
Executable file
33
src/StepVisual/StepVisual_PreDefinedColour.cdl
Executable file
@@ -0,0 +1,33 @@
|
||||
-- File: PreDefinedColour.cdl
|
||||
-- Created: Fri Dec 1 11:11:25 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class PreDefinedColour from StepVisual
|
||||
|
||||
-- inherits PreDefinedItem from StepVisual
|
||||
-- WARNING : Multiple EXPRESS inheritance
|
||||
-- Not yet automaticly managed
|
||||
inherits Colour from StepVisual
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
PreDefinedItem from StepVisual
|
||||
is
|
||||
|
||||
Create returns mutable PreDefinedColour;
|
||||
---Purpose: Returns a PreDefinedColour
|
||||
|
||||
SetPreDefinedItem (me: mutable; item: PreDefinedItem from StepVisual);
|
||||
---Purpose: set a pre_defined_item part
|
||||
GetPreDefinedItem (me) returns PreDefinedItem from StepVisual;
|
||||
---Purpose: return a pre_defined_item part
|
||||
---C++: return const &
|
||||
|
||||
fields
|
||||
|
||||
myItem: PreDefinedItem from StepVisual;
|
||||
|
||||
end PreDefinedColour;
|
17
src/StepVisual/StepVisual_PreDefinedColour.cxx
Executable file
17
src/StepVisual/StepVisual_PreDefinedColour.cxx
Executable file
@@ -0,0 +1,17 @@
|
||||
#include <StepVisual_PreDefinedColour.ixx>
|
||||
|
||||
|
||||
StepVisual_PreDefinedColour::StepVisual_PreDefinedColour ()
|
||||
{
|
||||
myItem = new StepVisual_PreDefinedItem;
|
||||
}
|
||||
|
||||
void StepVisual_PreDefinedColour::SetPreDefinedItem (const Handle(StepVisual_PreDefinedItem) &item)
|
||||
{
|
||||
myItem = item;
|
||||
}
|
||||
|
||||
const Handle(StepVisual_PreDefinedItem) &StepVisual_PreDefinedColour::GetPreDefinedItem () const
|
||||
{
|
||||
return myItem;
|
||||
}
|
20
src/StepVisual/StepVisual_PreDefinedCurveFont.cdl
Executable file
20
src/StepVisual/StepVisual_PreDefinedCurveFont.cdl
Executable file
@@ -0,0 +1,20 @@
|
||||
-- File: PreDefinedCurveFont.cdl
|
||||
-- Created: Fri Dec 1 11:11:25 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class PreDefinedCurveFont from StepVisual
|
||||
|
||||
inherits PreDefinedItem from StepVisual
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable PreDefinedCurveFont;
|
||||
---Purpose: Returns a PreDefinedCurveFont
|
||||
|
||||
|
||||
end PreDefinedCurveFont;
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user