11 #ifndef __IMG3D_Manager__
12 #define __IMG3D_Manager__
84 int openTexture(
const char *
filename);
94 const float *getCorner()
const;
97 const float *getSize()
const;
99 const int *getRes()
const;
102 int getNChannels()
const;
105 const char *getChannelName(
int idx)
const;
108 int getChannelSize(
int idx)
const;
111 int getChannelNumber(
const char *
name)
const;
116 int openChannel(
const char *channel_name);
122 int setFilter(
const char *filter_name,
fpreal filter_width);
176 float *loadUntiledChannel();
179 int loadUntiledChannel(
float *
data);
188 const char *filename,
209 const char *channel_names[],
232 int fillUntiledTexture(
234 const char *channel_names[],
244 bool exportTag(
const char *name,
int value);
245 bool exportTag(
const char *name,
float value);
246 bool exportTag(
const char *name,
const UT_Vector3 &value);
247 bool exportTag(
const char *name,
const UT_Vector4 &value);
248 bool exportTag(
const char *name,
const UT_Matrix3 &value);
249 bool exportTag(
const char *name,
const UT_Matrix4 &value);
250 bool exportTag(
const char *name,
const char *value);
257 bool importTag(
const char *name,
int &value);
258 bool importTag(
const char *name,
float &value);
259 bool importTag(
const char *name,
UT_Vector3 &value);
260 bool importTag(
const char *name,
UT_Vector4 &value);
261 bool importTag(
const char *name,
UT_Matrix3 &value);
262 bool importTag(
const char *name,
UT_Matrix4 &value);
263 bool importTag(
const char *name,
UT_String &value);
271 {
return sample(*(
UT_Vector3 *)pos, result); }
276 int SYS_DEPRECATED(8.2) integrate(
float *p0,
float *p1,
float *result,
280 result, limit_max, value_scale, accuracy); }
285 density, accuracy); }
288 const char *filename,
289 const float box[3][2],
296 box[0][0], box[1][0], box[2][0],
297 box[0][1], box[1][1], box[2][1]),
298 xres, yres, zres, compression);
303 const char *channel_names[],
GLuint GLsizei const GLuint const GLintptr const GLsizeiptr * sizes
void(* IMG3D_TextureEval)(int nvalues, const UT_Vector3 *pos, fpreal32 *result[], const char *names[], int sizes[], int for_aa)
GT_API const UT_StringHolder filename
#define SYS_DEPRECATED(__V__)
**But if you need a result
UT_BoundingBoxT< float > UT_BoundingBox
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
GLuint const GLchar * name
IMATH_CONSTEXPR14 bool intersect(const Line3< T > &line, const Vec3< T > &v0, const Vec3< T > &v1, const Vec3< T > &v2, Vec3< T > &pt, Vec3< T > &barycentric, bool &front) IMATH_NOEXCEPT
void(* IMG3D_Manager_Eval)(int nvalues, const fpreal32 *pos, fpreal32 *result[], const char *names[], int sizes[], int for_aa)
Class to handle reading/writing 3D texture images.