2 // File Aspect_AspectMarker.cxx
3 // Created Fevrier 1992
6 //-Copyright MatraDatavision 1991,1992
10 //-Design Declaration of variables specific to the context
11 // of tracing of markers
13 //-Warning Context of tracing of markers is defined by :
25 #include <Aspect_AspectMarker.ixx>
29 //-Global data definitions
35 // MyType : TypeOfMarker;
38 // MyScale : Standard_Real;
46 Aspect_AspectMarker::Aspect_AspectMarker () {
48 MyColor = Quantity_NOC_YELLOW;
49 MyType = Aspect_TOM_X;
54 Aspect_AspectMarker::Aspect_AspectMarker (const Quantity_Color& AColor, const Aspect_TypeOfMarker AType, const Standard_Real AScale) {
57 Aspect_AspectMarkerDefinitionError::Raise
58 ("Bad value for MarkerScale");
66 void Aspect_AspectMarker::SetColor (const Quantity_Color& AColor) {
72 void Aspect_AspectMarker::SetType (const Aspect_TypeOfMarker AType) {
78 void Aspect_AspectMarker::SetScale (const Standard_Real AScale) {
81 Aspect_AspectMarkerDefinitionError::Raise
82 ("Bad value for MarkerScale");
88 void Aspect_AspectMarker::Values (Quantity_Color& AColor, Aspect_TypeOfMarker& AType, Standard_Real& AScale) const {