public

Inheritance Graph

graph BT
	Region
	Region --> ReferenceCounter
	Region --> AttributeProvider
	click Region "classMinSG_1_1MAR_1_1Region"
	click ReferenceCounter "classUtil_1_1ReferenceCounter"
	click AttributeProvider "classUtil_1_1AttributeProvider"

Description

Classes

   
class MinSG::MAR::Region::SortB2F

Public Functions

   
   
  Region( Geometry::Box _bounds, Region * _parent)
   
size_t treeSize() const
   
Region * getRoot()
   
const Geometry::Box & getBounds() const
   
const Util::Color4ub & getColor() const
   
const std::vector< ref_t > & getChildren() const
   
void display( FrameContext & frameContext, float alpha) const
   
void split(const uint32_t x, const uint32_t y, const uint32_t z)
   
void splitCubeLike()
   
void split(uint32_t axis, float ratio)
   
std::string toString() const
   
void setColor(const Util::Color4ub & _color)
   
Region * getParent() const
   
bool hasChildren() const
   
uint32_t getDepth() const

Public Static Functions

   
   
const Geometry::Box & getBounds2(const Region * region)
   
const Util::Color4f getColor2(const Region * region)

Documentation

function
MinSG::MAR::Region::Region

public inline
     
     
Region( Geometry::Box _bounds,
  Region * _parent
)    

Defined in MinSG/Ext/MultiAlgoRendering/Region.h:50


function
MinSG::MAR::Region::treeSize

public const inline
   
   
size_t treeSize( ) const

Defined in MinSG/Ext/MultiAlgoRendering/Region.h:56


function
MinSG::MAR::Region::getRoot

public inline
   
   
Region * getRoot( )

Defined in MinSG/Ext/MultiAlgoRendering/Region.h:63


function
MinSG::MAR::Region::getBounds

public const inline
   
   
const Geometry::Box & getBounds( ) const

Defined in MinSG/Ext/MultiAlgoRendering/Region.h:69


function
MinSG::MAR::Region::getColor

public const inline
   
   
const Util::Color4ub & getColor( ) const

Defined in MinSG/Ext/MultiAlgoRendering/Region.h:73


function
MinSG::MAR::Region::getChildren

public const inline
   
   
const std::vector< ref_t > & getChildren( ) const

Defined in MinSG/Ext/MultiAlgoRendering/Region.h:85


function
MinSG::MAR::Region::display

public const inline
     
     
void display( FrameContext & frameContext,
  float alpha
) const    

displays the boundingboxes of all leaves in back to front order

Defined in MinSG/Ext/MultiAlgoRendering/Region.h:100


function
MinSG::MAR::Region::split

public inline
     
     
void split( const uint32_t x,
  const uint32_t y,
  const uint32_t z
)    

Defined in MinSG/Ext/MultiAlgoRendering/Region.h:107


function
MinSG::MAR::Region::splitCubeLike

public inline
   
   
void splitCubeLike( )

Defined in MinSG/Ext/MultiAlgoRendering/Region.h:119


function
MinSG::MAR::Region::split

public inline
     
     
void split( uint32_t axis,
  float ratio
)    

Defined in MinSG/Ext/MultiAlgoRendering/Region.h:131


function
MinSG::MAR::Region::toString

public const inline
   
   
std::string toString( ) const

Defined in MinSG/Ext/MultiAlgoRendering/Region.h:165


function
MinSG::MAR::Region::setColor

public inline
     
     
void setColor( const Util::Color4ub & _color )

Defined in MinSG/Ext/MultiAlgoRendering/Region.h:171


function
MinSG::MAR::Region::getParent

public const inline
   
   
Region * getParent( ) const

Defined in MinSG/Ext/MultiAlgoRendering/Region.h:175


function
MinSG::MAR::Region::hasChildren

public const inline
   
   
bool hasChildren( ) const

Defined in MinSG/Ext/MultiAlgoRendering/Region.h:179


function
MinSG::MAR::Region::getDepth

public const inline
   
   
uint32_t getDepth( ) const

Defined in MinSG/Ext/MultiAlgoRendering/Region.h:181


function
MinSG::MAR::Region::getBounds2

public static inline
     
     
const Geometry::Box & getBounds2( const Region * region )

Defined in MinSG/Ext/MultiAlgoRendering/Region.h:77


function
MinSG::MAR::Region::getColor2

public static inline
     
     
const Util::Color4f getColor2( const Region * region )

Defined in MinSG/Ext/MultiAlgoRendering/Region.h:81