Blender V2.61 - r43446
Public Types | Public Member Functions | Public Attributes

TextureMapping Class Reference

#include <nodes.h>

List of all members.

Public Types

enum  Mapping { NONE = 0, X = 1, Y = 2, Z = 3 }
enum  Projection { FLAT, CUBE, TUBE, SPHERE }

Public Member Functions

 TextureMapping ()
Transform compute_transform ()
bool skip ()
void compile (SVMCompiler &compiler, int offset_in, int offset_out)

Public Attributes

float3 translation
float3 rotation
float3 scale
Mapping x_mapping
Mapping y_mapping
Mapping z_mapping
Projection projection

Detailed Description

Definition at line 33 of file nodes.h.


Member Enumeration Documentation

Enumerator:
NONE 
X 
Y 
Z 

Definition at line 44 of file nodes.h.

Enumerator:
FLAT 
CUBE 
TUBE 
SPHERE 

Definition at line 47 of file nodes.h.


Constructor & Destructor Documentation

CCL_NAMESPACE_BEGIN TextureMapping::TextureMapping ( )

Definition at line 30 of file nodes.cpp.

References FLAT, make_float3(), projection, rotation, scale, translation, X, x_mapping, Y, y_mapping, Z, and z_mapping.


Member Function Documentation

void TextureMapping::compile ( SVMCompiler compiler,
int  offset_in,
int  offset_out 
)
Transform TextureMapping::compute_transform ( )
bool TextureMapping::skip ( )

Definition at line 61 of file nodes.cpp.

References make_float3(), rotation, scale, translation, X, x_mapping, Y, y_mapping, Z, and z_mapping.


Member Data Documentation

Definition at line 48 of file nodes.h.

Referenced by TextureMapping().

Definition at line 41 of file nodes.h.

Referenced by compute_transform(), get_tex_mapping(), skip(), and TextureMapping().

Definition at line 42 of file nodes.h.

Referenced by compute_transform(), get_tex_mapping(), skip(), and TextureMapping().

Definition at line 40 of file nodes.h.

Referenced by compute_transform(), get_tex_mapping(), skip(), and TextureMapping().

Definition at line 45 of file nodes.h.

Referenced by compute_transform(), get_tex_mapping(), skip(), and TextureMapping().

Definition at line 45 of file nodes.h.

Referenced by compute_transform(), get_tex_mapping(), skip(), and TextureMapping().

Definition at line 45 of file nodes.h.

Referenced by compute_transform(), get_tex_mapping(), skip(), and TextureMapping().


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