Blender  V3.3
Public Attributes | List of all members
LineartBoundingArea Struct Reference

#include <MOD_lineart.h>

Public Attributes

double l
 
double r
 
double u
 
double b
 
double cx
 
double cy
 
struct LineartBoundingAreachild
 
SpinLock lock
 
ListBase lp
 
ListBase rp
 
ListBase up
 
ListBase bp
 
uint32_t triangle_count
 
uint32_t max_triangle_count
 
uint32_t line_count
 
uint32_t max_line_count
 
uint32_t insider_triangle_count
 
struct LineartTriangle ** linked_triangles
 
struct LineartEdge ** linked_lines
 
ListBase linked_chains
 

Detailed Description

Bounding area diagram:

+----+ <----U (Upper edge Y value)
| |
+----+ <----B (Bottom edge Y value)
^ ^
L R (Left/Right edge X value)
in reality light always falls off quadratically Particle Retrieve the data of the particle that spawned the object for example to give variation to multiple instances of an object Point Retrieve information about points in a point cloud Retrieve the edges of an object as it appears to Cycles topology will always appear triangulated Convert a blackbody temperature to an RGB value Normal Generate a perturbed normal from an RGB normal map image Typically used for faking highly detailed surfaces Generate an OSL shader from a file or text data block Image Sample an image file as a texture Sky Generate a procedural sky texture Noise Generate fractal Perlin noise Wave Generate procedural bands or rings with noise Voronoi Generate Worley noise based on the distance to random points Typically used to generate textures such as or biological cells Brick Generate a procedural texture producing bricks Texture Retrieve multiple types of texture coordinates nTypically used as inputs for texture nodes Vector Convert a or normal between and object coordinate space Combine Create a color from its and value channels Color Retrieve a color or the default fallback if none is specified Separate Split a vector into its X
in reality light always falls off quadratically Particle Retrieve the data of the particle that spawned the object for example to give variation to multiple instances of an object Point Retrieve information about points in a point cloud Retrieve the edges of an object as it appears to Cycles topology will always appear triangulated Convert a blackbody temperature to an RGB value Normal Generate a perturbed normal from an RGB normal map image Typically used for faking highly detailed surfaces Generate an OSL shader from a file or text data block Image Sample an image file as a texture Sky Generate a procedural sky texture Noise Generate fractal Perlin noise Wave Generate procedural bands or rings with noise Voronoi Generate Worley noise based on the distance to random points Typically used to generate textures such as or biological cells Brick Generate a procedural texture producing bricks Texture Retrieve multiple types of texture coordinates nTypically used as inputs for texture nodes Vector Convert a or normal between and object coordinate space Combine Create a color from its and value channels Color Retrieve a color or the default fallback if none is specified Separate Split a vector into its Y
#define U
#define B
#define R
#define L
char Upper(char ch)
Definition: utility_io.cpp:142

Example structure when subdividing 1 bounding areas: 1 area can be divided into 4 smaller children to accommodate image areas with denser triangle distribution.

+--+--+-----+
+--+--+ |
+--+--+-----+
| | |
+-----+-----+

lp/rp/up/bp is the list for storing pointers to adjacent bounding areas.

Definition at line 546 of file MOD_lineart.h.

Member Data Documentation

◆ b

double LineartBoundingArea::b

◆ bp

ListBase LineartBoundingArea::bp

◆ child

struct LineartBoundingArea* LineartBoundingArea::child

◆ cx

double LineartBoundingArea::cx

◆ cy

double LineartBoundingArea::cy

◆ insider_triangle_count

uint32_t LineartBoundingArea::insider_triangle_count

Definition at line 564 of file MOD_lineart.h.

Referenced by lineart_bounding_area_link_triangle().

◆ l

double LineartBoundingArea::l

◆ line_count

uint32_t LineartBoundingArea::line_count

◆ linked_chains

ListBase LineartBoundingArea::linked_chains

Reserved for image space reduction && multi-thread chaining.

Definition at line 571 of file MOD_lineart.h.

Referenced by lineart_bounding_area_link_point_recursive(), lineart_chain_get_closest_cre(), and MOD_lineart_chain_connect().

◆ linked_lines

struct LineartEdge** LineartBoundingArea::linked_lines

◆ linked_triangles

struct LineartTriangle** LineartBoundingArea::linked_triangles

◆ lock

SpinLock LineartBoundingArea::lock

◆ lp

ListBase LineartBoundingArea::lp

◆ max_line_count

uint32_t LineartBoundingArea::max_line_count

◆ max_triangle_count

uint32_t LineartBoundingArea::max_triangle_count

◆ r

double LineartBoundingArea::r

◆ rp

ListBase LineartBoundingArea::rp

◆ triangle_count

uint32_t LineartBoundingArea::triangle_count

◆ u

double LineartBoundingArea::u

◆ up

ListBase LineartBoundingArea::up

The documentation for this struct was generated from the following file: