@@ -79,7 +79,7 @@ struct ImplicitRenderOpts {
7979
8080// Populate the custom-filled entries of opts according to the policy above.
8181template <class S >
82- void resolveImplicitRenderOpts (QuantityStructure<S> * parent, ImplicitRenderOpts& opts);
82+ void resolveImplicitRenderOpts (S * parent, ImplicitRenderOpts& opts);
8383
8484// === Depth/geometry/shape only render functions
8585
@@ -102,15 +102,13 @@ void resolveImplicitRenderOpts(QuantityStructure<S>* parent, ImplicitRenderOpts&
102102// handles more general implicit functions. See the options struct for other options.
103103
104104template <class Func , class S >
105- DepthRenderImageQuantity* renderImplicitSurface (QuantityStructure<S>* parent, std::string name, Func&& func,
106- ImplicitRenderMode mode,
105+ DepthRenderImageQuantity* renderImplicitSurface (S* parent, std::string name, Func&& func, ImplicitRenderMode mode,
107106 ImplicitRenderOpts opts = ImplicitRenderOpts());
108107template <class Func >
109108DepthRenderImageQuantity* renderImplicitSurface (std::string name, Func&& func, ImplicitRenderMode mode,
110109 ImplicitRenderOpts opts = ImplicitRenderOpts());
111110template <class Func , class S >
112- DepthRenderImageQuantity* renderImplicitSurfaceBatch (QuantityStructure<S>* parent, std::string name, Func&& func,
113- ImplicitRenderMode mode,
111+ DepthRenderImageQuantity* renderImplicitSurfaceBatch (S* parent, std::string name, Func&& func, ImplicitRenderMode mode,
114112 ImplicitRenderOpts opts = ImplicitRenderOpts());
115113template <class Func >
116114DepthRenderImageQuantity* renderImplicitSurfaceBatch (std::string name, Func&& func, ImplicitRenderMode mode,
@@ -121,16 +119,16 @@ DepthRenderImageQuantity* renderImplicitSurfaceBatch(std::string name, Func&& fu
121119// Like the implicit surface renderers above, but additionally take a color
122120
123121template <class Func , class FuncColor , class S >
124- ColorRenderImageQuantity* renderImplicitSurfaceColor (QuantityStructure<S> * parent, std::string name, Func&& func,
125- FuncColor&& funcColor, ImplicitRenderMode mode,
122+ ColorRenderImageQuantity* renderImplicitSurfaceColor (S * parent, std::string name, Func&& func, FuncColor&& funcColor ,
123+ ImplicitRenderMode mode,
126124 ImplicitRenderOpts opts = ImplicitRenderOpts());
127125template <class Func , class FuncColor >
128126ColorRenderImageQuantity* renderImplicitSurfaceColor (std::string name, Func&& func, FuncColor&& funcColor,
129127 ImplicitRenderMode mode,
130128 ImplicitRenderOpts opts = ImplicitRenderOpts());
131129
132130template <class Func , class FuncColor , class S >
133- ColorRenderImageQuantity* renderImplicitSurfaceColorBatch (QuantityStructure<S> * parent, std::string name, Func&& func,
131+ ColorRenderImageQuantity* renderImplicitSurfaceColorBatch (S * parent, std::string name, Func&& func,
134132 FuncColor&& funcColor, ImplicitRenderMode mode,
135133 ImplicitRenderOpts opts = ImplicitRenderOpts());
136134template <class Func , class FuncColor >
@@ -143,17 +141,17 @@ ColorRenderImageQuantity* renderImplicitSurfaceColorBatch(std::string name, Func
143141// Like the implicit surface renderers above, but additionally take a scalar and colormap it, etc
144142
145143template <class Func , class FuncScalar , class S >
146- ScalarRenderImageQuantity* renderImplicitSurfaceScalar (QuantityStructure<S>* parent, std::string name, Func&& func,
147- FuncScalar&& funcScalar, ImplicitRenderMode mode,
148- ImplicitRenderOpts opts = ImplicitRenderOpts(),
149- DataType dataType = DataType::STANDARD);
144+ ScalarRenderImageQuantity*
145+ renderImplicitSurfaceScalar (S* parent, std::string name, Func&& func, FuncScalar&& funcScalar, ImplicitRenderMode mode,
146+ ImplicitRenderOpts opts = ImplicitRenderOpts(), DataType dataType = DataType::STANDARD);
147+
150148template <class Func , class FuncScalar >
151149ScalarRenderImageQuantity*
152150renderImplicitSurfaceScalar (std::string name, Func&& func, FuncScalar&& funcScalar, ImplicitRenderMode mode,
153151 ImplicitRenderOpts opts = ImplicitRenderOpts(), DataType dataType = DataType::STANDARD);
154152
155153template <class Func , class FuncScalar , class S >
156- ScalarRenderImageQuantity* renderImplicitSurfaceScalarBatch (QuantityStructure<S> * parent, std::string name, Func&& func,
154+ ScalarRenderImageQuantity* renderImplicitSurfaceScalarBatch (S * parent, std::string name, Func&& func,
157155 FuncScalar&& funcScalar, ImplicitRenderMode mode,
158156 ImplicitRenderOpts opts = ImplicitRenderOpts(),
159157 DataType dataType = DataType::STANDARD);
@@ -169,7 +167,7 @@ ScalarRenderImageQuantity* renderImplicitSurfaceScalarBatch(std::string name, Fu
169167// Whereas the other functions shade based on normals, this one just renders surface depth and color directly.
170168
171169template <class Func , class FuncColor , class S >
172- RawColorRenderImageQuantity* renderImplicitSurfaceRawColor (QuantityStructure<S> * parent, std::string name, Func&& func,
170+ RawColorRenderImageQuantity* renderImplicitSurfaceRawColor (S * parent, std::string name, Func&& func,
173171 FuncColor&& funcColor, ImplicitRenderMode mode,
174172 ImplicitRenderOpts opts = ImplicitRenderOpts());
175173template <class Func , class FuncColor >
@@ -178,9 +176,9 @@ RawColorRenderImageQuantity* renderImplicitSurfaceRawColor(std::string name, Fun
178176 ImplicitRenderOpts opts = ImplicitRenderOpts());
179177
180178template <class Func , class FuncColor , class S >
181- RawColorRenderImageQuantity*
182- renderImplicitSurfaceRawColorBatch (QuantityStructure<S>* parent, std::string name, Func&& func, FuncColor&& funcColor,
183- ImplicitRenderMode mode, ImplicitRenderOpts opts = ImplicitRenderOpts());
179+ RawColorRenderImageQuantity* renderImplicitSurfaceRawColorBatch (S* parent, std::string name, Func&& func,
180+ FuncColor&& funcColor, ImplicitRenderMode mode ,
181+ ImplicitRenderOpts opts = ImplicitRenderOpts());
184182template <class Func , class FuncColor >
185183RawColorRenderImageQuantity* renderImplicitSurfaceRawColorBatch (std::string name, Func&& func, FuncColor&& funcColor,
186184 ImplicitRenderMode mode,
0 commit comments