Open CASCADE Technology
6.5.4
|
Creates and updates an attribute group for
marker type primitives. This group contains the type
of marker, its colour, and its scale factor.
#include <Graphic3d_AspectMarker3d.hxx>
Public Member Functions | |
Graphic3d_AspectMarker3d () | |
Creates a context table for marker primitives defined with the following default values: Marker type : TOM_X Colour : YELLOW Scale factor : 1.0 | |
Graphic3d_AspectMarker3d (const Aspect_TypeOfMarker AType, const Quantity_Color &AColor, const Standard_Real AScaleOrId) | |
Graphic3d_AspectMarker3d (const Aspect_TypeOfMarker AType, const Quantity_Color &AColor, const Standard_Real AScaleOrId, const Standard_Integer AWidth, const Standard_Integer AHeight, const Handle< TColStd_HArray1OfByte > &ATexture) | |
Creates a context table for marker primitives defined with the specified values. | |
void | GetTextureSize (Standard_Integer &AWidth, Standard_Integer &AHeight) |
Returns marker's texture size. | |
const Handle_TColStd_HArray1OfByte & | GetTexture () |
Returns marker's texture. | |
void | SetTexture (const Standard_Integer AWidth, const Standard_Integer AHeight, const Handle< TColStd_HArray1OfByte > &ATexture) |
Protected Attributes | |
Handle_TColStd_HArray1OfByte | MyTexture |
Standard_Integer | MyTextureWidth |
Standard_Integer | MyTextureHeight |
Graphic3d_AspectMarker3d::Graphic3d_AspectMarker3d | ( | const Aspect_TypeOfMarker | AType, |
const Quantity_Color & | AColor, | ||
const Standard_Real | AScaleOrId | ||
) |
Graphic3d_AspectMarker3d::Graphic3d_AspectMarker3d | ( | const Aspect_TypeOfMarker | AType, |
const Quantity_Color & | AColor, | ||
const Standard_Real | AScaleOrId, | ||
const Standard_Integer | AWidth, | ||
const Standard_Integer | AHeight, | ||
const Handle< TColStd_HArray1OfByte > & | ATexture | ||
) |
const Handle_TColStd_HArray1OfByte& Graphic3d_AspectMarker3d::GetTexture | ( | ) |
void Graphic3d_AspectMarker3d::GetTextureSize | ( | Standard_Integer & | AWidth, |
Standard_Integer & | AHeight | ||
) |
void Graphic3d_AspectMarker3d::SetTexture | ( | const Standard_Integer | AWidth, |
const Standard_Integer | AHeight, | ||
const Handle< TColStd_HArray1OfByte > & | ATexture | ||
) |
Handle_TColStd_HArray1OfByte Graphic3d_AspectMarker3d::MyTexture [protected] |