Public Member Functions | List of all members
NT_TreeShader Class Reference
Inheritance diagram for NT_TreeShader:
Inheritance graph
Collaboration diagram for NT_TreeShader:
Collaboration graph

Public Member Functions

 NT_TreeShader (TREE_canvas *ntw, GBDATA *gb_main)
 ~NT_TreeShader () OVERRIDE
void init () OVERRIDE
void update_settings () OVERRIDE
ShadedValue calc_shaded_leaf_GC (GBDATA *gb_node) const OVERRIDE
ShadedValue calc_shaded_inner_GC (const ShadedValue &left, float left_ratio, const ShadedValue &right) const OVERRIDE
int to_GC (const ShadedValue &val) const OVERRIDE
void popup_config () const
- Public Member Functions inherited from AP_TreeShader
 AP_TreeShader ()
virtual ~AP_TreeShader ()
bool does_shade () const
int calc_leaf_GC (GBDATA *gb_node, bool is_marked) const
int calc_inner_GC (int left_gc, int right_gc) const

Additional Inherited Members

- Protected Attributes inherited from AP_TreeShader
bool colorize_marked
bool colorize_groups
bool shade_species

Detailed Description

Definition at line 97 of file NT_shadeTree.cxx.

Constructor & Destructor Documentation

NT_TreeShader::NT_TreeShader ( TREE_canvas ntw,
GBDATA gb_main 

Definition at line 108 of file NT_shadeTree.cxx.

References DOWNCAST, AWT_canvas::gfx, and ItemShader::register_plugin().

NT_TreeShader::~NT_TreeShader ( )

Definition at line 122 of file NT_shadeTree.cxx.

Member Function Documentation

void NT_TreeShader::init ( )

Implements AP_TreeShader.

Definition at line 123 of file NT_shadeTree.cxx.

References ItemShader::init().

void NT_TreeShader::update_settings ( )
ShadedValue NT_TreeShader::calc_shaded_leaf_GC ( GBDATA gb_node) const

Implements AP_TreeShader.

Definition at line 131 of file NT_shadeTree.cxx.

References ItemShader::shade().

ShadedValue NT_TreeShader::calc_shaded_inner_GC ( const ShadedValue left,
float  left_ratio,
const ShadedValue right 
) const

Implements AP_TreeShader.

Definition at line 132 of file NT_shadeTree.cxx.

References mix().

int NT_TreeShader::to_GC ( const ShadedValue val) const

Implements AP_TreeShader.

Definition at line 135 of file NT_shadeTree.cxx.

References ItemShader::to_GC().

void NT_TreeShader::popup_config ( ) const

Definition at line 137 of file NT_shadeTree.cxx.

References ItemShader::popup_config_window(), and AW_root::SINGLETON.

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