18 #ifndef PRTX_GENERATECONTEXT_H_ 19 #define PRTX_GENERATECONTEXT_H_ 21 #include "prt/InitialShape.h" 22 #include "prt/Callbacks.h" 23 #include "prt/Cache.h" 24 #include "prt/OcclusionSet.h" 26 #include "prtx/InitialShape.h" 31 # pragma warning(push) 32 # pragma warning (disable : 4251 4231 4275 4660) 44 using OcclusionSets = std::vector<const prt::OcclusionSet*>;
45 using OcclusionSetsVector = std::vector<OcclusionSets>;
74 prt::Cache const* getCache()
const {
return mCache; }
89 GenerateContext(
const prt::InitialShape*
const* initialShapes,
const prt::OcclusionSet::Handle* occlusionHandles,
size_t initialShapeCount,
95 GenerateContext(
const prt::InitialShape*
const* initialShapes,
size_t initialShapeCount,
99 std::vector<const prtx::InitialShape*> mInitialShapes;
100 std::vector<prt::OcclusionSet::Handle> mOcclusionHandles;
103 OcclusionSetsVector mOcclusionSets;
112 # pragma warning(pop) Definition: GenerateContext.h:42
prt::Cache * getCache()
Definition: GenerateContext.h:73
const OcclusionSets & getOcclusionSets(size_t i) const
Definition: GenerateContext.h:81
Definition: OcclusionSet.h:39
The Procedural Runtime eXtension namespace. The prtx namespace contains the tools to extend the Proce...
Definition: AnnotationBuilder.h:35
Definition: /InitialShape.h:29
prt::Callbacks * getCallbacks()
Definition: GenerateContext.h:69
const prtx::InitialShape * getInitialShape(size_t i) const
Definition: GenerateContext.h:59
Definition: InitialShape.h:46
prt::OcclusionSet::Handle getOcclusionHandle(size_t i) const
Definition: GenerateContext.h:65
size_t getInitialShapeCount() const
Definition: GenerateContext.h:54
Definition: Callbacks.h:45