HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
GU_Trace.h
Go to the documentation of this file.
1
2
#ifndef __GU_Trace_h__
3
#define __GU_Trace_h__
4
5
#include "
GU_API.h
"
6
class
IMG_Raster
;
7
#include <
UT/UT_VoxelArray.h
>
8
9
class
GU_API
GU_TraceParms
10
{
11
public
:
12
const
IMG_Raster
*
raster
=
nullptr
;
// image to be traced
13
const
UT_VoxelArrayF
*volume =
nullptr
;
// 2d volume to be traced
14
int
channel = 0;
// rgba as 0123
15
float
thresh = 128;
// image cut-off value
16
17
bool
doResample =
false
;
// resample points
18
float
stepsize = 1;
// used in resampling
19
20
bool
doSmooth =
false
;
// smooth object
21
float
cornerDelta = 1;
// used in finding corners
22
23
bool
removeBorder =
false
;
// del image boundaries edges
24
int
borderWidth = 2;
// how far border extends
25
26
/// Use pixel (0,0) as a boundary value
27
/// NOTE: The true default is just for HDK backward compatibility.
28
/// You probably want to set this to false and set boundaryValue to 0 or 255.
29
bool
firstPixelValueBoundary =
true
;
30
float
boundaryValue = 0;
// If !firstPixelValueBoundary, use this as a boundary value.
31
};
32
33
#endif
34
IMG_Raster
Definition:
IMG_Raster.h:50
UT_VoxelArray< fpreal32 >
HUSD_RenderTokens::raster
HUSD_API const char * raster()
GU_API
#define GU_API
Definition:
GU_API.h:14
GU_TraceParms
Definition:
GU_Trace.h:9
GU_API.h
UT_VoxelArray.h
GU
GU_Trace.h
Generated on Sun Nov 17 2024 03:01:19 for HDK by
1.8.6