myBndBox = getBoundingBox (myPoints);
}
-//=======================================================================
-//function : SetColor
-//purpose :
-//=======================================================================
-void AIS_PointCloud::SetColor (const Quantity_NameOfColor theColor)
-{
- SetColor (Quantity_Color (theColor));
-}
-
//=======================================================================
//function : SetColor
//purpose :
if (IsTransparent())
{
Standard_Real aTransp = myDrawer->ShadingAspect()->Transparency (myCurrentFacingModel);
- aMat.SetTransparency (aTransp);
+ aMat.SetTransparency (Standard_ShortReal(aTransp));
}
myDrawer->ShadingAspect()->SetMaterial (aMat, myCurrentFacingModel);
}
}
}
-//=======================================================================
-//function : SetMaterial
-//purpose :
-//=======================================================================
-void AIS_PointCloud::SetMaterial (const Graphic3d_NameOfMaterial theMatName)
-{
- SetMaterial (Graphic3d_MaterialAspect (theMatName));
-}
-
//=======================================================================
//function : SetMaterial
//purpose :