+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
// File: GeomAPI_AISObject.hxx
// Created: 25 Jun 2014
// Author: Artem ZHIDKOV
class GeomAPI_Pnt;
class GeomAPI_Shape;
-struct GEOMAPI_EXPORT Colors
-{
- static int COLOR_BROWN;
- static int COLOR_RED;
- static int COLOR_GREEN;
- static int COLOR_BLUE;
-};
-
/** \class GeomAPI_AISObject
* \ingroup DataModel
* \brief Interface for AIS_InteractiveObject
void createFixed(std::shared_ptr<GeomAPI_Shape> theShape,
std::shared_ptr<GeomAPI_Pln> thePlane);
+ /** \brief Redisplays the current AIS object in the context
+ */
+ void redisplay();
+
/** \brief Assigns the color for the shape
* \param[in] theColor index of the color
*/
/// \brief Checks if the object is empty
bool empty() const;
+
+ /// Return shape type according to TopAbs_ShapeEnum if the AIS is AIS_Shape
+ /// Otherwise returns -1
+ int getShapeType() const;
+
+ /// Sets marker type for vertex.
+ /// The type has to be defined according to Acpect_TypeOfMarker
+ void setPointMarker(int theType, double theScale);
+
+ /// Set line type of edges
+ /// Has to be defined according to Aspect_TypeOfLine
+ void setLineStyle(int theStyle);
+
+ /// Set transparency of the presentation (theVal = 0 ... 1)
+ void setTransparensy(double theVal);
};
//! Pointer on attribute object