39 #ifndef __usVolumeGrabbedInfo_h_
40 #define __usVolumeGrabbedInfo_h_
42 #include <visp3/ustk_core/usConfig.h>
44 #if defined(USTK_HAVE_QT5) || defined(USTK_HAVE_VTK_QT)
46 #include <visp3/ustk_grabber/usNetworkGrabber.h>
48 #include <QtCore/QTypeInfo>
63 void addTimeStamp(quint64 timestamp,
unsigned int position);
71 quint32 m_volumeCount;
72 std::vector<uint64_t> m_timestamps;
97 m_volumeCount = volumeCount;
107 if (position == m_timestamps.size())
108 m_timestamps.push_back(timestamp);
109 else if (position > m_timestamps.size()) {
110 m_timestamps.resize(position + 1);
111 m_timestamps.at(position) = timestamp;
113 m_timestamps.at(position) = timestamp;
133 out <<
"volumeCount : " << other.
getVolumeCount() << std::endl << (Type)other << std::endl;
Class to store additionnal informations arriving on the network with ultrasound volumes grabbed,...
std::vector< uint64_t > getTimeStamps() const
void setVolumeCount(quint32 volumeCount)
void addTimeStamp(quint64 timestamp, unsigned int position)
quint32 getVolumeCount() const