diff options
Diffstat (limited to 'source/blender/io/collada/BCAnimationCurve.h')
-rw-r--r-- | source/blender/io/collada/BCAnimationCurve.h | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/source/blender/io/collada/BCAnimationCurve.h b/source/blender/io/collada/BCAnimationCurve.h index 779678bca1d..3f7bcf9a13f 100644 --- a/source/blender/io/collada/BCAnimationCurve.h +++ b/source/blender/io/collada/BCAnimationCurve.h @@ -62,13 +62,13 @@ class BCCurveKey { const int array_index, const int subindex = -1); void operator=(const BCCurveKey &other); - const std::string get_full_path() const; - const std::string get_path() const; - const int get_array_index() const; - const int get_subindex() const; + std::string get_full_path() const; + std::string get_path() const; + int get_array_index() const; + int get_subindex() const; void set_object_type(BC_animation_type object_type); - const BC_animation_type get_animation_type() const; - const bool operator<(const BCCurveKey &other) const; + BC_animation_type get_animation_type() const; + bool operator<(const BCCurveKey &other) const; }; class BCBezTriple { @@ -76,10 +76,10 @@ class BCBezTriple { BezTriple &bezt; BCBezTriple(BezTriple &bezt); - const float get_frame() const; - const float get_time(Scene *scene) const; - const float get_value() const; - const float get_angle() const; + float get_frame() const; + float get_time(Scene *scene) const; + float get_value() const; + float get_angle() const; void get_in_tangent(Scene *scene, float point[2], bool as_angle) const; void get_out_tangent(Scene *scene, float point[2], bool as_angle) const; void get_tangent(Scene *scene, float point[2], bool as_angle, int index) const; @@ -108,26 +108,26 @@ class BCAnimationCurve { BCAnimationCurve(BCCurveKey key, Object *ob, FCurve *fcu); ~BCAnimationCurve(); - const bool is_of_animation_type(BC_animation_type type) const; - const int get_interpolation_type(float sample_frame) const; + bool is_of_animation_type(BC_animation_type type) const; + int get_interpolation_type(float sample_frame) const; bool is_animated(); - const bool is_transform_curve() const; - const bool is_rotation_curve() const; + bool is_transform_curve() const; + bool is_rotation_curve() const; bool is_keyframe(int frame); void adjust_range(int frame); - const std::string get_animation_name(Object *ob) const; /* xxx: this is collada specific */ - const std::string get_channel_target() const; - const std::string get_channel_type() const; - const std::string get_channel_posebone() const; // returns "" if channel is not a bone channel + std::string get_animation_name(Object *ob) const; /* xxx: this is collada specific */ + std::string get_channel_target() const; + std::string get_channel_type() const; + std::string get_channel_posebone() const; // returns "" if channel is not a bone channel - const int get_channel_index() const; - const int get_subindex() const; - const std::string get_rna_path() const; - const FCurve *get_fcurve() const; - const int sample_count() const; + int get_channel_index() const; + int get_subindex() const; + std::string get_rna_path() const; + FCurve *get_fcurve() const; + int sample_count() const; - const float get_value(const float frame); + float get_value(const float frame); void get_values(BCValues &values) const; void get_value_map(BCValueMap &value_map); @@ -141,8 +141,8 @@ class BCAnimationCurve { void clean_handles(); /* experimental stuff */ - const int closest_index_above(const float sample_frame, const int start_at) const; - const int closest_index_below(const float sample_frame) const; + int closest_index_above(const float sample_frame, const int start_at) const; + int closest_index_below(const float sample_frame) const; }; typedef std::map<BCCurveKey, BCAnimationCurve *> BCAnimationCurveMap; |