Changeset 138 in pacpussensors


Ignore:
Timestamp:
Feb 3, 2017, 4:14:32 PM (8 years ago)
Author:
ldecherf
Message:

Gestion des output

Location:
trunk/Vislab
Files:
3 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Vislab/CMakeLists.txt

    r135 r138  
    2626    ${PACPUS_INCLUDE_DIR}
    2727    ${PACPUS_INCLUDE_DIR}/Pacpus/
    28         "C:/Program Files (x86)/lib3dv/include/lib3dv"
     28
    2929)
     30#"C:/Program Files (x86)/lib3dv/include/lib3dv"
    3031
    3132# ========================================
     
    4546    Display.h
    4647    VislabImageProcessor.h
    47         Outputter.h
     48    Outputter.h
    4849)
    4950set(PROJECT_SRCS
     
    5455    Display.cpp
    5556    VislabImageProcessor.cpp
    56         Outputter.cpp
     57    Outputter.cpp
    5758)
    5859
     
    107108                      ${QT_LIBRARIES}
    108109                      ${OpenCV_LIBS}
    109                       "C:/Program Files (x86)/lib3dv/lib/3dv.lib"
     110
    110111                     )
     112#"C:/Program Files (x86)/lib3dv/lib/3dv.lib"
    111113################################################################################
    112114# FOLDERS
  • trunk/Vislab/DiskWriter.cpp

    r131 r138  
     1
    12#include "DiskWriter.h"
    23#include <iostream>
  • trunk/Vislab/Outputter.h

    r137 r138  
    66#include <Pacpus/kernel/ComponentBase.h>
    77#include <string.h>
    8 #include "VislabComponent.hpp"
     8//#include "VislabComponent.hpp"
    99#include <Pacpus/kernel/InputOutputInterface.h>
    1010#include "VislabImageProcessor.h"
     
    2424#include <opencv/highgui.h>
    2525
     26namespace pacpus {
     27class VislabComponent;
     28}
    2629
    2730class Outputter : public VislabImageProcessor
     
    3134        /// Ctor of CVWebcamComponent.
    3235        Outputter(lib3dv::image::type::types imageType);
    33         void setOutput(pacpus::OutputInterface<cv::Mat, pacpus::VislabComponent>* output);
     36    void setOutput(pacpus::OutputInterface<cv::Mat, pacpus::VislabComponent>* output);
    3437       
    3538        void process(cv::Mat const& frame);
  • trunk/Vislab/VislabCamera.hpp

    r134 r138  
    1111
    1212// Includes, lib3dv.
    13 #include <lib3dv-1.2.0/lib3dv/device.h>
    14 #include <lib3dv-1.2.0/lib3dv/error.h>
     13#include <lib3dv/device.h>
     14#include <lib3dv/error.h>
    1515#include "DiskWriter.h"
    1616#include "Display.h"
    1717#include "VislabImageProcessor.h"
    1818#include "Outputter.h"
    19 #include "VislabComponent.hpp"
    2019
    2120#include <boost/asio/io_service.hpp>
     
    2726namespace pacpus
    2827{
     28class VislabComponent;
     29
    2930  class VislabCamera
    3031    //: public pacpus::AsyncWorkerBase
  • trunk/Vislab/VislabComponent.cpp

    r134 r138  
    9292void VislabComponent::addOutputs()
    9393{
    94     // Transformer en QImage
    95     addOutput<cv::Mat, VislabComponent>("Image");
     94    addOutput<cv::Mat, VislabComponent>("image");
    9695        addOutput<cv::Mat, VislabComponent>("disparity");
    9796}
  • trunk/Vislab/VislabComponent.hpp

    r134 r138  
    1212#include <Pacpus/kernel/DbiteFile.h>
    1313#include <Pacpus/kernel/pacpus.h>
    14 #include <20150310_lib3dv-1.2.0/src/display.h>
    1514
    16 #include <lib3dv-1.2.0/lib3dv/device.h>
     15#include <lib3dv/device.h>
    1716
    1817#ifdef WIN32
Note: See TracChangeset for help on using the changeset viewer.