#include <RaycastWithCallback.h>
Collaboration diagram for PolyVox::RaycastWithCallback< VolumeType, VoxelType >:Public Member Functions | |
| RaycastWithCallback (VolumeType< VoxelType > *volData, const Vector3DFloat &v3dStart, const Vector3DFloat &v3dDirection, polyvox_function< bool(const Vector3DInt32 &position)> funcCallback) | |
| Constructor. | |
| void | setStart (const Vector3DFloat &v3dStart) |
| Sets the start position for the ray. | |
| void | setDirection (const Vector3DFloat &v3dDirection) |
| Set the direction for the ray. | |
| void | execute () |
| Performs the raycast. | |
Definition at line 32 of file RaycastWithCallback.h.
| PolyVox::RaycastWithCallback< VolumeType, VoxelType >::RaycastWithCallback | ( | VolumeType< VoxelType > * | volData, | |
| const Vector3DFloat & | v3dStart, | |||
| const Vector3DFloat & | v3dDirection, | |||
| polyvox_function< bool(const Vector3DInt32 &position)> | funcCallback | |||
| ) |
Constructor.
Definition at line 27 of file RaycastWithCallback.inl.
| void PolyVox::RaycastWithCallback< VolumeType, VoxelType >::execute | ( | void | ) |
Performs the raycast.
Definition at line 52 of file RaycastWithCallback.inl.
Here is the call graph for this function:| void PolyVox::RaycastWithCallback< VolumeType, VoxelType >::setDirection | ( | const Vector3DFloat & | v3dDirection | ) |
Set the direction for the ray.
Definition at line 46 of file RaycastWithCallback.inl.
| void PolyVox::RaycastWithCallback< VolumeType, VoxelType >::setStart | ( | const Vector3DFloat & | v3dStart | ) |
Sets the start position for the ray.
Definition at line 40 of file RaycastWithCallback.inl.
1.7.1