Classes | Typedefs | Enumerations | Functions | Variables

PolyVox Namespace Reference

Main namespace. More...

Classes

class  AmbientOcclusionCalculator
class  Array
 Provides an efficient implementation of a multidimensional array. More...
class  Array< 1, ElementType >
class  Array< 0, ElementType >
class  ArraySizes
 The ArraySizes class provide a convienient way to specify the dimensions of an Array. More...
struct  AStarPathfinderParams
 Provides a configuration for the AStarPathfinder. More...
class  AStarPathfinder
 The AStarPathfinder compute a path from one point in the volume to another. More...
class  BaseVolume
class  ConstVolumeProxy
class  CubicSurfaceExtractor
class  CubicSurfaceExtractorWithNormals
class  Density
 This class represents a voxel storing only a density. More...
class  IteratorController
class  LargeVolume
class  LowPassFilter
class  Material
 This class represents a voxel storing only a material. More...
class  MaterialDensityPair
 This class represents a voxel storing only a density. More...
class  MeshDecimator
 The MeshDecimator reduces the number of triangles in a mesh. More...
class  RawVolume
struct  RaycastResult
 Stores the result of a raycast operation. More...
class  Raycast
 The Raycast class can be used to find the fist filled voxel along a given path. More...
class  RaycastWithCallback
class  Region
class  SimpleVolume
class  SurfaceEdge
class  SurfaceExtractor
class  LodRecord
class  SurfaceMesh
class  Vector
 Represents a vector in space. More...
class  PositionMaterial
class  PositionMaterialNormal
class  VolumeResampler
class  VolumeSerializationProgressListener
class  VolumeChangeTracker
 Voxel scene manager. More...
class  DummyClass

Typedefs

typedef Array< 1, float > Array1DFloat
 A 1D Array of floats.
typedef Array< 1, double > Array1DDouble
 A 1D Array of doubles.
typedef Array< 1, int8_t > Array1DInt8
 A 1D Array of signed 8-bit values.
typedef Array< 1, uint8_t > Array1DUint8
 A 1D Array of unsigned 8-bit values.
typedef Array< 1, int16_t > Array1DInt16
 A 1D Array of signed 16-bit values.
typedef Array< 1, uint16_t > Array1DUint16
 A 1D Array of unsigned 16-bit values.
typedef Array< 1, int32_t > Array1DInt32
 A 1D Array of signed 32-bit values.
typedef Array< 1, uint32_t > Array1DUint32
 A 1D Array of unsigned 32-bit values.
typedef Array< 2, float > Array2DFloat
 A 2D Array of floats.
typedef Array< 2, double > Array2DDouble
 A 2D Array of doubles.
typedef Array< 2, int8_t > Array2DInt8
 A 2D Array of signed 8-bit values.
typedef Array< 2, uint8_t > Array2DUint8
 A 2D Array of unsigned 8-bit values.
typedef Array< 2, int16_t > Array2DInt16
 A 2D Array of signed 16-bit values.
typedef Array< 2, uint16_t > Array2DUint16
 A 2D Array of unsigned 16-bit values.
typedef Array< 2, int32_t > Array2DInt32
 A 2D Array of signed 32-bit values.
typedef Array< 2, uint32_t > Array2DUint32
 A 2D Array of unsigned 32-bit values.
typedef Array< 3, float > Array3DFloat
 A 3D Array of floats.
typedef Array< 3, double > Array3DDouble
 A 3D Array of doubles.
typedef Array< 3, int8_t > Array3DInt8
 A 3D Array of signed 8-bit values.
typedef Array< 3, uint8_t > Array3DUint8
 A 3D Array of unsigned 8-bit values.
typedef Array< 3, int16_t > Array3DInt16
 A 3D Array of signed 16-bit values.
typedef Array< 3, uint16_t > Array3DUint16
 A 3D Array of unsigned 16-bit values.
typedef Array< 3, int32_t > Array3DInt32
 A 3D Array of signed 32-bit values.
typedef Array< 3, uint32_t > Array3DUint32
 A 3D Array of unsigned 32-bit values.
typedef Density< uint8_t > Density8
typedef Material< uint8_t > Material8
typedef Material< uint16_t > Material16
typedef Material< uint32_t > Material32
typedef MaterialDensityPair
< uint8_t, 4, 4 > 
MaterialDensityPair44
typedef MaterialDensityPair
< uint16_t, 8, 8 > 
MaterialDensityPair88
typedef Vector< 3, float > Vector3DFloat
 A 3D Vector of floats.
