HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SIM_FullPathData.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 
7 #ifndef __SIM_FullPathData_h__
8 #define __SIM_FullPathData_h__
9 
10 #include "SIM_API.h"
11 #include <GU/GU_DetailHandle.h>
12 #include <UT/UT_StringHolder.h>
13 
14 class SIM_Data;
15 class SIM_Engine;
16 class SIM_Position;
17 class SIM_RootData;
18 class SIM_Time;
19 
21 {
22  const SIM_RootData *myRootData = nullptr;
23  const SIM_Data *myData = nullptr;
25 };
26 
27 /// Version of DOPfindDataFromPath() that uses the provided SIM_Engine instead
28 /// of searching for a DOP node at the beginning of the path.
30  const char *path,
31  SIM_FullPathData &fulldata,
32  const SIM_Engine &engine,
33  const SIM_Time &sim_time,
34  bool interpolate_data);
35 
36 /// Version of DOPfindAllDataFromPath() that uses the provided SIM_Engine
37 /// instead of searching for a DOP node at the beginning of the path.
39  const char *path,
41  const SIM_Engine &engine,
42  const SIM_Time &sim_time,
43  bool interpolate_data);
44 
45 /// Return the geometry and transform for the provided data path.
46 /// This handles data types other than SIM_Geometry - e.g. SIM_Object (returning
47 /// the object's geometry), SIM_SDF and other field types, and unknown types are
48 /// converted to their guide geometry if possible.
50  UT_DMatrix4 &xform,
51  const SIM_RootData *rootdata,
52  const SIM_Data *data,
53  const char *dataname,
54  const SIM_Time &simtime);
55 
57  const SIM_RootData *rootdata,
58  const SIM_Data *data,
59  const char *dataname);
60 
61 #endif
SIM_API bool SIMfindDataFromPath(const char *path, SIM_FullPathData &fulldata, const SIM_Engine &engine, const SIM_Time &sim_time, bool interpolate_data)
GLsizei const GLchar *const * path
Definition: glcorearb.h:3341
UT_StringHolder myDataName
SIM_API const SIM_Position * SIMgetBestPosition(const SIM_RootData *rootdata, const SIM_Data *data, const char *dataname)
#define SIM_API
Definition: SIM_API.h:12
SIM_API GU_ConstDetailHandle SIMgetBestGeometry(UT_DMatrix4 &xform, const SIM_RootData *rootdata, const SIM_Data *data, const char *dataname, const SIM_Time &simtime)
SIM_API bool SIMfindAllDataFromPath(const char *path, UT_Array< SIM_FullPathData > &fulldata, const SIM_Engine &engine, const SIM_Time &sim_time, bool interpolate_data)
Definition: format.h:895