/usr/include/oce/Prs3d_PointAspect.hxx is in liboce-visualization-dev 0.17.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _Prs3d_PointAspect_HeaderFile
#define _Prs3d_PointAspect_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_Prs3d_PointAspect.hxx>
#include <Handle_Graphic3d_AspectMarker3d.hxx>
#include <Prs3d_BasicAspect.hxx>
#include <Aspect_TypeOfMarker.hxx>
#include <Standard_Real.hxx>
#include <Quantity_NameOfColor.hxx>
#include <Standard_Integer.hxx>
#include <Handle_TColStd_HArray1OfByte.hxx>
#include <Graphic3d_MarkerImage_Handle.hxx>
class Graphic3d_AspectMarker3d;
class Quantity_Color;
class TColStd_HArray1OfByte;
//! 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.
class Prs3d_PointAspect : public Prs3d_BasicAspect
{
public:
Standard_EXPORT Prs3d_PointAspect(const Aspect_TypeOfMarker aType, const Quantity_Color& aColor, const Standard_Real aScale);
Standard_EXPORT Prs3d_PointAspect(const Aspect_TypeOfMarker aType, const Quantity_NameOfColor aColor, const Standard_Real aScale);
//! defines only the urer defined marker point.
Standard_EXPORT Prs3d_PointAspect(const Quantity_Color& AColor, const Standard_Integer AWidth, const Standard_Integer AHeight, const Handle(TColStd_HArray1OfByte)& ATexture);
Standard_EXPORT void SetColor (const Quantity_Color& aColor) ;
//! defines the color to be used when drawing a point.
//! Default value: Quantity_NOC_YELLOW
Standard_EXPORT void SetColor (const Quantity_NameOfColor aColor) ;
//! defines the type of representation to be used when drawing a point.
//! Default value: Aspect_TOM_PLUS
Standard_EXPORT void SetTypeOfMarker (const Aspect_TypeOfMarker aType) ;
//! defines the size of the marker used when drawing a point.
//! Default value: 1.
Standard_EXPORT void SetScale (const Standard_Real aScale) ;
Standard_EXPORT Handle(Graphic3d_AspectMarker3d) Aspect() const;
//! Returns marker's texture size.
Standard_EXPORT void GetTextureSize (Standard_Integer& AWidth, Standard_Integer& AHeight) ;
//! Returns marker's texture.
Standard_EXPORT const Graphic3d_MarkerImage_Handle& GetTexture() ;
DEFINE_STANDARD_RTTI(Prs3d_PointAspect)
protected:
private:
Handle(Graphic3d_AspectMarker3d) myAspect;
};
#endif // _Prs3d_PointAspect_HeaderFile
|