typedef Vector< 3, double > Vector3DDouble
 A 3D Vector of doubles.
typedef Vector< 3, int8_t > Vector3DInt8
 A 3D Vector of signed 8-bit values.
typedef Vector< 3, uint8_t > Vector3DUint8
 A 3D Vector of unsigned 8-bit values.
typedef Vector< 3, int16_t > Vector3DInt16
 A 3D Vector of signed 16-bit values.
typedef Vector< 3, uint16_t > Vector3DUint16
 A 3D Vector of unsigned 16-bit values.
typedef Vector< 3, int32_t > Vector3DInt32
 A 3D Vector of signed 32-bit values.
typedef Vector< 3, uint32_t > Vector3DUint32
 A 3D Vector of unsigned 32-bit values.
typedef SimpleVolume
< MaterialDensityPair88
Volume
typedef SurfaceMesh
< PositionMaterialNormal
Mesh
typedef std::set
< SurfaceVertex >::iterator 
SurfaceVertexIterator
typedef std::set
< SurfaceVertex >
::const_iterator 
SurfaceVertexConstIterator
typedef std::set
< SurfaceTriangle >::iterator 
SurfaceTriangleIterator
typedef std::set
< SurfaceTriangle >
::const_iterator 
SurfaceTriangleConstIterator
typedef std::set< SurfaceEdge >
::iterator 
SurfaceEdgeIterator
typedef std::set< SurfaceEdge >
::const_iterator 
SurfaceEdgeConstIterator

Enumerations

enum  NormalGenerationMethod {
  SIMPLE, CENTRAL_DIFFERENCE, SOBEL, CENTRAL_DIFFERENCE_SMOOTHED,
  SOBEL_SMOOTHED
}
enum  LogSeverity { LS_DEBUG, LS_INFO, LS_WARN, LS_ERROR }
 

Log levels for filtering logging events.

More...

Functions

template<template< typename > class VolumeType, typename VoxelType >
bool aStarDefaultVoxelValidator (const VolumeType< VoxelType > *volData, const Vector3DInt32 &v3dPos)
 This function provides the default method for checking whether a given voxel is vaid for the path computed by the AStarPathfinder.
template<template< typename > class VolumeType, typename VoxelType >
Vector3DFloat computeCentralDifferenceGradient (const typename VolumeType< VoxelType >::Sampler &volIter)
template<template< typename > class VolumeType, typename VoxelType >
Vector3DFloat computeSmoothCentralDifferenceGradient (typename VolumeType< VoxelType >::Sampler &volIter)
template<template< typename > class VolumeType, typename VoxelType >
Vector3DFloat computeDecimatedCentralDifferenceGradient (typename VolumeType< VoxelType >::Sampler &volIter)
template<template< typename > class VolumeType, typename VoxelType >
Vector3DFloat computeSobelGradient (const typename VolumeType< VoxelType >::Sampler &volIter)
template<template< typename > class VolumeType, typename VoxelType >
Vector3DFloat computeSmoothSobelGradient (typename VolumeType< VoxelType >::Sampler &volIter)
template<template< typename > class VolumeType, typename VoxelType >
Vector3DFloat computeDecimatedCentralDifferenceGradient (const typename VolumeType< VoxelType >::Sampler &volIter)
void extractCubicMesh (Volume &volume, const Region &region, Mesh &resultMesh)
void extractSmoothMesh (Volume &volume, const Region &region, Mesh &resultMesh)
template<typename VertexType >
polyvox_shared_ptr
< SurfaceMesh< VertexType > > 
extractSubset (SurfaceMesh< VertexType > &inputMesh, std::set< uint8_t > setMaterials)
template<uint32_t Size, typename Type >
Vector< Size, Type > operator+ (const Vector< Size, Type > &lhs, const Vector< Size, Type > &rhs) throw ()
 Addition operator.
template<uint32_t Size, typename Type >
Vector< Size, Type > operator- (const Vector< Size, Type > &lhs, const Vector< Size, Type > &rhs) throw ()
 Subtraction operator.
template<uint32_t Size, typename Type >
Vector< Size, Type > operator* (const Vector< Size, Type > &lhs, const Vector< Size, Type > &rhs) throw ()
 Multiplication operator.
