Panda3D
Public Member Functions | Public Attributes | List of all members
PNMImageHeader::PixelSpecCount Class Reference

Public Member Functions

 PixelSpecCount (const PixelSpec &pixel, int count)
 
bool operator< (const PixelSpecCount &other) const
 Used to sort the pixels in order from most common to least common. More...
 

Public Attributes

int _count
 
PixelSpec _pixel
 

Detailed Description

Definition at line 148 of file pnmImageHeader.h.

Member Function Documentation

◆ operator<()

bool PNMImageHeader::PixelSpecCount::operator< ( const PixelSpecCount other) const
inline

Used to sort the pixels in order from most common to least common.

Definition at line 561 of file pnmImageHeader.I.

References PNMImageHeader::Histogram::get_num_pixels().

Referenced by PNMImageHeader::PixelSpec::size().


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