SpectMorph
Public Types | Public Slots | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SpectMorph::MorphGrid Class Reference
Inheritance diagram for SpectMorph::MorphGrid:
SpectMorph::MorphOperator

Public Types

enum  ControlType { CONTROL_GUI = 1, CONTROL_SIGNAL_1 = 2, CONTROL_SIGNAL_2 = 3, CONTROL_OP = 4 }
 
- Public Types inherited from SpectMorph::MorphOperator
enum  OutputType { OUTPUT_NONE, OUTPUT_AUDIO, OUTPUT_CONTROL }
 

Public Slots

void on_operator_removed (MorphOperator *op)
 

Public Member Functions

 MorphGrid (MorphPlan *morph_plan)
 
const char * type ()
 
int insert_order ()
 
bool save (OutFile &out_file)
 
bool load (InFile &in_file)
 
void post_load (OpNameMap &op_name_map)
 
OutputType output_type ()
 
void set_width (int width)
 
int width ()
 
void set_height (int height)
 
int height ()
 
void set_zoom (int new_zoom)
 
int zoom ()
 
void set_selected_x (int x)
 
void set_selected_y (int y)
 
int selected_x ()
 
int selected_y ()
 
bool has_selection ()
 
double x_morphing ()
 
ControlType x_control_type ()
 
MorphOperatorx_control_op ()
 
double y_morphing ()
 
ControlType y_control_type ()
 
MorphOperatory_control_op ()
 
void set_x_morphing (double new_value)
 
void set_y_morphing (double new_value)
 
void set_x_control_type (ControlType new_control_type)
 
void set_y_control_type (ControlType new_control_type)
 
void set_x_control_op (MorphOperator *op)
 
void set_y_control_op (MorphOperator *op)
 
void set_input_node (int x, int y, const MorphGridNode &node)
 
MorphGridNode input_node (int x, int y)
 
std::string input_node_label (int x, int y)
 
- Public Member Functions inherited from SpectMorph::MorphOperator
 MorphOperator (MorphPlan *morph_plan)
 
MorphPlanmorph_plan ()
 
std::string type_name ()
 
std::string name ()
 
void set_name (const std::string &name)
 
bool can_rename (const std::string &name)
 
std::string id ()
 
void set_id (const std::string &id)
 
bool folded () const
 
void set_folded (bool folded)
 

Protected Member Functions

void update_size ()
 
- Protected Member Functions inherited from SpectMorph::MorphOperator
void write_operator (OutFile &file, const std::string &name, MorphOperator *op)
 

Protected Attributes

int m_width
 
int m_height
 
int m_zoom
 
int m_selected_x
 
int m_selected_y
 
double m_x_morphing
 
double m_y_morphing
 
ControlType m_x_control_type
 
ControlType m_y_control_type
 
MorphOperatorm_x_control_op
 
MorphOperatorm_y_control_op
 
std::vector< std::vector< MorphGridNode > > m_input_node
 
std::map< std::string, std::string > load_map
 
- Protected Attributes inherited from SpectMorph::MorphOperator
MorphPlanm_morph_plan
 
std::string m_name
 
std::string m_id
 
bool m_folded
 

Additional Inherited Members

- Static Public Member Functions inherited from SpectMorph::MorphOperator
static MorphOperatorcreate (const std::string &type, MorphPlan *plan)
 
- Protected Types inherited from SpectMorph::MorphOperator
typedef std::map< std::string, MorphOperator * > OpNameMap
 

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