template<uint32_t Size, typename Type >
Vector< Size, Type > operator/ (const Vector< Size, Type > &lhs, const Vector< Size, Type > &rhs) throw ()
 Division operator.
template<uint32_t Size, typename Type >
Vector< Size, Type > operator* (const Vector< Size, Type > &lhs, const Type &rhs) throw ()
 Multiplication operator.
template<uint32_t Size, typename Type >
Vector< Size, Type > operator/ (const Vector< Size, Type > &lhs, const Type &rhs) throw ()
 Division operator.
template<uint32_t Size, typename Type >
std::ostream & operator<< (std::ostream &os, const Vector< Size, Type > &vector) throw ()
 Stream insertion operator.
template<template< typename > class VolumeType>
float computeSmoothedVoxel (typename VolumeType< uint8_t >::Sampler &volIter)
bool operator== (const SurfaceEdge &lhs, const SurfaceEdge &rhs)
bool operator< (const SurfaceEdge &lhs, const SurfaceEdge &rhs)
template<template< typename > class VolumeType, typename VoxelType >
polyvox_shared_ptr< VolumeType
< VoxelType > > 
loadVolumeRaw (std::istream &stream, VolumeSerializationProgressListener *progressListener=0)
template<template< typename > class VolumeType, typename VoxelType >
void saveVolumeRaw (std::ostream &stream, VolumeType< VoxelType > &volume, VolumeSerializationProgressListener *progressListener=0)
template<template< typename > class VolumeType, typename VoxelType >
polyvox_shared_ptr< VolumeType
< VoxelType > > 
loadVolumeRle (std::istream &stream, VolumeSerializationProgressListener *progressListener=0)
template<template< typename > class VolumeType, typename VoxelType >
void saveVolumeRle (std::ostream &stream, VolumeType< VoxelType > &volume, VolumeSerializationProgressListener *progressListener=0)
template<template< typename > class VolumeType, typename VoxelType >
bool loadVolume (std::istream &stream, VolumeType< VoxelType > &volume, VolumeSerializationProgressListener *progressListener=0)
template<template< typename > class VolumeType, typename VoxelType >
bool saveVolume (std::ostream &stream, VolumeType< VoxelType > &volume, VolumeSerializationProgressListener *progressListener=0)
template<template< typename > class VolumeType, typename VoxelType >
bool loadVersion0 (std::istream &stream, VolumeType< VoxelType > &volume, VolumeSerializationProgressListener *progressListener=0)
template<template< typename > class VolumeType, typename VoxelType >
bool saveVersion0 (std::ostream &stream, VolumeType< VoxelType > &volume, VolumeSerializationProgressListener *progressListener=0)

Variables

const float sqrt_1 = 1.0f
const float sqrt_2 = 1.4143f
const float sqrt_3 = 1.7321f
const POLYVOX_API Vector3DInt32 arrayPathfinderFaces [6]
const POLYVOX_API Vector3DInt32 arrayPathfinderEdges [12]
const POLYVOX_API Vector3DInt32 arrayPathfinderCorners [8]
POLYVOX_API void(* logHandler )(std::string, int severity)

Detailed Description

Main namespace.


Typedef Documentation

typedef Array< 1, double > PolyVox::Array1DDouble

A 1D Array of doubles.

Definition at line 159 of file Array.h.

typedef Array< 1, float > PolyVox::Array1DFloat

A 1D Array of floats.

Definition at line 157 of file Array.h.

typedef Array< 1, int16_t > PolyVox::Array1DInt16

A 1D Array of signed 16-bit values.

Definition at line 165 of file Array.h.

typedef Array< 1, int32_t > PolyVox::Array1DInt32

A 1D Array of signed 32-bit values.

Definition at line 169 of file Array.h.

typedef Array< 1, int8_t > PolyVox::Array1DInt8

A 1D Array of signed 8-bit values.

Definition at line 161 of file Array.h.

typedef Array< 1, uint16_t > PolyVox::Array1DUint16

A 1D Array of unsigned 16-bit values.

Definition at line 167 of file Array.h.

typedef Array< 1, uint32_t > PolyVox::Array1DUint32

A 1D Array of unsigned 32-bit values.

Definition at line 171 of file Array.h.

