Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
ON_WindowsBitmap Class Reference

#include <opennurbs_bitmap.h>

Inheritance diagram for ON_WindowsBitmap:
Inheritance graph
[legend]

List of all members.

Public Member Functions

unsigned char * Bits (int)
const unsigned char * Bits (int) const
int BitsPerPixel () const
bool Create (int, int, int)
void Destroy ()
void EmergencyDestroy ()
int Height () const
bool IsContiguous () const
ON_BOOL32 IsValid (ON_TextLog *text_log=NULL) const
 ON_WindowsBitmap ()
 ON_WindowsBitmap (const ON_WindowsBitmap &)
ON_WindowsBitmapoperator= (const ON_WindowsBitmap &)
int PaletteColorCount () const
ON_Color Pixel (int, int) const
ON_Color Pixel (int, const unsigned char *) const
ON_BOOL32 Read (ON_BinaryArchive &)
bool ReadCompressed (ON_BinaryArchive &)
bool ReadUncompressed (ON_BinaryArchive &)
int SizeofImage () const
int SizeofPalette () const
int SizeofScan () const
int Width () const
ON_BOOL32 Write (ON_BinaryArchive &) const
bool WriteCompressed (ON_BinaryArchive &) const
bool WriteUncompressed (ON_BinaryArchive &) const
 ~ON_WindowsBitmap ()

Public Attributes

unsigned char * m_bits
struct ON_WindowsBITMAPINFOm_bmi

Private Member Functions

 ON_OBJECT_DECLARE (ON_WindowsBitmap)

Private Attributes

int m_bFreeBMI

Detailed Description

Definition at line 341 of file opennurbs_bitmap.h.


Constructor & Destructor Documentation

Definition at line 118 of file opennurbs_bitmap.cpp.

Definition at line 123 of file opennurbs_bitmap.cpp.

Definition at line 288 of file opennurbs_bitmap.cpp.


Member Function Documentation

unsigned char * ON_WindowsBitmap::Bits ( int  scan_index) [virtual]

Implements ON_Bitmap.

Definition at line 380 of file opennurbs_bitmap.cpp.

const unsigned char * ON_WindowsBitmap::Bits ( int  scan_index) const [virtual]

Implements ON_Bitmap.

Definition at line 396 of file opennurbs_bitmap.cpp.

int ON_WindowsBitmap::BitsPerPixel ( ) const [virtual]

Implements ON_Bitmap.

Definition at line 368 of file opennurbs_bitmap.cpp.

bool ON_WindowsBitmap::Create ( int  width,
int  height,
int  bits_per_pixel 
)

Definition at line 207 of file opennurbs_bitmap.cpp.

Reimplemented from ON_Bitmap.

Definition at line 139 of file opennurbs_bitmap.cpp.

Reimplemented from ON_Bitmap.

Definition at line 130 of file opennurbs_bitmap.cpp.

int ON_WindowsBitmap::Height ( ) const [virtual]

Implements ON_Bitmap.

Definition at line 336 of file opennurbs_bitmap.cpp.

Definition at line 944 of file opennurbs_bitmap.cpp.

ON_BOOL32 ON_WindowsBitmap::IsValid ( ON_TextLog text_log = NULL) const [virtual]

Implements ON_Object.

Definition at line 158 of file opennurbs_bitmap.cpp.

ON_WindowsBitmap & ON_WindowsBitmap::operator= ( const ON_WindowsBitmap src)

Definition at line 294 of file opennurbs_bitmap.cpp.

Definition at line 342 of file opennurbs_bitmap.cpp.

ON_Color ON_WindowsBitmap::Pixel ( int  column_index,
int  row_index 
) const

Definition at line 412 of file opennurbs_bitmap.cpp.

ON_Color ON_WindowsBitmap::Pixel ( int  column_index,
const unsigned char *  scanbits 
) const

Definition at line 418 of file opennurbs_bitmap.cpp.

Reimplemented from ON_Object.

Reimplemented in ON_WindowsBitmapEx.

Definition at line 672 of file opennurbs_bitmap.cpp.

Definition at line 819 of file opennurbs_bitmap.cpp.

Definition at line 559 of file opennurbs_bitmap.cpp.

int ON_WindowsBitmap::SizeofImage ( ) const [virtual]

Implements ON_Bitmap.

Definition at line 374 of file opennurbs_bitmap.cpp.

Definition at line 348 of file opennurbs_bitmap.cpp.

int ON_WindowsBitmap::SizeofScan ( ) const [virtual]

Implements ON_Bitmap.

Definition at line 355 of file opennurbs_bitmap.cpp.

int ON_WindowsBitmap::Width ( ) const [virtual]

Implements ON_Bitmap.

Definition at line 330 of file opennurbs_bitmap.cpp.

ON_BOOL32 ON_WindowsBitmap::Write ( ON_BinaryArchive file) const [virtual]

Reimplemented from ON_Object.

Reimplemented in ON_WindowsBitmapEx.

Definition at line 666 of file opennurbs_bitmap.cpp.

Definition at line 730 of file opennurbs_bitmap.cpp.

Definition at line 481 of file opennurbs_bitmap.cpp.


Member Data Documentation

Definition at line 549 of file opennurbs_bitmap.h.

unsigned char* ON_WindowsBitmap::m_bits

Definition at line 546 of file opennurbs_bitmap.h.

Definition at line 543 of file opennurbs_bitmap.h.


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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:52