//
#include <HYDROGUI_BathymetryPrs.h>
+#include <HYDROGUI_Tool.h>
+
#include <Prs3d_Root.hxx>
#include <Prs3d_LineAspect.hxx>
#include <Prs3d_Text.hxx>
#include <Select3D_SensitivePoint.hxx>
#include <Graphic3d_ArrayOfPolylines.hxx>
#include <Graphic3d_ArrayOfPoints.hxx>
+#include <Image_PixMap.hxx>
+#include <Graphic3d_MarkerImage.hxx>
+
+#include <QImage>
const int BATH_HIGHLIGHT_MODE = 10;
}
else
{
+ Handle(Graphic3d_AspectMarker3d) anAspect = new Graphic3d_AspectMarker3d( Aspect_TOM_USERDEFINED, Quantity_NOC_WHITE, 1.0 );
+ QImage qtMark( 4, 4, QImage::Format_RGB888 );
+ Handle(Image_PixMap) aMark = HYDROGUI_Tool::Pixmap( qtMark );
+ Handle(Graphic3d_MarkerImage) gMark = new Graphic3d_MarkerImage(aMark);
+ anAspect->SetMarkerImage(gMark);
AIS_PointCloud::Compute( thePresentationManager, thePresentation, theMode );
+ aGroup->SetGroupPrimitivesAspect( anAspect );
Handle(Graphic3d_ArrayOfPoints) points = GetPoints();
if( !myTextIndices.empty() && !points.IsNull() )