Point Cloud Library (PCL)  1.7.0
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes
ON_Texture Class Reference

#include <pcl/surface/3rdparty/opennurbs/opennurbs_texture.h>

+ Inheritance diagram for ON_Texture:

List of all members.

Public Types

enum  MAPPING_CHANNEL { tc_channel = 0, default_channel = 1, srfp_channel = 0xFFFFFFFE, emap_channel = 0xFFFFFFFF }
enum  TYPE {
  no_texture_type = 0, bitmap_texture = 1, bump_texture = 2, transparency_texture = 3,
  emap_texture = 86, force_32bit_texture_type = 0xFFFFFFFF
}
enum  MODE {
  no_texture_mode = 0, modulate_texture = 1, decal_texture = 2, blend_texture = 3,
  force_32bit_texture_mode = 0xFFFFFFFF
}
enum  FILTER { nearest_filter = 0, linear_filter = 1, force_32bit_texture_filter = 0xFFFFFFFF }
enum  WRAP { repeat_wrap = 0, clamp_wrap = 1, force_32bit_texture_wrap = 0xFFFFFFFF }

Public Member Functions

 ON_OBJECT_DECLARE (ON_Texture)
 ON_Texture ()
 ~ON_Texture ()
ON_BOOL32 IsValid (ON_TextLog *text_log=NULL) const
void Dump (ON_TextLog &) const
unsigned int SizeOf () const
ON_BOOL32 Write (ON_BinaryArchive &binary_archive) const
ON_BOOL32 Read (ON_BinaryArchive &binary_archive)
void Default ()
int Compare (const ON_Texture &other) const
bool ReverseTextureCoordinate (int dir)
bool SwapTextureCoordinate (int i, int j)
bool TileTextureCoordinate (int dir, double count, double offset)
bool IsTiled (int dir, double *count, double *offset) const

Static Public Member Functions

static TYPE TypeFromInt (int i)
static MODE ModeFromInt (int i)
static FILTER FilterFromInt (int i)
static WRAP WrapFromInt (int i)

Public Attributes

ON_UUID m_texture_id
int m_mapping_channel_id
ON_wString m_filename
bool m_filename_bRelativePath
bool m_bOn
TYPE m_type
MODE m_mode
FILTER m_minfilter
FILTER m_magfilter
WRAP m_wrapu
WRAP m_wrapv
WRAP m_wrapw
bool m_bApply_uvw
ON_Xform m_uvw
ON_Color m_border_color
ON_Color m_transparent_color
ON_UUID m_transparency_texture_id
ON_Interval m_bump_scale
double m_blend_constant_A
double m_blend_A [4]
ON_Color m_blend_constant_RGB
double m_blend_RGB [4]
int m_blend_order
ON_UUID m_runtime_ptr_id
const void * m_runtime_ptr

Detailed Description

Definition at line 31 of file opennurbs_texture.h.


Member Enumeration Documentation

Enumerator:
nearest_filter 
linear_filter 
force_32bit_texture_filter 

Definition at line 194 of file opennurbs_texture.h.

Enumerator:
tc_channel 
default_channel 
srfp_channel 
emap_channel 

Definition at line 123 of file opennurbs_texture.h.

Enumerator:
no_texture_mode 
modulate_texture 
decal_texture 
blend_texture 
force_32bit_texture_mode 

Definition at line 180 of file opennurbs_texture.h.

Enumerator:
no_texture_type 
bitmap_texture 
bump_texture 
transparency_texture 
emap_texture 
force_32bit_texture_type 

Definition at line 162 of file opennurbs_texture.h.

Enumerator:
repeat_wrap 
clamp_wrap 
force_32bit_texture_wrap 

Definition at line 212 of file opennurbs_texture.h.


Constructor & Destructor Documentation


Member Function Documentation

int ON_Texture::Compare ( const ON_Texture other) const
void ON_Texture::Dump ( ON_TextLog ) const [virtual]

Reimplemented from ON_Object.

static FILTER ON_Texture::FilterFromInt ( int  i) [static]
bool ON_Texture::IsTiled ( int  dir,
double *  count,
double *  offset 
) const
ON_BOOL32 ON_Texture::IsValid ( ON_TextLog text_log = NULL) const [virtual]

Implements ON_Object.

static MODE ON_Texture::ModeFromInt ( int  i) [static]
ON_BOOL32 ON_Texture::Read ( ON_BinaryArchive binary_archive) [virtual]

Reimplemented from ON_Object.

unsigned int ON_Texture::SizeOf ( ) const [virtual]

Reimplemented from ON_Object.

bool ON_Texture::SwapTextureCoordinate ( int  i,
int  j 
)
bool ON_Texture::TileTextureCoordinate ( int  dir,
double  count,
double  offset 
)
static TYPE ON_Texture::TypeFromInt ( int  i) [static]
static WRAP ON_Texture::WrapFromInt ( int  i) [static]
ON_BOOL32 ON_Texture::Write ( ON_BinaryArchive binary_archive) const [virtual]

Reimplemented from ON_Object.


Member Data Documentation

Definition at line 225 of file opennurbs_texture.h.

Definition at line 295 of file opennurbs_texture.h.

Definition at line 294 of file opennurbs_texture.h.

Definition at line 296 of file opennurbs_texture.h.

Definition at line 303 of file opennurbs_texture.h.

Definition at line 297 of file opennurbs_texture.h.

Definition at line 157 of file opennurbs_texture.h.

Definition at line 231 of file opennurbs_texture.h.

Definition at line 279 of file opennurbs_texture.h.

Definition at line 150 of file opennurbs_texture.h.

Definition at line 151 of file opennurbs_texture.h.

Definition at line 210 of file opennurbs_texture.h.

Definition at line 142 of file opennurbs_texture.h.

Definition at line 205 of file opennurbs_texture.h.

Definition at line 192 of file opennurbs_texture.h.

Definition at line 311 of file opennurbs_texture.h.

Definition at line 310 of file opennurbs_texture.h.

Definition at line 120 of file opennurbs_texture.h.

Definition at line 272 of file opennurbs_texture.h.

Definition at line 249 of file opennurbs_texture.h.

Definition at line 176 of file opennurbs_texture.h.

Definition at line 226 of file opennurbs_texture.h.

Definition at line 220 of file opennurbs_texture.h.

Definition at line 221 of file opennurbs_texture.h.

Definition at line 222 of file opennurbs_texture.h.


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