18 #ifndef PRT_INITIALSHAPE_H_ 19 #define PRT_INITIALSHAPE_H_ 22 #include "prt/Object.h" 23 #include "prt/AttributeMap.h" 24 #include "prt/ResolveMap.h" 25 #include "prt/Cache.h" 51 virtual wchar_t const* getRuleFile()
const = 0;
55 virtual wchar_t const* getStartRule()
const = 0;
60 virtual wchar_t const* getName()
const = 0;
64 virtual int32_t getRandomSeed()
const = 0;
72 virtual ResolveMap const* getResolveMap()
const = 0;
81 virtual wchar_t const* getCacheKey()
const = 0;
128 virtual Status setGeometry(
129 double const* vertexCoords,
131 uint32_t
const* indices,
133 uint32_t
const* faceCounts,
134 size_t faceCountsCount,
135 const uint32_t* holes =
nullptr,
136 size_t holesCount = 0
156 double const* uvCoords,
158 uint32_t
const* uvIndices,
159 size_t uvIndicesCount,
160 uint32_t
const* faceCounts,
161 size_t faceCountsCount,
183 virtual Status resolveTextures(
184 wchar_t const*
const* textureKeys,
186 uint32_t
const* faceTextureIndices,
189 Cache* cache =
nullptr 198 virtual Status resetGeometry() = 0;
211 virtual Status resolveGeometry(
214 Cache* cache =
nullptr 252 virtual Status setAttributes(
253 wchar_t const* ruleFile,
254 wchar_t const* startRule,
278 virtual Status resolveAttributes(
281 Cache* cache =
nullptr Definition: ResolveMap.h:38
Definition: AttributeMap.h:32
Definition: InitialShape.h:46
Status
Definition: Status.h:31
Definition: InitialShape.h:89
The Procedural Runtime API namespace. The prt namespace contains the top level entry points into the ...
Definition: Annotation.h:24