Public Types | Public Member Functions | Static Public Member Functions | Public Attributes
ON_Texture Class Reference

#include <opennurbs_texture.h>

Inheritance diagram for ON_Texture:
Inheritance graph
[legend]

List of all members.

Public Types

enum  FILTER { nearest_filter = 0, linear_filter = 1, force_32bit_texture_filter = 0xFFFFFFFF }
enum  MAPPING_CHANNEL { tc_channel = 0, default_channel = 1, srfp_channel = 0xFFFFFFFE, emap_channel = 0xFFFFFFFF }
enum  MODE {
  no_texture_mode = 0, modulate_texture = 1, decal_texture = 2, blend_texture = 3,
  force_32bit_texture_mode = 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  WRAP { repeat_wrap = 0, clamp_wrap = 1, force_32bit_texture_wrap = 0xFFFFFFFF }

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

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

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

Definition at line 937 of file opennurbs_material.cpp.

Definition at line 942 of file opennurbs_material.cpp.


Member Function Documentation

int ON_Texture::Compare ( const ON_Texture other) const

Definition at line 746 of file opennurbs_material.cpp.

Definition at line 1240 of file opennurbs_material.cpp.

void ON_Texture::Dump ( ON_TextLog ) const [virtual]

Reimplemented from ON_Object.

Definition at line 963 of file opennurbs_material.cpp.

Definition at line 1095 of file opennurbs_material.cpp.

bool ON_Texture::IsTiled ( int  dir,
double *  count,
double *  offset 
) const

Definition at line 1626 of file opennurbs_material.cpp.

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

Implements ON_Object.

Definition at line 946 of file opennurbs_material.cpp.

Definition at line 1071 of file opennurbs_material.cpp.

ON_BOOL32 ON_Texture::Read ( ON_BinaryArchive binary_archive) [virtual]

Reimplemented from ON_Object.

Definition at line 1138 of file opennurbs_material.cpp.

Definition at line 1584 of file opennurbs_material.cpp.

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

Reimplemented from ON_Object.

Definition at line 969 of file opennurbs_material.cpp.

bool ON_Texture::SwapTextureCoordinate ( int  i,
int  j 
)

Definition at line 1598 of file opennurbs_material.cpp.

bool ON_Texture::TileTextureCoordinate ( int  dir,
double  count,
double  offset 
)

Definition at line 1612 of file opennurbs_material.cpp.

Definition at line 1042 of file opennurbs_material.cpp.

Definition at line 1113 of file opennurbs_material.cpp.

ON_BOOL32 ON_Texture::Write ( ON_BinaryArchive binary_archive) const [virtual]

Reimplemented from ON_Object.

Definition at line 978 of file opennurbs_material.cpp.


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 files:


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