ManiVault 1.0.0
A Flexible and Extensible Visual Analytics Framework for High-Dimensional Data
Loading...
Searching...
No Matches
hdps::Bounds Class Reference

#include <Bounds.h>

Public Member Functions

 Bounds ()
 
 Bounds (float left, float right, float bottom, float top)
 
void setBounds (float left, float right, float bottom, float top)
 
void ensureMinimumSize (float width, float height)
 
void moveToOrigin ()
 
void makeSquare ()
 
void expand (float fraction)
 
float getWidth () const
 
float getHeight () const
 
Vector2f getCenter () const
 
float getLeft () const
 
float getRight () const
 
float getBottom () const
 
float getTop () const
 
void setLeft (float left)
 
void setRight (float right)
 
void setBottom (float bottom)
 
void setTop (float top)
 

Static Public Attributes

static const Bounds Max
 

Constructor & Destructor Documentation

◆ Bounds() [1/2]

hdps::Bounds::Bounds ( )

◆ Bounds() [2/2]

hdps::Bounds::Bounds ( float  left,
float  right,
float  bottom,
float  top 
)

Member Function Documentation

◆ ensureMinimumSize()

void hdps::Bounds::ensureMinimumSize ( float  width,
float  height 
)

◆ expand()

void hdps::Bounds::expand ( float  fraction)

◆ getBottom()

float hdps::Bounds::getBottom ( ) const
inline

◆ getCenter()

Vector2f hdps::Bounds::getCenter ( ) const
inline

◆ getHeight()

float hdps::Bounds::getHeight ( ) const
inline

◆ getLeft()

float hdps::Bounds::getLeft ( ) const
inline

◆ getRight()

float hdps::Bounds::getRight ( ) const
inline

◆ getTop()

float hdps::Bounds::getTop ( ) const
inline

◆ getWidth()

float hdps::Bounds::getWidth ( ) const
inline

◆ makeSquare()

void hdps::Bounds::makeSquare ( )

◆ moveToOrigin()

void hdps::Bounds::moveToOrigin ( )

◆ setBottom()

void hdps::Bounds::setBottom ( float  bottom)
inline

◆ setBounds()

void hdps::Bounds::setBounds ( float  left,
float  right,
float  bottom,
float  top 
)

◆ setLeft()

void hdps::Bounds::setLeft ( float  left)
inline

◆ setRight()

void hdps::Bounds::setRight ( float  right)
inline

◆ setTop()

void hdps::Bounds::setTop ( float  top)
inline

Member Data Documentation

◆ Max

const Bounds hdps::Bounds::Max
static
Initial value:
= Bounds (
std::numeric_limits<float>::infinity(),
-std::numeric_limits<float>::infinity(),
std::numeric_limits<float>::infinity(),
-std::numeric_limits<float>::infinity()
)
Bounds()
Definition Bounds.cpp:18

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