Open CASCADE Technology
6.5.4
|
This class defines attributes for the points
The points are drawn using markers, whose size does not depend on
the zoom value of the views.
#include <Prs3d_PointAspect.hxx>
Public Member Functions | |
Prs3d_PointAspect (const Aspect_TypeOfMarker aType, const Quantity_Color &aColor, const Standard_Real aScale) | |
Prs3d_PointAspect (const Aspect_TypeOfMarker aType, const Quantity_NameOfColor aColor, const Standard_Real aScale) | |
Prs3d_PointAspect (const Quantity_Color &AColor, const Standard_Real AnId, const Standard_Integer AWidth, const Standard_Integer AHeight, const Handle< TColStd_HArray1OfByte > &ATexture) | |
defines only the urer defined marker point. | |
void | SetColor (const Quantity_Color &aColor) |
void | SetColor (const Quantity_NameOfColor aColor) |
defines the color to be used when drawing a point. Default value: Quantity_NOC_YELLOW | |
void | SetTypeOfMarker (const Aspect_TypeOfMarker aType) |
defines the type of representation to be used when drawing a point. Default value: Aspect_TOM_PLUS | |
void | SetScale (const Standard_Real aScale) |
defines the size of the marker used when drawing a point. Default value: 1. | |
Handle_Graphic3d_AspectMarker3d | Aspect () const |
void | GetTextureSize (Standard_Integer &AWidth, Standard_Integer &AHeight) |
Returns marker's texture size. | |
const Handle_TColStd_HArray1OfByte & | GetTexture () |
Returns marker's texture. |
Prs3d_PointAspect::Prs3d_PointAspect | ( | const Aspect_TypeOfMarker | aType, |
const Quantity_Color & | aColor, | ||
const Standard_Real | aScale | ||
) |
Prs3d_PointAspect::Prs3d_PointAspect | ( | const Aspect_TypeOfMarker | aType, |
const Quantity_NameOfColor | aColor, | ||
const Standard_Real | aScale | ||
) |
Prs3d_PointAspect::Prs3d_PointAspect | ( | const Quantity_Color & | AColor, |
const Standard_Real | AnId, | ||
const Standard_Integer | AWidth, | ||
const Standard_Integer | AHeight, | ||
const Handle< TColStd_HArray1OfByte > & | ATexture | ||
) |
Handle_Graphic3d_AspectMarker3d Prs3d_PointAspect::Aspect | ( | ) | const |
const Handle_TColStd_HArray1OfByte& Prs3d_PointAspect::GetTexture | ( | ) |
void Prs3d_PointAspect::GetTextureSize | ( | Standard_Integer & | AWidth, |
Standard_Integer & | AHeight | ||
) |
void Prs3d_PointAspect::SetColor | ( | const Quantity_Color & | aColor | ) |
void Prs3d_PointAspect::SetScale | ( | const Standard_Real | aScale | ) |