Blender  V2.93
Public Attributes | List of all members
LineartEdge Struct Reference

#include <MOD_lineart.h>

Public Attributes

struct LineartEdgenext
 
struct LineartVertv1
 
struct LineartVertv2
 
int v1_obindex
 
int v2_obindex
 
struct LineartTrianglet1
 
struct LineartTrianglet2
 
ListBase segments
 
char min_occ
 
unsigned char flags
 
struct Objectobject_ref
 

Detailed Description

Definition at line 140 of file MOD_lineart.h.

Member Data Documentation

◆ flags

unsigned char LineartEdge::flags

Also for line type determination on chaining.

Definition at line 154 of file MOD_lineart.h.

Referenced by lineart_geometry_object_load(), lineart_line_get_connected(), and MOD_lineart_chain_feature_lines().

◆ min_occ

char LineartEdge::min_occ

Definition at line 151 of file MOD_lineart.h.

◆ next

struct LineartEdge* LineartEdge::next

We only need link node kind of list here.

Definition at line 142 of file MOD_lineart.h.

Referenced by lineart_occlusion_worker(), and lineart_prepend_edge_direct().

◆ object_ref

struct Object* LineartEdge::object_ref

Still need this entry because culled lines will not add to object LineartElementLinkNode node (known as reln internally).

TODO: If really need more savings, we can allocate this in a "extended" way too, but we need another bit in flags to be able to show the difference.

Definition at line 163 of file MOD_lineart.h.

Referenced by lineart_geometry_object_load().

◆ segments

ListBase LineartEdge::segments

Definition at line 150 of file MOD_lineart.h.

Referenced by lineart_geometry_object_load(), and MOD_lineart_chain_feature_lines().

◆ t1

struct LineartTriangle* LineartEdge::t1

Definition at line 149 of file MOD_lineart.h.

Referenced by lineart_geometry_object_load(), and MOD_lineart_chain_feature_lines().

◆ t2

struct LineartTriangle * LineartEdge::t2

Definition at line 149 of file MOD_lineart.h.

Referenced by lineart_geometry_object_load(), and MOD_lineart_chain_feature_lines().

◆ v1

struct LineartVert* LineartEdge::v1

◆ v1_obindex

int LineartEdge::v1_obindex

Local vertex index for two ends, not pouting in #RenderVert because all verts are loaded, so as long as fewer than half of the mesh edges are becoming a feature line, we save more memory.

Definition at line 148 of file MOD_lineart.h.

Referenced by lineart_geometry_object_load(), and MOD_lineart_chain_feature_lines().

◆ v2

struct LineartVert * LineartEdge::v2

◆ v2_obindex

int LineartEdge::v2_obindex

Definition at line 148 of file MOD_lineart.h.

Referenced by lineart_geometry_object_load(), and MOD_lineart_chain_feature_lines().


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