ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
colmap::ImageColormapBase Class Referenceabstract

#include <colormaps.h>

Inheritance diagram for colmap::ImageColormapBase:

Public Member Functions

 ImageColormapBase ()
 
virtual ~ImageColormapBase ()=default
 
virtual void Prepare (std::unordered_map< camera_t, Camera > &cameras, std::unordered_map< image_t, Image > &images, std::unordered_map< point3D_t, Point3D > &points3D, std::vector< image_t > &reg_image_ids)=0
 
virtual void ComputeColor (const Image &image, Eigen::Vector4f *plane_color, Eigen::Vector4f *frame_color)=0
 

Static Public Attributes

static const Eigen::Vector4f kDefaultPlaneColor
 
static const Eigen::Vector4f kDefaultFrameColor
 

Detailed Description

Definition at line 95 of file colormaps.h.

Constructor & Destructor Documentation

◆ ImageColormapBase()

colmap::ImageColormapBase::ImageColormapBase ( )

Definition at line 211 of file colormaps.cc.

◆ ~ImageColormapBase()

virtual colmap::ImageColormapBase::~ImageColormapBase ( )
virtualdefault

Member Function Documentation

◆ ComputeColor()

virtual void colmap::ImageColormapBase::ComputeColor ( const Image image,
Eigen::Vector4f *  plane_color,
Eigen::Vector4f *  frame_color 
)
pure virtual

◆ Prepare()

virtual void colmap::ImageColormapBase::Prepare ( std::unordered_map< camera_t, Camera > &  cameras,
std::unordered_map< image_t, Image > &  images,
std::unordered_map< point3D_t, Point3D > &  points3D,
std::vector< image_t > &  reg_image_ids 
)
pure virtual

Member Data Documentation

◆ kDefaultFrameColor

const Eigen::Vector4f colmap::ImageColormapBase::kDefaultFrameColor
static
Initial value:
= {0.8f, 0.1f, 0.0f,
1.0f}

Definition at line 110 of file colormaps.h.

Referenced by colmap::ImageColormapNameFilter::ComputeColor().

◆ kDefaultPlaneColor

const Eigen::Vector4f colmap::ImageColormapBase::kDefaultPlaneColor
static
Initial value:
= {1.0f, 0.1f, 0.0f,
0.6f}

Definition at line 109 of file colormaps.h.

Referenced by colmap::ImageColormapNameFilter::ComputeColor().


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