| 148 | } |
| 149 | |
| 150 | void Geometry::setOcclusionFilterFunctionN (RTCFilterFunctionN filter) |
| 151 | { |
| 152 | if (!(getTypeMask() & (MTY_TRIANGLE_MESH | MTY_QUAD_MESH | MTY_CURVES | MTY_SUBDIV_MESH | MTY_USER_GEOMETRY | MTY_GRID_MESH))) |
| 153 | throw_RTCError(RTC_ERROR_INVALID_OPERATION,"filter functions not supported for this geometry"); |
| 154 | |
| 155 | occlusionFilterN = filter; |
| 156 | } |
| 157 | |
| 158 | void Geometry::setPointQueryFunction (RTCPointQueryFunction func) |
| 159 | { |
no test coverage detected