typedef Array< 1, uint8_t > PolyVox::Array1DUint8

A 1D Array of unsigned 8-bit values.

Definition at line 163 of file Array.h.

typedef Array< 2, double > PolyVox::Array2DDouble

A 2D Array of doubles.

Definition at line 176 of file Array.h.

typedef Array< 2, float > PolyVox::Array2DFloat

A 2D Array of floats.

Definition at line 174 of file Array.h.

typedef Array< 2, int16_t > PolyVox::Array2DInt16

A 2D Array of signed 16-bit values.

Definition at line 182 of file Array.h.

typedef Array< 2, int32_t > PolyVox::Array2DInt32

A 2D Array of signed 32-bit values.

Definition at line 186 of file Array.h.

typedef Array< 2, int8_t > PolyVox::Array2DInt8

A 2D Array of signed 8-bit values.

Definition at line 178 of file Array.h.

typedef Array< 2, uint16_t > PolyVox::Array2DUint16

A 2D Array of unsigned 16-bit values.

Definition at line 184 of file Array.h.

typedef Array< 2, uint32_t > PolyVox::Array2DUint32

A 2D Array of unsigned 32-bit values.

Definition at line 188 of file Array.h.

typedef Array< 2, uint8_t > PolyVox::Array2DUint8

A 2D Array of unsigned 8-bit values.

Definition at line 180 of file Array.h.

typedef Array< 3, double > PolyVox::Array3DDouble

A 3D Array of doubles.

Definition at line 193 of file Array.h.

typedef Array< 3, float > PolyVox::Array3DFloat

A 3D Array of floats.

Definition at line 191 of file Array.h.

typedef Array< 3, int16_t > PolyVox::Array3DInt16

A 3D Array of signed 16-bit values.

Definition at line 199 of file Array.h.

typedef Array< 3, int32_t > PolyVox::Array3DInt32

A 3D Array of signed 32-bit values.

Definition at line 203 of file Array.h.

typedef Array< 3, int8_t > PolyVox::Array3DInt8

A 3D Array of signed 8-bit values.

Definition at line 195 of file Array.h.

typedef Array< 3, uint16_t > PolyVox::Array3DUint16

A 3D Array of unsigned 16-bit values.

Definition at line 201 of file Array.h.

typedef Array< 3, uint32_t > PolyVox::Array3DUint32

A 3D Array of unsigned 32-bit values.

Definition at line 205 of file Array.h.

typedef Array< 3, uint8_t > PolyVox::Array3DUint8

A 3D Array of unsigned 8-bit values.

Definition at line 197 of file Array.h.

typedef Density< uint8_t > PolyVox::Density8

Definition at line 77 of file Density.h.

typedef Material< uint16_t > PolyVox::Material16

Definition at line 90 of file Material.h.

typedef Material< uint32_t > PolyVox::Material32

Definition at line 91 of file Material.h.

typedef Material< uint8_t > PolyVox::Material8

Definition at line 89 of file Material.h.

Definition at line 77 of file MaterialDensityPair.h.

Definition at line 78 of file MaterialDensityPair.h.

Definition at line 37 of file SimpleInterface.h.

typedef std::set<SurfaceEdge>::const_iterator PolyVox::SurfaceEdgeConstIterator

Definition at line 39 of file SurfaceTypes.h.

typedef std::set<SurfaceEdge>::iterator PolyVox::SurfaceEdgeIterator

Definition at line 37 of file SurfaceTypes.h.

typedef std::set<SurfaceTriangle>::const_iterator PolyVox::SurfaceTriangleConstIterator

Definition at line 36 of file SurfaceTypes.h.

typedef std::set<SurfaceTriangle>::iterator PolyVox::SurfaceTriangleIterator

Definition at line 34 of file SurfaceTypes.h.

typedef std::set<SurfaceVertex>::const_iterator PolyVox::SurfaceVertexConstIterator

Definition at line 33 of file SurfaceTypes.h.

typedef std::set<SurfaceVertex>::iterator PolyVox::SurfaceVertexIterator

Definition at line 31 of file SurfaceTypes.h.

typedef Vector< 3, double > PolyVox::Vector3DDouble

A 3D Vector of doubles.

Definition at line 87 of file PolyVoxForwardDeclarations.h.

typedef Vector< 3, float > PolyVox::Vector3DFloat

A 3D Vector of floats.

