Clarisse 4.0 SP6b SDK  4.0.0.0.6.1
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Protected Member Functions | List of all members
ModuleDisplacement Class Reference
Inheritance diagram for ModuleDisplacement:
ModuleProjectItem ModuleObject OfModule ResourceUser EventObject CoreCustomData CoreBaseObject CoreBaseType

Public Types

enum  Mode {
  FRONT_ONLY,
  SYMETRIC,
  ASYMETRIC
}
 
enum  Direction {
  NORMAL,
  VECTOR_TANGENT_SPACE,
  VECTOR_OBJECT_SPACE
}
 

Public Member Functions

const bool & is_null () const
 True if the displacement is not doing anything (not active or no texture or values set to 0)
 
const bool & is_active () const
 
const Mode & get_mode () const
 
const Direction & get_front_direction () const
 
const Direction & get_back_direction () const
 
const ModuleTextureget_front_texture () const
 
const ModuleTextureget_back_texture () const
 
const double & get_front_value () const
 
const double & get_back_value () const
 
const double & get_front_offset () const
 
const double & get_back_offset () const
 
const GMathVec3d & get_bound () const
 
void add_geometry_override (GeometryResourceOverride *override)
 

Protected Member Functions

virtual void module_constructor (OfObject &object)
 
virtual void on_attribute_change (const OfAttr &attr, int &dirtiness, const int &dirtiness_flags)
 

Additional Inherited Members

- Static Public Member Functions inherited from ModuleObject
static ResourceID declare_resource (const char *tag)
 
static ResourceID declare_resource (const CoreString &tag)
 
static bool declare_resource (ResourceID id, const char *tag)
 
static bool declare_resource (ResourceID id, const CoreString &tag)
 
static ResourceID get_resource_id (const char *tag)
 
static ResourceID get_resource_id (const CoreString &tag)
 
static const char * get_resource_tag (ResourceID id)