FAST
3.2.0
Framework for Heterogeneous Medical Image Computing and Visualization
Data
DataBoundingBox.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
FAST/AffineTransformation.hpp
"
4
#include "
FAST/Data/DataTypes.hpp
"
5
6
namespace
fast
{
7
13
class
FAST_EXPORT
DataBoundingBox
{
14
public
:
15
DataBoundingBox
(Vector3f pos, Vector3f size);
16
DataBoundingBox
(Vector3f size);
17
// Create a bounding box from a set of coordinates
18
DataBoundingBox
(std::vector<Vector3f> coordinates);
19
DataBoundingBox
(MatrixXf corners);
20
DataBoundingBox
();
21
MatrixXf getCorners()
const
;
22
DataBoundingBox
getTransformedBoundingBox(
AffineTransformation::pointer
transform)
const
;
23
bool
isInitialized()
const
;
24
private
:
25
void
initialize(std::vector<Vector3f>);
26
void
createCorners(Vector3f pos, Vector3f size);
27
MatrixXf mCorners;
28
bool
mIsInitialized;
29
30
};
31
32
33
std::ostream &
operator<<
(std::ostream &os,
DataBoundingBox
&
object
);
34
35
}
// end namespace fast
36
AffineTransformation.hpp
fast
Definition:
AffineTransformation.hpp:7
fast::operator<<
std::ostream & operator<<(std::ostream &os, DataBoundingBox &object)
DataTypes.hpp
fast::DataObject::pointer
std::shared_ptr< DataObject > pointer
Definition:
DataObject.hpp:16
fast::DataBoundingBox
Definition:
DataBoundingBox.hpp:13
Generated by
1.8.17