Definition at line 85 of file PolyVoxForwardDeclarations.h.

typedef Vector< 3, int16_t > PolyVox::Vector3DInt16

A 3D Vector of signed 16-bit values.

Definition at line 90 of file PolyVoxForwardDeclarations.h.

typedef Vector< 3, int32_t > PolyVox::Vector3DInt32

A 3D Vector of signed 32-bit values.

Definition at line 92 of file PolyVoxForwardDeclarations.h.

typedef Vector< 3, int8_t > PolyVox::Vector3DInt8

A 3D Vector of signed 8-bit values.

Definition at line 88 of file PolyVoxForwardDeclarations.h.

typedef Vector< 3, uint16_t > PolyVox::Vector3DUint16

A 3D Vector of unsigned 16-bit values.

Definition at line 91 of file PolyVoxForwardDeclarations.h.

typedef Vector< 3, uint32_t > PolyVox::Vector3DUint32

A 3D Vector of unsigned 32-bit values.

Definition at line 93 of file PolyVoxForwardDeclarations.h.

typedef Vector< 3, uint8_t > PolyVox::Vector3DUint8

A 3D Vector of unsigned 8-bit values.

Definition at line 89 of file PolyVoxForwardDeclarations.h.

Definition at line 36 of file SimpleInterface.h.


Enumeration Type Documentation

Log levels for filtering logging events.

Enumerator:
LS_DEBUG 

Only displayed if it is a debug build.

LS_INFO 
LS_WARN 
LS_ERROR 

Definition at line 40 of file Log.h.

Enumerator:
SIMPLE 

Fastest.

CENTRAL_DIFFERENCE 
SOBEL 
CENTRAL_DIFFERENCE_SMOOTHED 
SOBEL_SMOOTHED 

Smoothest.

Definition at line 34 of file GradientEstimators.h.


Function Documentation

template<template< typename > class VolumeType, typename VoxelType >
bool PolyVox::aStarDefaultVoxelValidator ( const VolumeType< VoxelType > *  volData,
const Vector3DInt32 &  v3dPos 
)

This function provides the default method for checking whether a given voxel is vaid for the path computed by the AStarPathfinder.

Using this function, a voxel is considered valid for the path if it is inside the volume and if its density is below that returned by the voxel's getDensity() function.

Returns:
true is the voxel is valid for the path

Definition at line 32 of file AStarPathfinder.inl.

template<template< typename > class VolumeType, typename VoxelType >
Vector3DFloat PolyVox::computeCentralDifferenceGradient ( const typename VolumeType< VoxelType >::Sampler &  volIter  ) 

Definition at line 27 of file GradientEstimators.inl.

template<template< typename > class VolumeType, typename VoxelType >
Vector3DFloat PolyVox::computeDecimatedCentralDifferenceGradient ( typename VolumeType< VoxelType >::Sampler &  volIter  ) 
template<template< typename > class VolumeType, typename VoxelType >
Vector3DFloat PolyVox::computeDecimatedCentralDifferenceGradient ( const typename VolumeType< VoxelType >::Sampler &  volIter  ) 

Definition at line 48 of file GradientEstimators.inl.

template<template< typename > class VolumeType, typename VoxelType >
Vector3DFloat PolyVox::computeSmoothCentralDifferenceGradient ( typename VolumeType< VoxelType >::Sampler &  volIter  ) 

Definition at line 73 of file GradientEstimators.inl.

Here is the call graph for this function:

template<template< typename > class VolumeType>
float PolyVox::computeSmoothedVoxel ( typename VolumeType< uint8_t >::Sampler &  volIter  ) 
template<template< typename > class VolumeType, typename VoxelType >
Vector3DFloat PolyVox::computeSmoothSobelGradient ( typename VolumeType< VoxelType >::Sampler &  volIter  ) 

Definition at line 187 of file GradientEstimators.inl.

Here is the call graph for this function:

template<template< typename > class VolumeType, typename VoxelType >
Vector3DFloat PolyVox::computeSobelGradient ( const typename VolumeType< VoxelType >::Sampler &  volIter  ) 

Definition at line 104 of file GradientEstimators.inl.

void PolyVox::extractCubicMesh ( Volume &  volume,
const Region &  region,
Mesh &  resultMesh 
)

Definition at line 28 of file SimpleInterface.cpp.

Here is the call graph for this function:

