Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Public Member Functions | Private Attributes | List of all members
Voxel Struct Reference

#include <GridAccelerator.h>

Collaboration diagram for Voxel:
Collaboration graph
[legend]

Public Member Functions

size_t size () const
 Get size. More...
 
 Voxel ()
 Default constructor. More...
 
 Voxel (Shape *op)
 Constructor. More...
 
void AddPrimitive (Shape *prim)
 
bool Intersect (Ray *ray, std::list< Intersection > &result, decimal &intermin, leafTreatment::treatment choice)
 

Private Attributes

std::vector< Shape * > primitives
 Vector containing the primitives. More...
 
bool allCanIntersect
 Flag not used. More...
 

Detailed Description

Definition at line 29 of file GridAccelerator.h.

Constructor & Destructor Documentation

◆ Voxel() [1/2]

Voxel::Voxel ( )
inline

Default constructor.

Definition at line 37 of file GridAccelerator.h.

◆ Voxel() [2/2]

Voxel::Voxel ( Shape op)
inline

Constructor.

Definition at line 42 of file GridAccelerator.h.

Member Function Documentation

◆ AddPrimitive()

void Voxel::AddPrimitive ( Shape prim)
inline

Definition at line 47 of file GridAccelerator.h.

Here is the caller graph for this function:

◆ Intersect()

bool Voxel::Intersect ( Ray ray,
std::list< Intersection > &  result,
decimal &  intermin,
leafTreatment::treatment  choice 
)

Definition at line 165 of file GridAccelerator.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ size()

size_t Voxel::size ( ) const
inline

Get size.

Definition at line 32 of file GridAccelerator.h.

Member Data Documentation

◆ allCanIntersect

bool Voxel::allCanIntersect
private

Flag not used.

Definition at line 56 of file GridAccelerator.h.

◆ primitives

std::vector<Shape*> Voxel::primitives
private

Vector containing the primitives.

Definition at line 55 of file GridAccelerator.h.


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