FAST  3.2.0
Framework for Heterogeneous Medical Image Computing and Visualization
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
fast::BoundingBoxSet Class Reference

#include <BoundingBox.hpp>

+ Inheritance diagram for fast::BoundingBoxSet:
+ Collaboration diagram for fast::BoundingBoxSet:

Public Member Functions

void create ()
 
int getNrOfLines ()
 
int getNrOfVertices ()
 
BoundingBoxSetAccess::pointer getAccess (accessType type)
 
BoundingBoxSetOpenGLAccess::pointer getOpenGLAccess (accessType type)
 
void freeAll () override
 
void free (ExecutionDevice::pointer device) override
 
 ~BoundingBoxSet ()
 
virtual DataBoundingBox getBoundingBox () const override
 
- Public Member Functions inherited from fast::SpatialDataObject
 SpatialDataObject ()
 
virtual DataBoundingBox getTransformedBoundingBox () const
 
SceneGraphNode::pointer getSceneGraphNode () const
 
- Public Member Functions inherited from fast::DataObject
 DataObject ()
 
void setMetadata (std::string name, std::string value)
 
void setMetadata (std::unordered_map< std::string, std::string > metadata)
 
std::string getMetadata (std::string name) const
 
std::unordered_map< std::string, std::string > getMetadata () const
 
void deleteMetadata (std::string name)
 
uint64_t getTimestamp () const
 
void updateModifiedTimestamp ()
 
virtual ~DataObject ()
 
virtual std::string getNameOfClass () const =0
 
uint64_t getCreationTimestamp () const
 
void setCreationTimestamp (uint64_t timestamp)
 
void setLastFrame (std::string streamer)
 
bool isLastFrame ()
 
bool isLastFrame (std::string streamer)
 
std::unordered_set< std::string > getLastFrame ()
 
void setFrameData (std::string name, std::string value)
 
std::string getFrameData (std::string name)
 
std::unordered_map< std::string, std::string > getFrameData ()
 
void accessFinished ()
 
- Public Member Functions inherited from fast::Object
 Object ()
 
virtual ~Object ()
 
ReportergetReporter ()
 

Protected Member Functions

 BoundingBoxSet ()
 
void setAllDataToOutOfDate ()
 
- Protected Member Functions inherited from fast::DataObject
void blockIfBeingWrittenTo ()
 
void blockIfBeingAccessed ()
 
- Protected Member Functions inherited from fast::Object
ReporterreportError ()
 
ReporterreportWarning ()
 
ReporterreportInfo ()
 
ReporterEnd reportEnd () const
 

Protected Attributes

bool mVBOHasData
 
bool mVBODataIsUpToDate
 
GLuint mCoordinateVBO = 0
 
GLuint mLineEBO = 0
 
GLuint m_labelVBO = 0
 
bool mHostHasData
 
bool mHostDataIsUpToDate
 
std::vector< float > mCoordinates
 
std::vector< uintmLines
 
std::vector< ucharm_labels
 
std::vector< float > m_scores
 
uint mNrOfVertices
 
uint mNrOfLines
 
bool mIsInitialized
 
- Protected Attributes inherited from fast::SpatialDataObject
DataBoundingBox mBoundingBox
 
- Protected Attributes inherited from fast::DataObject
std::mutex mDataIsBeingWrittenToMutex
 
std::condition_variable mDataIsBeingWrittenToCondition
 
bool mDataIsBeingWrittenTo
 
std::mutex mDataIsBeingAccessedMutex
 
std::condition_variable mDataIsBeingAccessedCondition
 
bool mDataIsBeingAccessed
 
- Protected Attributes inherited from fast::Object
std::weak_ptr< ObjectmPtr
 

Additional Inherited Members

- Public Types inherited from fast::SpatialDataObject
typedef std::shared_ptr< SpatialDataObjectpointer
 
- Public Types inherited from fast::DataObject
typedef std::shared_ptr< DataObjectpointer
 
- Public Types inherited from fast::Object
typedef std::shared_ptr< Objectpointer
 
- Static Public Member Functions inherited from fast::SpatialDataObject
static std::string getStaticNameOfClass ()
 
- Static Public Member Functions inherited from fast::DataObject
static std::string getStaticNameOfClass ()
 
- Static Public Member Functions inherited from fast::Object
static std::string getStaticNameOfClass ()
 

Constructor & Destructor Documentation

◆ ~BoundingBoxSet()

fast::BoundingBoxSet::~BoundingBoxSet ( )

◆ BoundingBoxSet()

fast::BoundingBoxSet::BoundingBoxSet ( )
protected

Member Function Documentation

◆ create()

void fast::BoundingBoxSet::create ( )

◆ free()

void fast::BoundingBoxSet::free ( ExecutionDevice::pointer  device)
overridevirtual

Implements fast::DataObject.

◆ freeAll()

void fast::BoundingBoxSet::freeAll ( )
overridevirtual

Implements fast::DataObject.

◆ getAccess()

BoundingBoxSetAccess::pointer fast::BoundingBoxSet::getAccess ( accessType  type)

◆ getBoundingBox()

virtual DataBoundingBox fast::BoundingBoxSet::getBoundingBox ( ) const
overridevirtual

Reimplemented from fast::SpatialDataObject.

◆ getNrOfLines()

int fast::BoundingBoxSet::getNrOfLines ( )

◆ getNrOfVertices()

int fast::BoundingBoxSet::getNrOfVertices ( )

◆ getOpenGLAccess()

BoundingBoxSetOpenGLAccess::pointer fast::BoundingBoxSet::getOpenGLAccess ( accessType  type)

◆ setAllDataToOutOfDate()

void fast::BoundingBoxSet::setAllDataToOutOfDate ( )
protected

Member Data Documentation

◆ m_labels

std::vector<uchar> fast::BoundingBoxSet::m_labels
protected

◆ m_labelVBO

GLuint fast::BoundingBoxSet::m_labelVBO = 0
protected

◆ m_scores

std::vector<float> fast::BoundingBoxSet::m_scores
protected

◆ mCoordinates

std::vector<float> fast::BoundingBoxSet::mCoordinates
protected

◆ mCoordinateVBO

GLuint fast::BoundingBoxSet::mCoordinateVBO = 0
protected

◆ mHostDataIsUpToDate

bool fast::BoundingBoxSet::mHostDataIsUpToDate
protected

◆ mHostHasData

bool fast::BoundingBoxSet::mHostHasData
protected

◆ mIsInitialized

bool fast::BoundingBoxSet::mIsInitialized
protected

◆ mLineEBO

GLuint fast::BoundingBoxSet::mLineEBO = 0
protected

◆ mLines

std::vector<uint> fast::BoundingBoxSet::mLines
protected

◆ mNrOfLines

uint fast::BoundingBoxSet::mNrOfLines
protected

◆ mNrOfVertices

uint fast::BoundingBoxSet::mNrOfVertices
protected

◆ mVBODataIsUpToDate

bool fast::BoundingBoxSet::mVBODataIsUpToDate
protected

◆ mVBOHasData

bool fast::BoundingBoxSet::mVBOHasData
protected

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