void PolyVox::extractSmoothMesh ( Volume &  volume,
const Region &  region,
Mesh &  resultMesh 
)

Definition at line 34 of file SimpleInterface.cpp.

Here is the call graph for this function:

template<typename VertexType >
polyvox_shared_ptr< SurfaceMesh< VertexType > > PolyVox::extractSubset ( SurfaceMesh< VertexType > &  inputMesh,
std::set< uint8_t >  setMaterials 
)

Definition at line 394 of file SurfaceMesh.inl.

template<template< typename > class VolumeType, typename VoxelType >
bool PolyVox::loadVersion0 ( std::istream &  stream,
VolumeType< VoxelType > &  volume,
VolumeSerializationProgressListener *  progressListener = 0 
)

Definition at line 308 of file Serialization.inl.

Referenced by loadVolume().

Here is the call graph for this function:

template<template< typename > class VolumeType, typename VoxelType >
bool PolyVox::loadVolume ( std::istream &  stream,
VolumeType< VoxelType > &  volume,
VolumeSerializationProgressListener *  progressListener = 0 
)

Definition at line 269 of file Serialization.inl.

Here is the call graph for this function:

template<template< typename > class VolumeType, typename VoxelType >
polyvox_shared_ptr< VolumeType< VoxelType > > PolyVox::loadVolumeRaw ( std::istream &  stream,
VolumeSerializationProgressListener *  progressListener = 0 
)

Definition at line 29 of file Serialization.inl.

Here is the call graph for this function:

template<template< typename > class VolumeType, typename VoxelType >
polyvox_shared_ptr< VolumeType< VoxelType > > PolyVox::loadVolumeRle ( std::istream &  stream,
VolumeSerializationProgressListener *  progressListener = 0 
)

Definition at line 129 of file Serialization.inl.

Here is the call graph for this function:

template<uint32_t Size, typename Type >
Vector< Size, Type > PolyVox::operator* ( const Vector< Size, Type > &  lhs,
const Vector< Size, Type > &  rhs 
) throw ()

Multiplication operator.

Multiplication operator mulitplies corresponding elements of the two Vectors.

Parameters:
lhs Vector to multiply.
rhs Vector to multiply by.
Returns:
The resulting Vector.

Definition at line 310 of file Vector.inl.

template<uint32_t Size, typename Type >
Vector< Size, Type > PolyVox::operator* ( const Vector< Size, Type > &  lhs,
const Type &  rhs 
) throw ()

Multiplication operator.

Multiplication operator multiplies each element of the Vector by a number.

Parameters:
lhs the Vector to multiply.
rhs the number the Vector is multiplied by.
Returns:
The resulting Vector.

Definition at line 338 of file Vector.inl.

template<uint32_t Size, typename Type >
Vector< Size, Type > PolyVox::operator+ ( const Vector< Size, Type > &  lhs,
const Vector< Size, Type > &  rhs 
) throw ()

Addition operator.

Addition operator adds corresponding elements of the two Vectors.

Parameters:
lhs Vector to add to.
rhs Vector to add.
Returns:
The resulting Vector.

Definition at line 282 of file Vector.inl.

template<uint32_t Size, typename Type >
Vector< Size, Type > PolyVox::operator- ( const Vector< Size, Type > &  lhs,
const Vector< Size, Type > &  rhs 
) throw ()

Subtraction operator.

Subtraction operator subtracts corresponding elements of one Vector from the other.

Parameters:
lhs Vector to subtract from.
rhs Vector to subtract.
Returns:
The resulting Vector.

Definition at line 296 of file Vector.inl.

template<uint32_t Size, typename Type >
Vector< Size, Type > PolyVox::operator/ ( const Vector< Size, Type > &  lhs,
const Type &  rhs 
) throw ()

Division operator.

Division operator divides each element of the Vector by a number.

Parameters:
lhs the Vector to divide.
rhs the number the Vector is divided by.
Returns:
The resulting Vector.

Definition at line 352 of file Vector.inl.

template<uint32_t Size, typename Type >
Vector< Size, Type > PolyVox::operator/ ( const Vector< Size, Type > &  lhs,
const Vector< Size, Type > &  rhs 
) throw ()

Division operator.

Division operator divides corresponding elements of one Vector by the other.

Parameters:
lhs Vector to divide.
rhs Vector to divide by.
Returns:
The resulting Vector.

