0027232: Configuration - fix mblen missing building issue on Android
[occt.git] / src / Graphic3d / Graphic3d_ArrayOfPoints.hxx
CommitLineData
42cf5bc1 1// Created on: 2001-01-04
2// Copyright (c) 2001-2014 OPEN CASCADE SAS
3//
4// This file is part of Open CASCADE Technology software library.
5//
6// This library is free software; you can redistribute it and/or modify it under
7// the terms of the GNU Lesser General Public License version 2.1 as published
8// by the Free Software Foundation, with special exception defined in the file
9// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10// distribution for complete text of the license and disclaimer of any warranty.
11//
12// Alternatively, this file may be used under the terms of Open CASCADE
13// commercial license or contractual agreement.
14
15#ifndef _Graphic3d_ArrayOfPoints_HeaderFile
16#define _Graphic3d_ArrayOfPoints_HeaderFile
17
18#include <Standard.hxx>
19#include <Standard_Type.hxx>
20
21#include <Graphic3d_ArrayOfPrimitives.hxx>
22#include <Standard_Integer.hxx>
23#include <Standard_Boolean.hxx>
24
25
26class Graphic3d_ArrayOfPoints;
27DEFINE_STANDARD_HANDLE(Graphic3d_ArrayOfPoints, Graphic3d_ArrayOfPrimitives)
28
29//! Contains points array definition
30class Graphic3d_ArrayOfPoints : public Graphic3d_ArrayOfPrimitives
31{
32
33public:
34
35
36 //! Creates an array of points,
37 //! a single pixel point is drawn at each vertex.
38 //! The array must be filled using the AddVertex(Point) method.
39 //! When <hasVColors> is TRUE , you must use only AddVertex(Point,Color) method.
40 //! When <hasVNormals> is TRUE , you must use only AddVertex(Point,Normal) method.
41 Standard_EXPORT Graphic3d_ArrayOfPoints(const Standard_Integer maxVertexs, const Standard_Boolean hasVColors = Standard_False, const Standard_Boolean hasVNormals = Standard_False);
42
43
44
45
92efcf78 46 DEFINE_STANDARD_RTTIEXT(Graphic3d_ArrayOfPoints,Graphic3d_ArrayOfPrimitives)
42cf5bc1 47
48protected:
49
50
51
52
53private:
54
55
56
57
58};
59
60
61
62
63
64
65
66#endif // _Graphic3d_ArrayOfPoints_HeaderFile