#include <Prs3d_DatumAspect.hxx>
#include <Prs3d_LineAspect.hxx>
#include <Prs3d_Presentation.hxx>
-#include <AIS_Drawer.hxx>
+#include <Prs3d_Drawer.hxx>
#include <DsgPrs_XYZAxisPresentation.hxx>
#include <gp_Ax2.hxx>
aTrihedron->SetArrowColor( aCol.Name() );
aTrihedron->SetSize( theSize );
- Handle(AIS_Drawer) aDrawer = aTrihedron->Attributes();
- if ( aDrawer->HasDatumAspect() ) {
+ Handle(Prs3d_Drawer) aDrawer = aTrihedron->Attributes();
+ if ( aDrawer->HasOwnDatumAspect() ) {
Handle(Prs3d_DatumAspect) aDaspect = aDrawer->DatumAspect();
aDaspect->FirstAxisAspect()->SetColor( Quantity_Color( 1.0, 0.0, 0.0, Quantity_TOC_RGB ) );
aDaspect->SecondAxisAspect()->SetColor( Quantity_Color( 0.0, 1.0, 0.0, Quantity_TOC_RGB ) );
aDaspect->ThirdAxisAspect()->SetColor( Quantity_Color( 0.0, 0.0, 1.0, Quantity_TOC_RGB ) );
}
+
aTrihedron->SetAxis2Placement();
return aTrihedron;
}
myShape->SetDisplayMode( (AIS_DisplayMode)myDisplayMode );
// Init default params for shape
- const Handle(AIS_Drawer)& anAttributes = myShape->Attributes();
+ const Handle(Prs3d_Drawer)& anAttributes = myShape->Attributes();
if ( !anAttributes.IsNull() )
{
Handle(Prs3d_IsoAspect) anIsoAspect = anAttributes->UIsoAspect();
if ( myShape.IsNull() )
return;
- const Handle(AIS_Drawer)& anAttributes = myShape->Attributes();
+ const Handle(Prs3d_Drawer)& anAttributes = myShape->Attributes();
if ( !anAttributes.IsNull() )
{
if ( myDisplayMode == AIS_Shaded )
if ( myShape.IsNull() )
return;
- const Handle(AIS_Drawer)& anAttributes = myShape->Attributes();
+ const Handle(Prs3d_Drawer)& anAttributes = myShape->Attributes();
if ( anAttributes.IsNull() )
return;
#include <HYDROData_Bathymetry.h>
#include <AIS_InteractiveContext.hxx>
-#include <AIS_Drawer.hxx>
#include <Aspect_ColorScale.hxx>
#include <Prs3d_PointAspect.hxx>