00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef __GU_EdgeCreaseParms_h__
00020 #define __GU_EdgeCreaseParms_h__
00021
00022 #include "GU_API.h"
00023 #include <UT/UT_Vector4.h>
00024
00025 class GB_EdgeGroup;
00026
00027 enum GU_EdgeCreaseAction {
00028 GU_EDGECREASE_ADDTO,
00029 GU_EDGECREASE_SET,
00030 GU_EDGECREASE_DELETE
00031 };
00032
00033 class GU_API GU_EdgeCreaseParms
00034 {
00035 public:
00036 GU_EdgeCreaseParms() :
00037 myGroup(0),
00038 myAction(GU_EDGECREASE_ADDTO),
00039 myCreaseValue(0.0f),
00040 myColdColour(0.0f, 0.0f, 1.0f),
00041 myHotColour (1.0f, 0.0f, 0.0f),
00042 mySetColour(false)
00043 {}
00044
00045 const GB_EdgeGroup *myGroup;
00046 GU_EdgeCreaseAction myAction;
00047 float myCreaseValue;
00048 UT_Vector3 myColdColour;
00049 UT_Vector3 myHotColour;
00050 bool mySetColour;
00051 };
00052
00053
00054 #endif