Public Member Functions

PolyVox::RaycastWithCallback< VolumeType, VoxelType > Class Template Reference

#include <RaycastWithCallback.h>

Collaboration diagram for PolyVox::RaycastWithCallback< VolumeType, VoxelType >:

List of all members.

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.

Detailed Description

template<template< typename > class VolumeType, typename VoxelType>
class PolyVox::RaycastWithCallback< VolumeType, VoxelType >

Definition at line 32 of file RaycastWithCallback.h.


Constructor & Destructor Documentation

template<template< typename > class VolumeType, typename VoxelType >
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.


Member Function Documentation

template<template< typename > class VolumeType, typename VoxelType >
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:

template<template< typename > class VolumeType, typename VoxelType >
void PolyVox::RaycastWithCallback< VolumeType, VoxelType >::setDirection ( const Vector3DFloat v3dDirection  ) 

Set the direction for the ray.

Definition at line 46 of file RaycastWithCallback.inl.

template<template< typename > class VolumeType, typename VoxelType >
void PolyVox::RaycastWithCallback< VolumeType, VoxelType >::setStart ( const Vector3DFloat v3dStart  ) 

Sets the start position for the ray.

Definition at line 40 of file RaycastWithCallback.inl.


The documentation for this class was generated from the following files: