Blender  V2.93
Namespaces | Functions | Variables
node_geo_point_rotate.cc File Reference
#include "BLI_math_rotation.h"
#include "UI_interface.h"
#include "UI_resources.h"
#include "node_geometry_util.hh"

Go to the source code of this file.

Namespaces

 blender
 
 blender::nodes
 

Functions

static void geo_node_point_rotate_layout (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void blender::nodes::point_rotate__axis_angle__object_space (const int domain_size, const Float3ReadAttribute &axis, const FloatReadAttribute &angles, MutableSpan< float3 > rotations)
 
static void blender::nodes::point_rotate__axis_angle__point_space (const int domain_size, const Float3ReadAttribute &axis, const FloatReadAttribute &angles, MutableSpan< float3 > rotations)
 
static void blender::nodes::point_rotate__euler__object_space (const int domain_size, const Float3ReadAttribute &eulers, MutableSpan< float3 > rotations)
 
static void blender::nodes::point_rotate__euler__point_space (const int domain_size, const Float3ReadAttribute &eulers, MutableSpan< float3 > rotations)
 
static void blender::nodes::point_rotate_on_component (GeometryComponent &component, const GeoNodeExecParams &params)
 
static void blender::nodes::geo_node_point_rotate_exec (GeoNodeExecParams params)
 
static void blender::nodes::geo_node_point_rotate_init (bNodeTree *UNUSED(ntree), bNode *node)
 
static void blender::nodes::geo_node_point_rotate_update (bNodeTree *UNUSED(ntree), bNode *node)
 
void register_node_type_geo_point_rotate ()
 

Variables

static bNodeSocketTemplate geo_node_point_rotate_in []
 
static bNodeSocketTemplate geo_node_point_rotate_out []
 

Function Documentation

◆ geo_node_point_rotate_layout()

static void geo_node_point_rotate_layout ( uiLayout layout,
bContext UNUSEDC,
PointerRNA ptr 
)
static

◆ register_node_type_geo_point_rotate()

void register_node_type_geo_point_rotate ( void  )

Variable Documentation

◆ geo_node_point_rotate_in

bNodeSocketTemplate geo_node_point_rotate_in[]
static
Initial value:
= {
{SOCK_GEOMETRY, N_("Geometry")},
{SOCK_STRING, N_("Axis")},
{SOCK_VECTOR, N_("Axis"), 0.0, 0.0, 1.0, 0.0, -FLT_MAX, FLT_MAX, PROP_XYZ},
{SOCK_STRING, N_("Angle")},
{SOCK_FLOAT, N_("Angle"), 0.0, 0.0, 0.0, 0.0, -FLT_MAX, FLT_MAX, PROP_ANGLE},
{SOCK_STRING, N_("Rotation")},
{SOCK_VECTOR, N_("Rotation"), 0.0, 0.0, 0.0, 0.0, -FLT_MAX, FLT_MAX, PROP_EULER},
{-1, ""},
}
#define N_(msgid)
@ SOCK_VECTOR
@ SOCK_FLOAT
@ SOCK_GEOMETRY
@ SOCK_STRING
@ PROP_XYZ
Definition: RNA_types.h:148
@ PROP_ANGLE
Definition: RNA_types.h:132
@ PROP_EULER
Definition: RNA_types.h:145

Definition at line 24 of file node_geo_point_rotate.cc.

Referenced by register_node_type_geo_point_rotate().

◆ geo_node_point_rotate_out

bNodeSocketTemplate geo_node_point_rotate_out[]
static
Initial value:
= {
{SOCK_GEOMETRY, N_("Geometry")},
{-1, ""},
}

Definition at line 35 of file node_geo_point_rotate.cc.

Referenced by register_node_type_geo_point_rotate().