7 #ifndef __xgen_SurfaceAccessibleXGen_h__ 8 #define __xgen_SurfaceAccessibleXGen_h__ 25 class Procedural:
public XGenRenderAPI::ProceduralCallbacks
29 virtual ~Procedural(
void);
31 BWORD load(
String a_filename,Real a_frame);
33 virtual void flush(
const char* a_geomName,
34 XGenRenderAPI::PrimitiveCache* a_cache);
35 virtual void log(
const char* a_str);
37 virtual bool get(EBoolAttribute a_attr)
const;
39 const char*
get(EStringAttribute a_attr)
const;
40 virtual float get(EFloatAttribute a_attr)
const;
42 const float*
get(EFloatArrayAttribute a_attr)
const;
43 virtual unsigned int getSize(EFloatArrayAttribute a_attr)
const;
46 const char* getOverride(
const char* a_name)
const;
47 virtual bool getArchiveBoundingBox(
48 const char* a_filename,
49 XGenRenderAPI::bbox& out_bbox)
const;
50 virtual void getTransform(
float a_time,
51 XGenRenderAPI::mat44& out_mat)
const;
53 void setSurfaceAccessible(
55 { m_spSurfaceAccessibleXGen=a_spSurfaceAccessibleXGen; }
57 { m_spSkinContext=a_spSkinContext; }
59 { m_spSkinSurface=a_spSurfaceI; }
61 void setClearDescription(BWORD a_clearDescription)
62 { m_clearDescription=a_clearDescription; }
63 void setResolution(
String a_resolution)
64 { m_resolution=a_resolution; }
65 void setDescription(
String a_description)
66 { m_description=a_description; }
73 BWORD m_clearDescription;
78 float m_falloffArray[7];
88 virtual BWORD load(
String a_filename,
93 virtual void reset(
void);
96 BWORD probeOptions(
String a_filename);
97 BWORD importBakedCurves(
String a_filename);
98 BWORD importProcedural(
String a_filename);
100 std::map<String,String> m_optionMap;
101 std::map<String,String> m_patchMap;
139 BWORD m_shutter_populated;
140 BWORD m_normal_populated;
141 BWORD m_uv_populated;
142 BWORD m_surfaceP_populated;
143 BWORD m_refSurfaceP_populated;
144 BWORD m_surfaceN_populated;
145 BWORD m_refSurfaceN_populated;
Class level locking for thread safety.
Definition: Safe.h:213
kernel
Definition: namespace.dox:3
The main data access class for the data system.
Definition: Accessor.h:128
Automatically reference-counted string container.
Definition: String.h:128
Wrapper for std::vector.
Definition: Array.h:21
Record Surface Binding.
Definition: SurfaceAccessibleRecord.h:20
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53
virtual BWORD load(String a_filename, sp< Catalog > a_spSettings)
load model data with settings
Definition: SurfaceAccessibleRecord.cc:247
XGen Surface Binding.
Definition: SurfaceAccessibleXGen.h:19