Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
Prs3d_PointAspect Class Reference

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>

Inheritance diagram for Prs3d_PointAspect:
Inheritance graph
[legend]

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.


Constructor & Destructor Documentation


Member Function Documentation

Handle_Graphic3d_AspectMarker3d Prs3d_PointAspect::Aspect ( ) const
const Handle_TColStd_HArray1OfByte& Prs3d_PointAspect::GetTexture ( )

The documentation for this class was generated from the following file: