Public Slots | Public Member Functions | Private Member Functions | Private Attributes | List of all members
CameraWidget Class Reference

#include <camerawidget.h>

Inheritance diagram for CameraWidget:
Inheritance graph
[legend]

Public Slots

void imageReceived (const sensor_msgs::Image::ConstPtr &msg)
 

Public Member Functions

 CameraWidget (QWidget *parent=0, CameraThread *camera=0)
 

Private Member Functions

void paintEvent (QPaintEvent *pe)
 
void resizeEvent (QResizeEvent *event)
 

Private Attributes

CameraThreadcamera
 
int dd
 
int ee
 
QImage * image
 
bool imageInit
 
QPainter * painter
 
bool painterInit
 

Detailed Description

Copyright (c) 2016, Aumann Florian, Heller Florian, Meißner Pascal All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition at line 32 of file camerawidget.h.

Constructor & Destructor Documentation

CameraWidget::CameraWidget ( QWidget *  parent = 0,
CameraThread camera = 0 
)
explicit

Copyright (c) 2016, Aumann Florian, Heller Florian, Meißner Pascal All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition at line 20 of file camerawidget.cpp.

Member Function Documentation

void CameraWidget::imageReceived ( const sensor_msgs::Image::ConstPtr &  msg)
slot

Definition at line 33 of file camerawidget.cpp.

void CameraWidget::paintEvent ( QPaintEvent *  pe)
private

Definition at line 49 of file camerawidget.cpp.

void CameraWidget::resizeEvent ( QResizeEvent *  event)
private

Definition at line 61 of file camerawidget.cpp.

Member Data Documentation

CameraThread* CameraWidget::camera
private

Definition at line 38 of file camerawidget.h.

int CameraWidget::dd
private

Definition at line 45 of file camerawidget.h.

int CameraWidget::ee
private

Definition at line 46 of file camerawidget.h.

QImage* CameraWidget::image
private

Definition at line 39 of file camerawidget.h.

bool CameraWidget::imageInit
private

Definition at line 42 of file camerawidget.h.

QPainter* CameraWidget::painter
private

Definition at line 40 of file camerawidget.h.

bool CameraWidget::painterInit
private

Definition at line 41 of file camerawidget.h.


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


asr_mild_calibration_tool
Author(s): Aumann Florian, Heller Florian, Meißner Pascal
autogenerated on Mon Dec 2 2019 03:11:43