HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_CaptureWeightVisualize.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: SOP Library (C++)
7  *
8  * COMMENTS: CaptureWeightVisualize creates Cd values for capture weights.
9  *
10  */
11 
12 #ifndef __SOP_CaptureWeightVisualize_h__
13 #define __SOP_CaptureWeightVisualize_h__
14 
15 #include "SOP_API.h"
16 #include "SOP_CaptureLayerData.h"
17 
18 #include <GU/GU_Detail.h>
19 #include <UT/UT_Color.h>
20 #include <UT/UT_IntArray.h>
21 #include <UT/UT_Vector3.h>
22 #include <UT/UT_Array.h>
23 #include <OP/OP_Node.h>
24 
26 {
27 public:
28  static void getSingleBoneVisualization(const GU_Detail *gdp, int ptnum,
29  int cregion, bool visnormalized,
30  const UT_ColorRamp &ramp,
31  UT_Vector3 *vis,
34 
35  static void getMultiBoneVisualization(const GU_Detail *gdp, int ptnum,
36  bool visnormalized,
37  const UT_Array<const UT_Vector3 *> *colours,
38  UT_Vector3 *vis,
40 
41  static void doSingleBoneVisualize(GU_Detail *gdp, int cregion,
42  bool visnormalized,
43  const UT_ColorRamp &ramp,
46 
47  static void doMultiBoneVisualize(OP_Node *node, GU_Detail *gdp,
48  OP_Context &context, bool visnormalized,
51 
52  static void getSingleBoneLayerVisualization(SOP_CaptureLayerData *layer,
53  const UT_IntArray &cregion_mapping,
54  int ptnum, int cregion, bool visnormalized,
55  const UT_ColorRamp &ramp, UT_Vector3 *vis,
58 
59  static void getMultiBoneLayerVisualization(SOP_CaptureLayerData *layer,
60  const UT_IntArray &cregion_mapping,
61  int ptnum, bool visnormalized,
62  const UT_Array<const UT_Vector3 *> *colours,
63  UT_Vector3 *vis,
66 };
67 
68 #endif
GLenum GLuint GLint GLint layer
Definition: glcorearb.h:1299
CaptureType
Methods for manipulating capture weights (GEO_CaptureWeight.C)
Definition: GEO_Detail.h:996
UT_ColorRamp
Definition: UT_Color.h:32
GLdouble t
Definition: glad.h:2397
#define SOP_API
Definition: SOP_API.h:10