|
Blender V5.3
|
Classes | |
| class | CurvesEditorsTest |
Functions | |
| static bke::CurvesGeometry | create_curves (const Span< Vector< float3 > > all_positions, const int order, const Set< int > &is_cyclic) |
| static bke::CurvesGeometry | create_curves (const Vector< float3 > positions, const int order, const Set< int > &is_cyclic) |
| static void | validate_positions (const Span< Vector< float3 > > expected_positions, const OffsetIndices< int > points_by_curve, const Span< float3 > positions) |
| TEST_F (CurvesEditorsTest, DuplicatePointsTwoSingle) | |
| TEST_F (CurvesEditorsTest, DuplicatePointsFourThree) | |
| TEST_F (CurvesEditorsTest, DuplicatePointsTwoCyclic) | |
| TEST_F (CurvesEditorsTest, SplitPointsTwoSingle) | |
| TEST_F (CurvesEditorsTest, SplitPointsFourThree) | |
| TEST_F (CurvesEditorsTest, SplitPointsTwoCyclic) | |
| TEST_F (CurvesEditorsTest, SplitPointsTwoTouchCyclic) | |
| TEST_F (CurvesEditorsTest, SplitEverySecondCyclic) | |
| TEST_F (CurvesEditorsTest, SplitAllSelectedButFirstCyclic) | |
| TEST_F (CurvesEditorsTest, SplitTwoOnSeamAndExtraCyclic) | |
|
static |
Definition at line 17 of file curves_edit_test.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::MutableSpan< T >::copy_from(), create_curves(), blender::Array< T, InlineBufferCapacity, Allocator >::last(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and blender::MutableSpan< T >::slice().
Referenced by create_curves(), create_curves(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
|
static |
Definition at line 45 of file curves_edit_test.cc.
References create_curves().
| blender::ed::curves::tests::TEST_F | ( | CurvesEditorsTest | , |
| DuplicatePointsFourThree | ) |
Definition at line 90 of file curves_edit_test.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), create_curves(), blender::ed::curves::duplicate_points(), EXPECT_TRUE, blender::IndexMask::from_indices(), blender::Span< T >::index_range(), blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and TEST_F().
| blender::ed::curves::tests::TEST_F | ( | CurvesEditorsTest | , |
| DuplicatePointsTwoCyclic | ) |
Definition at line 123 of file curves_edit_test.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), create_curves(), blender::ed::curves::duplicate_points(), EXPECT_TRUE, blender::IndexMask::from_indices(), blender::Span< T >::index_range(), blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and TEST_F().
| blender::ed::curves::tests::TEST_F | ( | CurvesEditorsTest | , |
| DuplicatePointsTwoSingle | ) |
Definition at line 67 of file curves_edit_test.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), create_curves(), blender::ed::curves::duplicate_points(), EXPECT_TRUE, blender::IndexMask::from_indices(), blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), and TEST_F().
Referenced by TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
| blender::ed::curves::tests::TEST_F | ( | CurvesEditorsTest | , |
| SplitAllSelectedButFirstCyclic | ) |
Definition at line 291 of file curves_edit_test.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), create_curves(), blender::bke::CurvesGeometry::curves_num(), blender::bke::CurvesGeometry::cyclic(), blender::EXPECT_EQ(), EXPECT_FALSE, blender::IndexMask::from_indices(), blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::positions(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), blender::ed::curves::split_points(), TEST_F(), and validate_positions().
| blender::ed::curves::tests::TEST_F | ( | CurvesEditorsTest | , |
| SplitEverySecondCyclic | ) |
Definition at line 255 of file curves_edit_test.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), create_curves(), blender::bke::CurvesGeometry::curves_num(), blender::IndexMask::from_indices(), blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::positions(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), blender::ed::curves::split_points(), TEST_F(), and validate_positions().
| blender::ed::curves::tests::TEST_F | ( | CurvesEditorsTest | , |
| SplitPointsFourThree | ) |
Definition at line 173 of file curves_edit_test.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), create_curves(), blender::bke::CurvesGeometry::curves_num(), blender::IndexMask::from_indices(), blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::positions(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), blender::ed::curves::split_points(), TEST_F(), and validate_positions().
| blender::ed::curves::tests::TEST_F | ( | CurvesEditorsTest | , |
| SplitPointsTwoCyclic | ) |
Definition at line 198 of file curves_edit_test.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), create_curves(), blender::bke::CurvesGeometry::curves_num(), blender::bke::CurvesGeometry::cyclic(), blender::EXPECT_EQ(), blender::IndexMask::from_indices(), blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::positions(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), blender::ed::curves::split_points(), TEST_F(), and validate_positions().
| blender::ed::curves::tests::TEST_F | ( | CurvesEditorsTest | , |
| SplitPointsTwoSingle | ) |
Definition at line 155 of file curves_edit_test.cc.
References create_curves(), blender::IndexMask::from_indices(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), blender::ed::curves::split_points(), TEST_F(), and validate_positions().
| blender::ed::curves::tests::TEST_F | ( | CurvesEditorsTest | , |
| SplitPointsTwoTouchCyclic | ) |
Definition at line 229 of file curves_edit_test.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), create_curves(), blender::bke::CurvesGeometry::curves_num(), blender::IndexMask::from_indices(), blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::positions(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), blender::ed::curves::split_points(), TEST_F(), and validate_positions().
| blender::ed::curves::tests::TEST_F | ( | CurvesEditorsTest | , |
| SplitTwoOnSeamAndExtraCyclic | ) |
Definition at line 323 of file curves_edit_test.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), create_curves(), blender::bke::CurvesGeometry::curves_num(), blender::bke::CurvesGeometry::cyclic(), EXPECT_FALSE, blender::IndexMask::from_indices(), blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::positions(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), blender::ed::curves::split_points(), TEST_F(), and validate_positions().
|
static |
Definition at line 52 of file curves_edit_test.cc.
References blender::EXPECT_EQ(), blender::Span< T >::index_range(), and validate_positions().
Referenced by TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and validate_positions().