Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

SoShapeHints.h

00001 /**************************************************************************\ 00002 * 00003 * This file is part of the Coin 3D visualization library. 00004 * Copyright (C) 1998-2003 by Systems in Motion. All rights reserved. 00005 * 00006 * This library is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU Lesser General Public License 00008 * version 2.1 as published by the Free Software Foundation. See the 00009 * file LICENSE.LGPL at the root directory of the distribution for 00010 * more details. 00011 * 00012 * If you want to use Coin for applications not compatible with the 00013 * LGPL, please contact SIM to acquire a Professional Edition license. 00014 * 00015 * Systems in Motion, Teknobyen, Abels Gate 5, 7030 Trondheim, NORWAY 00016 * http://www.sim.no support@sim.no Voice: +47 22114160 Fax: +47 22207097 00017 * 00018 \**************************************************************************/ 00019 00020 #ifndef COIN_SOSHAPEHINTS_H 00021 #define COIN_SOSHAPEHINTS_H 00022 00023 #include <Inventor/elements/SoShapeHintsElement.h> 00024 #include <Inventor/fields/SoSFEnum.h> 00025 #include <Inventor/fields/SoSFFloat.h> 00026 #include <Inventor/nodes/SoSubNode.h> 00027 00028 00029 class COIN_DLL_API SoShapeHints : public SoNode { 00030 typedef SoNode inherited; 00031 00032 SO_NODE_HEADER(SoShapeHints); 00033 00034 public: 00035 static void initClass(void); 00036 SoShapeHints(void); 00037 00038 enum VertexOrdering { 00039 UNKNOWN_ORDERING = SoShapeHintsElement::UNKNOWN_ORDERING, 00040 CLOCKWISE = SoShapeHintsElement::CLOCKWISE, 00041 COUNTERCLOCKWISE = SoShapeHintsElement::COUNTERCLOCKWISE 00042 }; 00043 00044 enum ShapeType { 00045 UNKNOWN_SHAPE_TYPE = SoShapeHintsElement::UNKNOWN_SHAPE_TYPE, 00046 SOLID = SoShapeHintsElement::SOLID 00047 }; 00048 00049 enum FaceType { 00050 UNKNOWN_FACE_TYPE = SoShapeHintsElement::UNKNOWN_FACE_TYPE, 00051 CONVEX = SoShapeHintsElement::CONVEX 00052 }; 00053 00054 SoSFEnum vertexOrdering; 00055 SoSFEnum shapeType; 00056 SoSFEnum faceType; 00057 SoSFFloat creaseAngle; 00058 00059 00060 virtual void doAction(SoAction * action); 00061 virtual void GLRender(SoGLRenderAction * action); 00062 virtual void callback(SoCallbackAction * action); 00063 virtual void getBoundingBox(SoGetBoundingBoxAction * action); 00064 virtual void pick(SoPickAction * action); 00065 00066 protected: 00067 virtual ~SoShapeHints(); 00068 }; 00069 00070 #endif // !COIN_SOSHAPEHINTS_H

Generated on Tue Jul 27 23:53:02 2004 for Coin by doxygen 1.3.7