3D Repo Bouncer  1.4
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
repo::manipulator::modelutility::AbstractSpatialPartitioner Class Referenceabstract
Inheritance diagram for repo::manipulator::modelutility::AbstractSpatialPartitioner:
repo::manipulator::modelutility::RDTreeSpatialPartitioner

Public Member Functions

 AbstractSpatialPartitioner (const repo::core::model::RepoScene *scene, const uint32_t &maxDepth)
 
virtual std::shared_ptr< repo_partitioning_tree_tpartitionScene ()=0
 
virtual repo::lib::PropertyTree generatePropertyTreeForPartitioning ()
 

Protected Member Functions

repo::lib::PropertyTree generatePropertyTreeForPartitioningInternal (const std::shared_ptr< repo_partitioning_tree_t > &spTree) const
 

Protected Attributes

const repo::core::model::RepoScenescene
 
const uint32_t maxDepth
 
const repo::core::model::RepoScene::GraphType gType
 

Constructor & Destructor Documentation

AbstractSpatialPartitioner::AbstractSpatialPartitioner ( const repo::core::model::RepoScene scene,
const uint32_t &  maxDepth 
)

Abstract Spatial Partitioning utility class to spatially divide a scene graph base on its meshes Note: currently only support scene with optimised graph!

Parameters
scenescene to divide
depthlimiting depth of the tree

Member Function Documentation

repo::lib::PropertyTree AbstractSpatialPartitioner::generatePropertyTreeForPartitioning ( )
virtual

Generate a property tree representing the repo_partitioning_tree_t from partitionScene()

Returns
returns the spatial partitioning information as a property tree
virtual std::shared_ptr<repo_partitioning_tree_t> repo::manipulator::modelutility::AbstractSpatialPartitioner::partitionScene ( )
pure virtual

Partition the scene

Returns
returns the spatial partitioning information as a tree

Implemented in repo::manipulator::modelutility::RDTreeSpatialPartitioner.


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