GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
VoxelToPTS Class Reference
Inheritance diagram for VoxelToPTS:
Collaboration diagram for VoxelToPTS:

Public Member Functions

 VoxelToPTS (Voxel< int > *vx, int count, float start_x, float end_x, float start_y, float end_y, float start_z, float end_z)
void Collect (CollectVisitor &vis)
void HeavyPrepare ()
void Prepare ()
PointsApiPoints * get (int val)
Public Member Functions inherited from CollectInterface
virtual ~CollectInterface ()
virtual int NumBlocks () const
virtual void FirstFrame ()

Public Attributes

std::vector< std::vector< Point > > pts
std::vector< std::vector< Vector > > normal
std::vector< std::vector< unsigned int > > color
Voxel< int > * vx
bool prepared =false
int count
float start_x
float end_x
float start_y
float end_y
float start_z
float end_z

Constructor & Destructor Documentation

◆ VoxelToPTS()

VoxelToPTS::VoxelToPTS ( Voxel< int > * vx,
int count,
float start_x,
float end_x,
float start_y,
float end_y,
float start_z,
float end_z )
inline

Member Function Documentation

◆ Collect()

void VoxelToPTS::Collect ( CollectVisitor & vis)
inlinevirtual

Implements CollectInterface.

◆ get()

PointsApiPoints * VoxelToPTS::get ( int val)
Here is the caller graph for this function:

◆ HeavyPrepare()

void VoxelToPTS::HeavyPrepare ( )
inlinevirtual

Implements CollectInterface.

◆ Prepare()

void VoxelToPTS::Prepare ( )
inline

Member Data Documentation

◆ color

std::vector<std::vector<unsigned int> > VoxelToPTS::color

◆ count

int VoxelToPTS::count

◆ end_x

float VoxelToPTS::end_x

◆ end_y

float VoxelToPTS::end_y

◆ end_z

float VoxelToPTS::end_z

◆ normal

std::vector<std::vector<Vector> > VoxelToPTS::normal

◆ prepared

bool VoxelToPTS::prepared =false

◆ pts

std::vector<std::vector<Point> > VoxelToPTS::pts

◆ start_x

float VoxelToPTS::start_x

◆ start_y

float VoxelToPTS::start_y

◆ start_z

float VoxelToPTS::start_z

◆ vx

Voxel<int>* VoxelToPTS::vx

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