Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
ShadingOutput Class Reference

Public Types

typedef void(* OnAccumulateObjectCallback )(const GeometrySourceHierarchy &, const unsigned int &, const unsigned int &, const GMathVec3f &, void *)
 
typedef OfChannelManager::Channel AovChannel
 

Public Member Functions

void clear ()
 
void init_beauty (const GMathVec3f &c, const GMathVec3f &o)
 
void init_beauty (const GMathVec4f &rgba)
 
bool has_aovs () const
 
void disable_aovs ()
 
void configure_aovs (const CoreBasicArray< AovChannel > &channels, float *channel_values)
 
void configure_aovs (const unsigned int &channel_count, const AovChannel *channels, float *channel_values)
 
bool has_deep () const
 
void disable_deep ()
 
void configure_deep (const double &z_factor, CoreVector< float > *z_front, CoreVector< float > *z_back, CoreVector< float > *a, CoreVector< float > *r=0, CoreVector< float > *g=0, CoreVector< float > *b=0)
 
void set_opacity (const GMathVec3f &opacity)
 
const GMathVec3f & get_color () const
 
GMathVec3f get_opacity () const
 
void accumulate_color (const GMathVec3f &c)
 
void accumulate_opacity (const GMathVec3f &o)
 
void accumulate_beauty (const GMathVec3f &color, const GMathVec3f &opacity)
 
void accumulate_aovs (const double &z, const GMathVec3f &contribution, const float *values)
 
void accumulate_deep (const double &z_front, const double &z_back, const GMathVec4f &rgba)
 
void accumulate_deep (const double &z_front, const double &z_back, const GMathVec3f &color, const GMathVec3f &opacity)
 
void accumulate_beauty_and_deep (const double &z_front, const double &z_back, const GMathVec3f &color, const GMathVec3f &opacity)
 
void set_accumulate_object_callback (OnAccumulateObjectCallback callback, void *data)
 
void accumulate_object (const GeometrySourceHierarchy &geometry_hierarchy, const unsigned int &local_geometry_index, const unsigned int &shading_group_index, const GMathVec3f &contribution)
 

Public Attributes

GMathVec3f color
 
GMathVec3f transmittance
 
ShadingOutputVariables aovs
 
ShadingDeepOutput deep