92 std::shared_ptr<const VolumeArray> insideArray,
93 std::shared_ptr<const VolumeArray> outsideArray)
161 return (*(m_surface.get()));
176 const std::shared_ptr<const VolumeArray> volumes,
179 m_insideVolumeArray = volumes;
181 m_outsideVolumeArray = volumes;
190 const T* attVolume =
nullptr;
192 if ((surfaceRepresentation().
normal(gctx, pos)).dot(pdir * mom) > 0.) {
193 attVolume = m_outsideVolumeArray ? m_outsideVolumeArray->object(pos).get()
196 attVolume = m_insideVolumeArray ? m_insideVolumeArray->object(pos).get()