|
Blender V4.5
|
#include <Python.h>#include <typeinfo>#include "../geometry/Geom.h"#include "../geometry/BBox.h"#include "../view_map/Silhouette.h"#include "../system/Id.h"#include "../view_map/Interface0D.h"#include "../view_map/Interface1D.h"#include "../scene_graph/FrsMaterial.h"#include "../winged_edge/Nature.h"#include "../stroke/Stroke.h"#include "../view_map/ViewMap.h"#include "../stroke/Curve.h"#include "../stroke/Chain.h"#include "../stroke/ChainingIterators.h"#include "../view_map/ViewMapIterators.h"#include "../stroke/StrokeIterators.h"#include "../stroke/CurveIterators.h"#include "generic/python_utildefines.hh"#include "mathutils/mathutils.hh"Go to the source code of this file.
| PyObject * Any_BPy_FEdge_from_FEdge | ( | Freestyle::FEdge & | fe | ) |
Definition at line 177 of file BPy_Convert.cpp.
References Any_BPy_FEdge_from_FEdge(), BPy_FEdge_from_FEdge(), BPy_FEdgeSharp_from_FEdgeSharp(), BPy_FEdgeSmooth_from_FEdgeSmooth(), and Freestyle::FEdge::getExactTypeName().
Referenced by Any_BPy_FEdge_from_FEdge(), ContextFunctions_get_selected_fedge(), FEdge_next_fedge_get(), FEdge_previous_fedge_get(), Interface0D_get_fedge(), SShape_edges_get(), Vector_from_Vec3f(), ViewEdge_first_fedge_get(), ViewEdge_last_fedge_get(), and ViewMap_get_closest_fedge().
| PyObject * Any_BPy_Interface0D_from_Interface0D | ( | Freestyle::Interface0D & | if0D | ) |
Definition at line 121 of file BPy_Convert.cpp.
References Any_BPy_Interface0D_from_Interface0D(), BPy_CurvePoint_from_CurvePoint(), BPy_Interface0D_from_Interface0D(), BPy_NonTVertex_from_NonTVertex(), BPy_StrokeVertex_from_StrokeVertex(), BPy_SVertex_from_SVertex(), BPy_TVertex_from_TVertex(), BPy_ViewVertex_from_ViewVertex(), and Freestyle::Interface0D::getExactTypeName().
Referenced by Any_BPy_Interface0D_from_Interface0D(), Director_BPy_BinaryPredicate0D___call__(), Interface0DIterator_iternext(), Interface0DIterator_object_get(), and Vector_from_Vec3f().
| PyObject * Any_BPy_Interface1D_from_Interface1D | ( | Freestyle::Interface1D & | if1D | ) |
Definition at line 149 of file BPy_Convert.cpp.
References Any_BPy_Interface1D_from_Interface1D(), BPy_Chain_from_Chain(), BPy_FEdge_from_FEdge(), BPy_FEdgeSharp_from_FEdgeSharp(), BPy_FEdgeSmooth_from_FEdgeSmooth(), BPy_Interface1D_from_Interface1D(), BPy_Stroke_from_Stroke(), BPy_ViewEdge_from_ViewEdge(), and Freestyle::Interface1D::getExactTypeName().
Referenced by Any_BPy_Interface1D_from_Interface1D(), CurvePoint_fedge_get(), Director_BPy_BinaryPredicate1D___call__(), Director_BPy_UnaryFunction1D___call__(), Director_BPy_UnaryPredicate1D___call__(), and Vector_from_Vec3f().
| PyObject * Any_BPy_ViewVertex_from_ViewVertex | ( | Freestyle::ViewVertex & | vv | ) |
Definition at line 193 of file BPy_Convert.cpp.
References Any_BPy_ViewVertex_from_ViewVertex(), BPy_NonTVertex_from_NonTVertex(), BPy_TVertex_from_TVertex(), BPy_ViewVertex_from_ViewVertex(), and Freestyle::ViewVertex::getExactTypeName().
Referenced by Any_BPy_ViewVertex_from_ViewVertex(), ChainingIterator_next_vertex_get(), SVertex_viewvertex_get(), Vector_from_Vec3f(), ViewEdge_first_viewvertex_get(), ViewEdge_last_viewvertex_get(), and ViewShape_vertices_get().
| bool bool_from_PyBool | ( | PyObject * | b | ) |
Definition at line 526 of file BPy_Convert.cpp.
References b, and bool_from_PyBool().
Referenced by AdjacencyIterator_init(), bool_from_PyBool(), CalligraphicShader___init__(), Chain_push_viewedge_back(), Chain_push_viewedge_front(), ChainingIterator___init__(), ChainPredicateIterator_init(), ChainSilhouetteIterator_init(), FEdge_is_smooth_set(), FEdgeSharp_face_mark_left_set(), FEdgeSharp_face_mark_right_set(), FEdgeSmooth_face_mark_set(), Operators_reset(), SpatialNoiseShader___init__(), Stroke_tips_set(), StrokeAttribute_visible_set(), Vector_from_Vec3f(), ViewEdgeIterator_init(), and ViewEdgeIterator_orientation_set().
| PyObject * BPy_AdjacencyIterator_from_AdjacencyIterator | ( | Freestyle::AdjacencyIterator & | a_it | ) |
Definition at line 422 of file BPy_Convert.cpp.
References Freestyle::AdjacencyIterator::AdjacencyIterator(), AdjacencyIterator_Type, and BPy_AdjacencyIterator_from_AdjacencyIterator().
Referenced by BPy_AdjacencyIterator_from_AdjacencyIterator(), Director_BPy_ChainingIterator_traverse(), and Vector_from_Vec3f().
| PyObject * BPy_BBox_from_BBox | ( | const Freestyle::BBox< Freestyle::Geometry::Vec3r > & | bb | ) |
Definition at line 337 of file BPy_Convert.cpp.
References Freestyle::BBox< Point >::BBox(), BBox_Type, and BPy_BBox_from_BBox().
Referenced by BPy_BBox_from_BBox(), SShape_bbox_get(), Vector_from_Vec3f(), and ViewMap_scene_bbox_get().
| PyObject * BPy_Chain_from_Chain | ( | Freestyle::Chain & | c | ) |
Definition at line 353 of file BPy_Convert.cpp.
References BPy_Chain_from_Chain(), and Chain_Type.
Referenced by Any_BPy_Interface1D_from_Interface1D(), BPy_Chain_from_Chain(), Operators_get_chain_from_index(), and Vector_from_Vec3f().
| PyObject * BPy_ChainingIterator_from_ChainingIterator | ( | Freestyle::ChainingIterator & | c_it | ) |
Definition at line 494 of file BPy_Convert.cpp.
References BPy_ChainingIterator_from_ChainingIterator(), Freestyle::ChainingIterator::ChainingIterator(), and ChainingIterator_Type.
Referenced by BPy_ChainingIterator_from_ChainingIterator(), and Vector_from_Vec3f().
| PyObject * BPy_ChainPredicateIterator_from_ChainPredicateIterator | ( | Freestyle::ChainPredicateIterator & | cp_it | ) |
Definition at line 502 of file BPy_Convert.cpp.
References BPy_ChainPredicateIterator_from_ChainPredicateIterator(), Freestyle::ChainPredicateIterator::ChainPredicateIterator(), and ChainPredicateIterator_Type.
Referenced by BPy_ChainPredicateIterator_from_ChainPredicateIterator(), and Vector_from_Vec3f().
| PyObject * BPy_ChainSilhouetteIterator_from_ChainSilhouetteIterator | ( | Freestyle::ChainSilhouetteIterator & | cs_it | ) |
Definition at line 512 of file BPy_Convert.cpp.
References BPy_ChainSilhouetteIterator_from_ChainSilhouetteIterator(), Freestyle::ChainSilhouetteIterator::ChainSilhouetteIterator(), and ChainSilhouetteIterator_Type.
Referenced by BPy_ChainSilhouetteIterator_from_ChainSilhouetteIterator(), and Vector_from_Vec3f().
| PyObject * BPy_CurvePoint_from_CurvePoint | ( | Freestyle::CurvePoint & | cp | ) |
Definition at line 396 of file BPy_Convert.cpp.
References BPy_CurvePoint_from_CurvePoint(), Freestyle::CurvePoint::CurvePoint(), and CurvePoint_Type.
Referenced by Any_BPy_Interface0D_from_Interface0D(), BPy_CurvePoint_from_CurvePoint(), CurvePointIterator_object_get(), and Vector_from_Vec3f().
| PyObject * BPy_CurvePointIterator_from_CurvePointIterator | ( | Freestyle::CurveInternal::CurvePointIterator & | cp_it | ) |
Definition at line 444 of file BPy_Convert.cpp.
References BPy_CurvePointIterator_from_CurvePointIterator(), and CurvePointIterator_Type.
Referenced by BPy_CurvePointIterator_from_CurvePointIterator(), and Vector_from_Vec3f().
| PyObject * BPy_directedViewEdge_from_directedViewEdge | ( | Freestyle::ViewVertex::directedViewEdge & | dve | ) |
Definition at line 410 of file BPy_Convert.cpp.
References BPy_directedViewEdge_from_directedViewEdge(), BPy_ViewEdge_from_ViewEdge(), PyBool_from_bool(), and PyTuple_SET_ITEMS.
Referenced by BPy_directedViewEdge_from_directedViewEdge(), orientedViewEdgeIterator_iternext(), orientedViewEdgeIterator_object_get(), and Vector_from_Vec3f().
| PyObject * BPy_FEdge_from_FEdge | ( | Freestyle::FEdge & | fe | ) |
Definition at line 254 of file BPy_Convert.cpp.
References BPy_FEdge_from_FEdge(), and FEdge_Type.
Referenced by Any_BPy_FEdge_from_FEdge(), Any_BPy_Interface1D_from_Interface1D(), BPy_FEdge_from_FEdge(), and Vector_from_Vec3f().
| PyObject * BPy_FEdgeSharp_from_FEdgeSharp | ( | Freestyle::FEdgeSharp & | fes | ) |
Definition at line 234 of file BPy_Convert.cpp.
References BPy_FEdgeSharp_from_FEdgeSharp(), and FEdgeSharp_Type.
Referenced by Any_BPy_FEdge_from_FEdge(), Any_BPy_Interface1D_from_Interface1D(), BPy_FEdgeSharp_from_FEdgeSharp(), and Vector_from_Vec3f().
| PyObject * BPy_FEdgeSmooth_from_FEdgeSmooth | ( | Freestyle::FEdgeSmooth & | fes | ) |
Definition at line 244 of file BPy_Convert.cpp.
References BPy_FEdgeSmooth_from_FEdgeSmooth(), and FEdgeSmooth_Type.
Referenced by Any_BPy_FEdge_from_FEdge(), Any_BPy_Interface1D_from_Interface1D(), BPy_FEdgeSmooth_from_FEdgeSmooth(), and Vector_from_Vec3f().
| PyObject * BPy_FrsMaterial_from_FrsMaterial | ( | const Freestyle::FrsMaterial & | m | ) |
Definition at line 380 of file BPy_Convert.cpp.
References BPy_FrsMaterial_from_FrsMaterial(), Freestyle::FrsMaterial::FrsMaterial(), and FrsMaterial_Type.
Referenced by BPy_FrsMaterial_from_FrsMaterial(), FEdgeSharp_material_left_get(), FEdgeSharp_material_right_get(), FEdgeSmooth_material_get(), UnaryFunction0DMaterial___call__(), and Vector_from_Vec3f().
| PyObject * BPy_Id_from_Id | ( | Freestyle::Id & | id | ) |
Definition at line 114 of file BPy_Convert.cpp.
References BPy_Id_from_Id(), Freestyle::Id::Id(), and Id_Type.
Referenced by BPy_Id_from_Id(), FEdge_id_get(), Interface0D_id_get(), Interface1D_id_get(), SShape_id_get(), Stroke_id_get(), SVertex_id_get(), TVertex_id_get(), UnaryFunction0DId___call__(), Vector_from_Vec3f(), ViewEdge_id_get(), and ViewShape_id_get().
| PyObject * BPy_IntegrationType_from_IntegrationType | ( | Freestyle::IntegrationType | i | ) |
Definition at line 387 of file BPy_Convert.cpp.
References BPy_IntegrationType_from_IntegrationType(), i, and IntegrationType_Type.
Referenced by BPy_IntegrationType_from_IntegrationType(), integration_type_get(), integration_type_get(), integration_type_get(), integration_type_get(), integration_type_get(), integration_type_get(), integration_type_get(), integration_type_get(), and Vector_from_Vec3f().
| PyObject * BPy_Interface0D_from_Interface0D | ( | Freestyle::Interface0D & | if0D | ) |
Definition at line 209 of file BPy_Convert.cpp.
References BPy_Interface0D_from_Interface0D(), and Interface0D_Type.
Referenced by Any_BPy_Interface0D_from_Interface0D(), BPy_Interface0D_from_Interface0D(), and Vector_from_Vec3f().
| PyObject * BPy_Interface0DIterator_from_Interface0DIterator | ( | Freestyle::Interface0DIterator & | if0D_it, |
| bool | reversed ) |
Definition at line 431 of file BPy_Convert.cpp.
References BPy_Interface0DIterator_from_Interface0DIterator(), Freestyle::Interface0DIterator::Interface0DIterator(), and Interface0DIterator_Type.
Referenced by BPy_Interface0DIterator_from_Interface0DIterator(), Director_BPy_UnaryFunction0D___call__(), Director_BPy_UnaryPredicate0D___call__(), Interface1D_points_begin(), Interface1D_points_end(), Interface1D_vertices_begin(), Interface1D_vertices_end(), and Vector_from_Vec3f().
| PyObject * BPy_Interface1D_from_Interface1D | ( | Freestyle::Interface1D & | if1D | ) |
Definition at line 217 of file BPy_Convert.cpp.
References BPy_Interface1D_from_Interface1D(), and Interface1D_Type.
Referenced by Any_BPy_Interface1D_from_Interface1D(), BPy_Interface1D_from_Interface1D(), and Vector_from_Vec3f().
| PyObject * BPy_MediumType_from_MediumType | ( | Freestyle::Stroke::MediumType | n | ) |
Definition at line 289 of file BPy_Convert.cpp.
References BPy_MediumType_from_MediumType(), and MediumType_Type.
Referenced by BPy_MediumType_from_MediumType(), Stroke_medium_type_get(), and Vector_from_Vec3f().
| PyObject * BPy_Nature_from_Nature | ( | ushort | n | ) |
Definition at line 263 of file BPy_Convert.cpp.
References BPy_Nature_from_Nature(), and Nature_Type.
Referenced by BPy_Nature_from_Nature(), FEdge_nature_get(), Interface0D_nature_get(), Interface1D_nature_get(), UnaryFunction0DEdgeNature___call__(), UnaryFunction1DEdgeNature___call__(), Vector_from_Vec3f(), ViewEdge_nature_get(), and ViewVertex_nature_get().
| PyObject * BPy_NonTVertex_from_NonTVertex | ( | Freestyle::NonTVertex & | ntv | ) |
Definition at line 317 of file BPy_Convert.cpp.
References BPy_NonTVertex_from_NonTVertex(), and NonTVertex_Type.
Referenced by Any_BPy_Interface0D_from_Interface0D(), Any_BPy_ViewVertex_from_ViewVertex(), BPy_NonTVertex_from_NonTVertex(), and Vector_from_Vec3f().
| PyObject * BPy_orientedViewEdgeIterator_from_orientedViewEdgeIterator | ( | Freestyle::ViewVertexInternal::orientedViewEdgeIterator & | ove_it, |
| bool | reversed ) |
Definition at line 472 of file BPy_Convert.cpp.
References BPy_orientedViewEdgeIterator_from_orientedViewEdgeIterator(), and orientedViewEdgeIterator_Type.
Referenced by BPy_orientedViewEdgeIterator_from_orientedViewEdgeIterator(), Vector_from_Vec3f(), ViewVertex_edges_begin(), ViewVertex_edges_end(), and ViewVertex_edges_iterator().
| PyObject * BPy_SShape_from_SShape | ( | Freestyle::SShape & | ss | ) |
Definition at line 363 of file BPy_Convert.cpp.
References BPy_SShape_from_SShape(), and SShape_Type.
Referenced by BPy_SShape_from_SShape(), Vector_from_Vec3f(), and ViewShape_sshape_get().
| PyObject * BPy_Stroke_from_Stroke | ( | Freestyle::Stroke & | s | ) |
Definition at line 272 of file BPy_Convert.cpp.
References BPy_Stroke_from_Stroke(), and Stroke_Type.
Referenced by Any_BPy_Interface1D_from_Interface1D(), BPy_Stroke_from_Stroke(), Director_BPy_StrokeShader_shade(), Operators_get_stroke_from_index(), and Vector_from_Vec3f().
| PyObject * BPy_StrokeAttribute_from_StrokeAttribute | ( | Freestyle::StrokeAttribute & | sa | ) |
Definition at line 281 of file BPy_Convert.cpp.
References BPy_StrokeAttribute_from_StrokeAttribute(), and StrokeAttribute_Type.
Referenced by BPy_StrokeAttribute_from_StrokeAttribute(), StrokeVertex_attribute_get(), and Vector_from_Vec3f().
| PyObject * BPy_StrokeVertex_from_StrokeVertex | ( | Freestyle::StrokeVertex & | sv | ) |
Definition at line 298 of file BPy_Convert.cpp.
References BPy_StrokeVertex_from_StrokeVertex(), and StrokeVertex_Type.
Referenced by Any_BPy_Interface0D_from_Interface0D(), BPy_StrokeVertex_from_StrokeVertex(), Stroke_sq_item(), StrokeVertexIterator_iternext(), StrokeVertexIterator_object_get(), and Vector_from_Vec3f().
| PyObject * BPy_StrokeVertexIterator_from_StrokeVertexIterator | ( | Freestyle::StrokeInternal::StrokeVertexIterator & | sv_it, |
| bool | reversed ) |
Definition at line 452 of file BPy_Convert.cpp.
References BPy_StrokeVertexIterator_from_StrokeVertexIterator(), and StrokeVertexIterator_Type.
Referenced by BPy_StrokeVertexIterator_from_StrokeVertexIterator(), Stroke_iter(), Stroke_reversed(), Stroke_stroke_vertices_begin(), Stroke_stroke_vertices_end(), StrokeVertexIterator_decremented(), StrokeVertexIterator_incremented(), StrokeVertexIterator_reversed(), and Vector_from_Vec3f().
| PyObject * BPy_SVertex_from_SVertex | ( | Freestyle::SVertex & | sv | ) |
Definition at line 225 of file BPy_Convert.cpp.
References BPy_SVertex_from_SVertex(), and SVertex_Type.
Referenced by Any_BPy_Interface0D_from_Interface0D(), BPy_SVertex_from_SVertex(), CurvePoint_first_svertex_get(), CurvePoint_second_svertex_get(), FEdge_first_svertex_get(), FEdge_second_svertex_get(), FEdge_sq_item(), NonTVertex_svertex_get(), SShape_vertices_get(), SVertexIterator_object_get(), TVertex_back_svertex_get(), TVertex_front_svertex_get(), TVertex_get_svertex(), and Vector_from_Vec3f().
| PyObject * BPy_SVertexIterator_from_SVertexIterator | ( | Freestyle::ViewEdgeInternal::SVertexIterator & | sv_it | ) |
Definition at line 464 of file BPy_Convert.cpp.
References BPy_SVertexIterator_from_SVertexIterator(), and SVertexIterator_Type.
Referenced by BPy_SVertexIterator_from_SVertexIterator(), and Vector_from_Vec3f().
| PyObject * BPy_TVertex_from_TVertex | ( | Freestyle::TVertex & | tv | ) |
Definition at line 327 of file BPy_Convert.cpp.
References BPy_TVertex_from_TVertex(), and TVertex_Type.
Referenced by Any_BPy_Interface0D_from_Interface0D(), Any_BPy_ViewVertex_from_ViewVertex(), BPy_TVertex_from_TVertex(), and Vector_from_Vec3f().
| PyObject * BPy_ViewEdge_from_ViewEdge | ( | Freestyle::ViewEdge & | ve | ) |
Definition at line 344 of file BPy_Convert.cpp.
References BPy_ViewEdge_from_ViewEdge(), and ViewEdge_Type.
Referenced by AdjacencyIterator_iternext(), AdjacencyIterator_object_get(), Any_BPy_Interface1D_from_Interface1D(), BPy_directedViewEdge_from_directedViewEdge(), BPy_ViewEdge_from_ViewEdge(), ChainingIterator_object_get(), FEdge_viewedge_get(), Operators_get_viewedge_from_index(), TVertex_get_mate(), Vector_from_Vec3f(), ViewEdgeIterator_begin_get(), ViewEdgeIterator_current_edge_get(), ViewEdgeIterator_object_get(), ViewMap_get_closest_viewedge(), and ViewShape_edges_get().
| PyObject * BPy_ViewEdgeIterator_from_ViewEdgeIterator | ( | Freestyle::ViewEdgeInternal::ViewEdgeIterator & | ve_it | ) |
Definition at line 486 of file BPy_Convert.cpp.
References BPy_ViewEdgeIterator_from_ViewEdgeIterator(), and ViewEdgeIterator_Type.
Referenced by BPy_ViewEdgeIterator_from_ViewEdgeIterator(), and Vector_from_Vec3f().
| PyObject * BPy_ViewShape_from_ViewShape | ( | Freestyle::ViewShape & | vs | ) |
Definition at line 371 of file BPy_Convert.cpp.
References BPy_ViewShape_from_ViewShape(), and ViewShape_Type.
Referenced by BPy_ViewShape_from_ViewShape(), UnaryFunction0DVectorViewShape___call__(), UnaryFunction0DViewShape___call__(), UnaryFunction1DVectorViewShape___call__(), Vector_from_Vec3f(), ViewEdge_occludee_get(), and ViewEdge_viewshape_get().
| PyObject * BPy_ViewVertex_from_ViewVertex | ( | Freestyle::ViewVertex & | vv | ) |
Definition at line 308 of file BPy_Convert.cpp.
References BPy_ViewVertex_from_ViewVertex(), and ViewVertex_Type.
Referenced by Any_BPy_Interface0D_from_Interface0D(), Any_BPy_ViewVertex_from_ViewVertex(), BPy_ViewVertex_from_ViewVertex(), and Vector_from_Vec3f().
| int convert_v2 | ( | PyObject * | obj, |
| void * | v ) |
Definition at line 822 of file BPy_Convert.cpp.
References convert_v2(), mathutils_array_parse(), and v.
Referenced by CalligraphicShader___init__(), convert_v2(), and Vec3f_ptr_from_PyTuple().
| int convert_v3 | ( | PyObject * | obj, |
| void * | v ) |
Definition at line 817 of file BPy_Convert.cpp.
References convert_v3(), mathutils_array_parse(), and v.
Referenced by convert_v3(), SVertex_init(), and Vec3f_ptr_from_PyTuple().
| int convert_v4 | ( | PyObject * | obj, |
| void * | v ) |
Definition at line 812 of file BPy_Convert.cpp.
References convert_v4(), mathutils_array_parse(), and v.
Referenced by convert_v4(), FrsMaterial_init(), and Vec3f_ptr_from_PyTuple().
| Freestyle::Nature::EdgeNature EdgeNature_from_BPy_Nature | ( | PyObject * | obj | ) |
Definition at line 541 of file BPy_Convert.cpp.
References EdgeNature_from_BPy_Nature().
Referenced by Director_BPy_UnaryFunction0D___call__(), Director_BPy_UnaryFunction1D___call__(), EdgeNature_from_BPy_Nature(), and Vector_from_Vec3f().
| bool float_array_from_PyObject | ( | PyObject * | obj, |
| float * | v, | ||
| int | n ) |
Definition at line 783 of file BPy_Convert.cpp.
References BaseMath_ReadCallback, ColorObject_Check, float_array_from_PyList(), float_array_from_PyObject(), float_array_from_PyTuple(), i, v, and VectorObject_Check.
Referenced by float_array_from_PyObject(), and Vec3f_ptr_from_PyTuple().
| Freestyle::IntegrationType IntegrationType_from_BPy_IntegrationType | ( | PyObject * | obj | ) |
Definition at line 531 of file BPy_Convert.cpp.
References IntegrationType_from_BPy_IntegrationType().
Referenced by Curvature2DAngleF1D___init__(), CurveNatureF1D___init__(), DensityF1D___init__(), GetCompleteViewMapDensityF1D___init__(), GetDirectionalViewMapDensityF1D___init__(), GetProjectedXF1D___init__(), GetProjectedYF1D___init__(), GetProjectedZF1D___init__(), GetSteerableViewMapDensityF1D___init__(), GetViewMapGradientNormF1D___init__(), GetXF1D___init__(), GetYF1D___init__(), GetZF1D___init__(), integration_type_set(), integration_type_set(), integration_type_set(), integration_type_set(), integration_type_set(), integration_type_set(), integration_type_set(), integration_type_set(), IntegrationType_from_BPy_IntegrationType(), Integrator_integrate(), LocalAverageDepthF1D___init__(), Normal2DF1D___init__(), Orientation2DF1D___init__(), Orientation3DF1D___init__(), QuantitativeInvisibilityF1D___init__(), UnaryFunction1DDouble___init__(), UnaryFunction1DEdgeNature___init__(), UnaryFunction1DFloat___init__(), UnaryFunction1DUnsigned___init__(), UnaryFunction1DVec2f___init__(), UnaryFunction1DVec3f___init__(), UnaryFunction1DVectorViewShape___init__(), UnaryFunction1DVoid___init__(), Vector_from_Vec3f(), ViewMapGradientNormBP1D___init__(), and ZDiscontinuityF1D___init__().
| Freestyle::Stroke::MediumType MediumType_from_BPy_MediumType | ( | PyObject * | obj | ) |
Definition at line 536 of file BPy_Convert.cpp.
References MediumType_from_BPy_MediumType().
Referenced by MediumType_from_BPy_MediumType(), Stroke_medium_type_set(), and Vector_from_Vec3f().
| PyObject * PyBool_from_bool | ( | bool | b | ) |
Definition at line 57 of file BPy_Convert.cpp.
References b, and PyBool_from_bool().
Referenced by AdjacencyIterator_is_incoming_get(), BinaryPredicate0D___call__(), BinaryPredicate1D___call__(), BPy_directedViewEdge_from_directedViewEdge(), ChainingIterator_is_incrementing_get(), FEdge_is_smooth_get(), FEdgeSharp_face_mark_left_get(), FEdgeSharp_face_mark_right_get(), FEdgeSmooth_face_mark_get(), FrsCurve_is_empty_get(), Id_RichCompare(), Interface0DIterator_at_last_get(), Iterator_is_begin_get(), Iterator_is_end_get(), PyBool_from_bool(), Stroke_tips_get(), StrokeAttribute_has_attribute_real(), StrokeAttribute_has_attribute_vec2(), StrokeAttribute_has_attribute_vec3(), StrokeAttribute_visible_get(), StrokeVertexIterator_at_last_get(), UnaryPredicate0D___call__(), UnaryPredicate1D___call__(), ViewEdge_is_closed_get(), and ViewEdgeIterator_orientation_get().
| void PyLong_subtype_add_to_dict | ( | PyObject * | dict, |
| PyTypeObject * | ty, | ||
| const char * | attr, | ||
| long | value ) |
Definition at line 80 of file BPy_Convert.cpp.
References PyLong_subtype_add_to_dict(), PyLong_subtype_new(), and result.
Referenced by PyLong_subtype_add_to_dict().
| PyObject * PyLong_subtype_new | ( | PyTypeObject * | ty, |
| long | value ) |
Definition at line 62 of file BPy_Convert.cpp.
References BLI_assert, PyLong_subtype_new(), and result.
Referenced by BPy_Nature_bitwise(), PyLong_subtype_add_to_dict(), and PyLong_subtype_new().
| bool Vec2f_ptr_from_PyList | ( | PyObject * | obj, |
| Freestyle::Geometry::Vec2f & | vec ) |
Definition at line 675 of file BPy_Convert.cpp.
References float_array_from_PyList(), v, and Vec2f_ptr_from_PyList().
Referenced by Vec2f_ptr_from_PyList(), Vec2f_ptr_from_PyObject(), and Vec3f_ptr_from_Color().
| bool Vec2f_ptr_from_PyObject | ( | PyObject * | obj, |
| Freestyle::Geometry::Vec2f & | vec ) |
Definition at line 546 of file BPy_Convert.cpp.
References Vec2f_ptr_from_PyList(), Vec2f_ptr_from_PyObject(), Vec2f_ptr_from_PyTuple(), and Vec2f_ptr_from_Vector().
Referenced by FrsNoise_smoothNoise2(), FrsNoise_turbulence2(), StrokeAttribute_set_attribute_vec2(), Vec2f_ptr_from_PyObject(), and Vector_from_Vec3f().
| bool Vec2f_ptr_from_PyTuple | ( | PyObject * | obj, |
| Freestyle::Geometry::Vec2f & | vec ) |
Definition at line 734 of file BPy_Convert.cpp.
References float_array_from_PyTuple(), v, and Vec2f_ptr_from_PyTuple().
Referenced by Vec2f_ptr_from_PyObject(), Vec2f_ptr_from_PyTuple(), and Vec3f_ptr_from_PyList().
| bool Vec2f_ptr_from_Vector | ( | PyObject * | obj, |
| Freestyle::Geometry::Vec2f & | vec ) |
Definition at line 594 of file BPy_Convert.cpp.
References BaseMath_ReadCallback, Vec2f_ptr_from_Vector(), and VectorObject_Check.
Referenced by Director_BPy_UnaryFunction0D___call__(), Director_BPy_UnaryFunction1D___call__(), Vec2f_ptr_from_PyObject(), Vec2f_ptr_from_Vector(), and Vec3f_ptr_from_PyObject().
| bool Vec3f_ptr_from_Color | ( | PyObject * | obj, |
| Freestyle::Geometry::Vec3f & | vec ) |
References Vec2f_ptr_from_PyList(), Vec3f_ptr_from_Color(), and Vec3r_ptr_from_Color().
| bool Vec3f_ptr_from_PyList | ( | PyObject * | obj, |
| Freestyle::Geometry::Vec3f & | vec ) |
References Vec2f_ptr_from_PyTuple(), Vec3f_ptr_from_PyList(), and Vec3r_ptr_from_PyList().
| bool Vec3f_ptr_from_PyObject | ( | PyObject * | obj, |
| Freestyle::Geometry::Vec3f & | vec ) |
References Vec2f_ptr_from_Vector(), Vec3f_ptr_from_PyObject(), and Vec3r_ptr_from_PyObject().
| bool Vec3f_ptr_from_PyTuple | ( | PyObject * | obj, |
| Freestyle::Geometry::Vec3f & | vec ) |
References convert_v2(), convert_v3(), convert_v4(), float_array_from_PyObject(), v, Vec3f_ptr_from_PyTuple(), and Vec3r_ptr_from_PyTuple().
| bool Vec3f_ptr_from_Vector | ( | PyObject * | obj, |
| Freestyle::Geometry::Vec3f & | vec ) |
References Vec3f_ptr_from_Vector(), and Vec3r_ptr_from_Vector().
| bool Vec3r_ptr_from_Color | ( | PyObject * | obj, |
| Freestyle::Geometry::Vec3r & | vec ) |
Definition at line 649 of file BPy_Convert.cpp.
References BaseMath_ReadCallback, ColorObject_Check, and Vec3r_ptr_from_Color().
Referenced by Vec3f_ptr_from_Color(), Vec3r_ptr_from_Color(), and Vec3r_ptr_from_PyObject().
| bool Vec3r_ptr_from_PyList | ( | PyObject * | obj, |
| Freestyle::Geometry::Vec3r & | vec ) |
Definition at line 706 of file BPy_Convert.cpp.
References float_array_from_PyList(), v, and Vec3r_ptr_from_PyList().
Referenced by Vec3f_ptr_from_PyList(), Vec3r_ptr_from_PyList(), and Vec3r_ptr_from_PyObject().
| bool Vec3r_ptr_from_PyObject | ( | PyObject * | obj, |
| Freestyle::Geometry::Vec3r & | vec ) |
Definition at line 577 of file BPy_Convert.cpp.
References Vec3r_ptr_from_Color(), Vec3r_ptr_from_PyList(), Vec3r_ptr_from_PyObject(), Vec3r_ptr_from_PyTuple(), and Vec3r_ptr_from_Vector().
Referenced by SVertex_add_normal(), Vec3f_ptr_from_PyObject(), and Vec3r_ptr_from_PyObject().
| bool Vec3r_ptr_from_PyTuple | ( | PyObject * | obj, |
| Freestyle::Geometry::Vec3r & | vec ) |
Definition at line 765 of file BPy_Convert.cpp.
References float_array_from_PyTuple(), v, and Vec3r_ptr_from_PyTuple().
Referenced by Vec3f_ptr_from_PyTuple(), Vec3r_ptr_from_PyObject(), and Vec3r_ptr_from_PyTuple().
| bool Vec3r_ptr_from_Vector | ( | PyObject * | obj, |
| Freestyle::Geometry::Vec3r & | vec ) |
Definition at line 621 of file BPy_Convert.cpp.
References BaseMath_ReadCallback, Vec3r_ptr_from_Vector(), and VectorObject_Check.
Referenced by Vec3f_ptr_from_Vector(), Vec3r_ptr_from_PyObject(), and Vec3r_ptr_from_Vector().
| PyObject * Vector_from_Vec2f | ( | Freestyle::Geometry::Vec2f & | v | ) |
Definition at line 88 of file BPy_Convert.cpp.
References Vector_CreatePyObject(), Vector_from_Vec2f(), Freestyle::VecMat::Vec2< T >::x(), and Freestyle::VecMat::Vec2< T >::y().
Referenced by Interface0D_point_2d_get(), StrokeAttribute_get_attribute_vec2(), UnaryFunction0DVec2f___call__(), UnaryFunction1DVec2f___call__(), and Vector_from_Vec2f().
| PyObject * Vector_from_Vec3f | ( | Freestyle::Geometry::Vec3f & | v | ) |
References Any_BPy_FEdge_from_FEdge(), Any_BPy_Interface0D_from_Interface0D(), Any_BPy_Interface1D_from_Interface1D(), Any_BPy_ViewVertex_from_ViewVertex(), b, bool_from_PyBool(), BPy_AdjacencyIterator_from_AdjacencyIterator(), BPy_BBox_from_BBox(), BPy_Chain_from_Chain(), BPy_ChainingIterator_from_ChainingIterator(), BPy_ChainPredicateIterator_from_ChainPredicateIterator(), BPy_ChainSilhouetteIterator_from_ChainSilhouetteIterator(), BPy_CurvePoint_from_CurvePoint(), BPy_CurvePointIterator_from_CurvePointIterator(), BPy_directedViewEdge_from_directedViewEdge(), BPy_FEdge_from_FEdge(), BPy_FEdgeSharp_from_FEdgeSharp(), BPy_FEdgeSmooth_from_FEdgeSmooth(), BPy_FrsMaterial_from_FrsMaterial(), BPy_Id_from_Id(), BPy_IntegrationType_from_IntegrationType(), BPy_Interface0D_from_Interface0D(), BPy_Interface0DIterator_from_Interface0DIterator(), BPy_Interface1D_from_Interface1D(), BPy_MediumType_from_MediumType(), BPy_Nature_from_Nature(), BPy_NonTVertex_from_NonTVertex(), BPy_orientedViewEdgeIterator_from_orientedViewEdgeIterator(), BPy_SShape_from_SShape(), BPy_Stroke_from_Stroke(), BPy_StrokeAttribute_from_StrokeAttribute(), BPy_StrokeVertex_from_StrokeVertex(), BPy_StrokeVertexIterator_from_StrokeVertexIterator(), BPy_SVertex_from_SVertex(), BPy_SVertexIterator_from_SVertexIterator(), BPy_TVertex_from_TVertex(), BPy_ViewEdge_from_ViewEdge(), BPy_ViewEdgeIterator_from_ViewEdgeIterator(), BPy_ViewShape_from_ViewShape(), BPy_ViewVertex_from_ViewVertex(), EdgeNature_from_BPy_Nature(), i, IntegrationType_from_BPy_IntegrationType(), MediumType_from_BPy_MediumType(), v, Vec2f_ptr_from_PyObject(), Vector_from_Vec3f(), and Vector_from_Vec3r().
| PyObject * Vector_from_Vec3r | ( | Freestyle::Geometry::Vec3r & | v | ) |
Definition at line 105 of file BPy_Convert.cpp.
References Vector_CreatePyObject(), Vector_from_Vec3r(), Freestyle::VecMat::Vec3< T >::x(), Freestyle::VecMat::Vec3< T >::y(), and Freestyle::VecMat::Vec3< T >::z().
Referenced by SVertex_curvatures_get(), SVertex_normals_get(), Vector_from_Vec3f(), and Vector_from_Vec3r().