0031687: Draw Harness, ViewerTest - extend command vrenderparams with option updating...
[occt.git] / src / IMeshData / IMeshData_Status.hxx
CommitLineData
7bd071ed 1// Created on: 2011-05-17
2// Created by: Oleg AGASHIN
3// Copyright (c) 2011-2014 OPEN CASCADE SAS
4//
5// This file is part of Open CASCADE Technology software library.
6//
7// This library is free software; you can redistribute it and/or modify it under
8// the terms of the GNU Lesser General Public License version 2.1 as published
9// by the Free Software Foundation, with special exception defined in the file
10// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11// distribution for complete text of the license and disclaimer of any warranty.
12//
13// Alternatively, this file may be used under the terms of Open CASCADE
14// commercial license or contractual agreement.
15
16#ifndef _IMeshData_Status_HeaderFile
17#define _IMeshData_Status_HeaderFile
18
19//! Enumerates statuses used to notify state of discrete model.
20enum IMeshData_Status
21{
22 IMeshData_NoError = 0x0, //!< Mesh generation is successful.
23 IMeshData_OpenWire = 0x1, //!< Notifies open wire problem, which can potentially lead to incorrect results.
24 IMeshData_SelfIntersectingWire = 0x2, //!< Notifies self-intersections on discretized wire, which can potentially lead to incorrect results.
25 IMeshData_Failure = 0x4, //!< Failed to generate mesh for some faces.
26 IMeshData_ReMesh = 0x8, //!< Deflection of some edges has been decreased due to interference of discrete model.
27 IMeshData_UnorientedWire = 0x10, //!< Notifies bad orientation of a wire, which can potentially lead to incorrect results.
28 IMeshData_TooFewPoints = 0x20, //!< Discrete model contains too few boundary points to generate mesh.
29 IMeshData_Outdated = 0x40, //!< Existing triangulation of some faces corresponds to greater deflection than specified by parameter.
30 IMeshData_Reused = 0x80 //!< Existing triangulation of some faces is reused as far as it fits specified deflection.
31};
32
33#endif