This matrix crops a data matrix. A tagged stream combined with vectors as items represent a matrix. crop_x and crop_y gives the ranges which shall be pushed through. Rest of the matrix is lost. More...
#include <crop_matrix_vcvc.h>
Public Types | |
typedef boost::shared_ptr < crop_matrix_vcvc > | sptr |
Static Public Member Functions | |
static sptr | make (int vlen, std::vector< int > crop_x, std::vector< int > crop_y, std::string len_key="packet_len") |
Return a shared_ptr to a new instance of radar::crop_matrix_vcvc. More... | |
This matrix crops a data matrix. A tagged stream combined with vectors as items represent a matrix. crop_x and crop_y gives the ranges which shall be pushed through. Rest of the matrix is lost.
vlen | Vector length |
crop_x | Index range on x axis to crop matrix |
crop_y | Index range on y axis to crop matrix |
len_key | Packet length key for tagged stream |
typedef boost::shared_ptr<crop_matrix_vcvc> gr::radar::crop_matrix_vcvc::sptr |
|
static |
Return a shared_ptr to a new instance of radar::crop_matrix_vcvc.
To avoid accidental use of raw pointers, radar::crop_matrix_vcvc's constructor is in a private implementation class. radar::crop_matrix_vcvc::make is the public interface for creating new instances.