Definition at line 324 of file Vector.inl.

bool PolyVox::operator< ( const SurfaceEdge &  lhs,
const SurfaceEdge &  rhs 
)

Definition at line 61 of file SurfaceEdge.cpp.

template<uint32_t Size, typename Type >
std::ostream & PolyVox::operator<< ( std::ostream &  os,
const Vector< Size, Type > &  vector 
) throw ()

Stream insertion operator.

Enables the Vector to be used intuitively with output streams such as cout.

Parameters:
os The output stream to write to.
vector The Vector to write to the stream.
Returns:
A reference to the output stream to allow chaining.

Definition at line 366 of file Vector.inl.

Here is the call graph for this function:

bool PolyVox::operator== ( const SurfaceEdge &  lhs,
const SurfaceEdge &  rhs 
)

Definition at line 45 of file SurfaceEdge.cpp.

template<template< typename > class VolumeType, typename VoxelType >
bool PolyVox::saveVersion0 ( std::ostream &  stream,
VolumeType< VoxelType > &  volume,
VolumeSerializationProgressListener *  progressListener = 0 
)

Definition at line 368 of file Serialization.inl.

Referenced by saveVolume().

Here is the call graph for this function:

template<template< typename > class VolumeType, typename VoxelType >
bool PolyVox::saveVolume ( std::ostream &  stream,
VolumeType< VoxelType > &  volume,
VolumeSerializationProgressListener *  progressListener = 0 
)

Definition at line 294 of file Serialization.inl.

Here is the call graph for this function:

template<template< typename > class VolumeType, typename VoxelType >
void PolyVox::saveVolumeRaw ( std::ostream &  stream,
VolumeType< VoxelType > &  volume,
VolumeSerializationProgressListener *  progressListener = 0 
)

Definition at line 80 of file Serialization.inl.

Here is the call graph for this function:

template<template< typename > class VolumeType, typename VoxelType >
void PolyVox::saveVolumeRle ( std::ostream &  stream,
VolumeType< VoxelType > &  volume,
VolumeSerializationProgressListener *  progressListener = 0 
)

Definition at line 194 of file Serialization.inl.

Here is the call graph for this function:


Variable Documentation

Initial value:
    {
        Vector3DInt32(-1, -1, -1),
        Vector3DInt32(-1, -1, +1),
        Vector3DInt32(-1, +1, -1),
        Vector3DInt32(-1, +1, +1),
        Vector3DInt32(+1, -1, -1),
        Vector3DInt32(+1, -1, +1),
        Vector3DInt32(+1, +1, -1),
        Vector3DInt32(+1, +1, +1)
    }

Definition at line 56 of file AStarPathfinder.cpp.

Referenced by PolyVox::AStarPathfinder< VolumeType, VoxelType >::execute().

Initial value:
    {
        Vector3DInt32(0, -1, -1),
        Vector3DInt32(0, -1, +1),
        Vector3DInt32(0, +1, -1),
        Vector3DInt32(0, +1, +1),
        Vector3DInt32(-1, 0, -1),
        Vector3DInt32(-1, 0, +1),
        Vector3DInt32(+1, 0, -1),
        Vector3DInt32(+1, 0, +1),
        Vector3DInt32(-1, -1, 0),
        Vector3DInt32(-1, +1, 0),
        Vector3DInt32(+1, -1, 0),
        Vector3DInt32(+1, +1, 0)
    }

Definition at line 40 of file AStarPathfinder.cpp.

Referenced by PolyVox::AStarPathfinder< VolumeType, VoxelType >::execute().

Initial value:
    {
        Vector3DInt32(0, 0, -1),
        Vector3DInt32(0, 0, +1),
        Vector3DInt32(0, -1, 0),
        Vector3DInt32(0, +1, 0),
        Vector3DInt32(-1, 0, 0),
        Vector3DInt32(+1, 0, 0)
    }

Definition at line 30 of file AStarPathfinder.cpp.

Referenced by PolyVox::AStarPathfinder< VolumeType, VoxelType >::execute().

void(* PolyVox::logHandler)(std::string, int severity)=0

Definition at line 28 of file Log.cpp.

const float PolyVox::sqrt_1 = 1.0f
const float PolyVox::sqrt_2 = 1.4143f
const float PolyVox::sqrt_3 = 1.7321f