The dendrite Reference Manual

This is the dendrite Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Feb 26 16:16:37 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 dendrite

Master package for all dendrite packages

Author

Chris Bagley <>

License

BSD 2 Clause

Dependencies
Source

dendrite.asd.

Child Component

dendrite/package.lisp (file).


2.2 dendrite.micro-l-system

Tiniest L-System

Author

Chris Bagley <>

License

BSD 2 Clause

Source

dendrite.micro-l-system.asd.

Child Components

2.3 dendrite.primitives

Generates mesh data for primitives

Author

Chris Bagley <>

License

2 Clause BSD

Dependencies
  • rtg-math (system).
  • cffi (system).
Source

dendrite.primitives.asd.

Child Components

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


3.1 Lisp


3.1.1 dendrite/dendrite.asd

Source

dendrite.asd.

Parent Component

dendrite (system).

ASDF Systems

dendrite.


3.1.2 dendrite.micro-l-system/dendrite.micro-l-system.asd

Source

dendrite.micro-l-system.asd.

Parent Component

dendrite.micro-l-system (system).

ASDF Systems

dendrite.micro-l-system.


3.1.3 dendrite.primitives/dendrite.primitives.asd

Source

dendrite.primitives.asd.

Parent Component

dendrite.primitives (system).

ASDF Systems

dendrite.primitives.


3.1.4 dendrite/dendrite/package.lisp

Source

dendrite.asd.

Parent Component

dendrite (system).

Packages

dendrite.


3.1.5 dendrite.micro-l-system/dendrite.micro-l-system/package.lisp

Source

dendrite.micro-l-system.asd.

Parent Component

dendrite.micro-l-system (system).

Packages

dendrite.micro-l-system.


3.1.6 dendrite.micro-l-system/dendrite.micro-l-system/micro-l.lisp

Dependency

dendrite.micro-l-system/package.lisp (file).

Source

dendrite.micro-l-system.asd.

Parent Component

dendrite.micro-l-system (system).

Public Interface
  • l (function).
  • rec-n (function).
Internals

3.1.7 dendrite.primitives/dendrite.primitives/package.lisp

Source

dendrite.primitives.asd.

Parent Component

dendrite.primitives (system).

Packages

dendrite.primitives.


3.1.8 dendrite.primitives/dendrite.primitives/primitives-cffi.lisp

Dependency

dendrite.primitives/package.lisp (file).

Source

dendrite.primitives.asd.

Parent Component

dendrite.primitives (system).

Public Interface
Internals

3.1.9 dendrite.primitives/dendrite.primitives/primitives.lisp

Dependency

dendrite.primitives/primitives-cffi.lisp (file).

Source

dendrite.primitives.asd.

Parent Component

dendrite.primitives (system).

Public Interface
Internals

4 Packages

Packages are listed by definition order.


4.1 dendrite.primitives

Source

dendrite.primitives/package.lisp.

Use List
  • cffi.
  • common-lisp.
  • rtg-math.
  • rtg-math.base-maths.
Public Interface
Internals

4.2 dendrite

Source

dendrite/package.lisp.

Use List

common-lisp.


4.3 dendrite.micro-l-system

Source

dendrite.micro-l-system/package.lisp.

Use List

common-lisp.

Public Interface
  • l (function).
  • rec-n (function).
Internals

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


5.1 Public Interface


5.1.1 Ordinary functions

Function: box-data (&key width height depth normals tex-coords)
Package

dendrite.primitives.

Source

dendrite.primitives/primitives.lisp.

Function: box-foreign (&key width height depth normals tex-coords)
Package

dendrite.primitives.

Source

dendrite.primitives/primitives-cffi.lisp.

Function: cap-data (&key segments y-pos up-norm radius normals tex-coords index-offset)
Package

dendrite.primitives.

Source

dendrite.primitives/primitives.lisp.

Function: cone-data (&key segments height radius normals tex-coords cap)
Package

dendrite.primitives.

Source

dendrite.primitives/primitives.lisp.

Function: cone-foreign (&key segments height radius normals tex-coords cap)
Package

dendrite.primitives.

Source

dendrite.primitives/primitives-cffi.lisp.

Function: cube-data (&key size normals tex-coords)
Package

dendrite.primitives.

Source

dendrite.primitives/primitives.lisp.

Function: cube-foreign (&key size normals tex-coords)
Package

dendrite.primitives.

Source

dendrite.primitives/primitives-cffi.lisp.

Function: cylinder-data (&key segments height radius normals tex-coords cap)
Package

dendrite.primitives.

Source

dendrite.primitives/primitives.lisp.

Function: cylinder-foreign (&key segments height radius normals tex-coords cap)
Package

dendrite.primitives.

Source

dendrite.primitives/primitives-cffi.lisp.

Function: l (x lang)
Package

dendrite.micro-l-system.

Source

dendrite.micro-l-system/micro-l.lisp.

Function: lattice-data (&key width height x-segments y-segments normals tex-coords)
Package

dendrite.primitives.

Source

dendrite.primitives/primitives.lisp.

Function: lattice-foreign (&key width height x-segments y-segments normals tex-coords)
Package

dendrite.primitives.

Source

dendrite.primitives/primitives-cffi.lisp.

Function: plain-data (&key width height normals tex-coords)
Package

dendrite.primitives.

Source

dendrite.primitives/primitives.lisp.

Function: plain-foreign (&key width height normals tex-coords)
Package

dendrite.primitives.

Source

dendrite.primitives/primitives-cffi.lisp.

Function: rec-n (func n d)
Package

dendrite.micro-l-system.

Source

dendrite.micro-l-system/micro-l.lisp.

Function: sphere-data (&key radius lines-of-latitude lines-of-longitude normals tex-coords)
Package

dendrite.primitives.

Source

dendrite.primitives/primitives.lisp.

Function: sphere-foreign (&key radius lines-of-latitude lines-of-longitude normals tex-coords)
Package

dendrite.primitives.

Source

dendrite.primitives/primitives-cffi.lisp.

Function: swap-winding-order (data)
Package

dendrite.primitives.

Source

dendrite.primitives/primitives.lisp.


5.2 Internals


5.2.1 Macros

Macro: write-elem (ptr (p-x p-y p-z) (normal-pred n-x n-y n-z) (tex-pred t-x t-y))
Package

dendrite.primitives.

Source

dendrite.primitives/primitives-cffi.lisp.


5.2.2 Compiler macros

Compiler Macro: mapcat (function &rest lists)
Package

dendrite.micro-l-system.

Source

dendrite.micro-l-system/micro-l.lisp.


5.2.3 Ordinary functions

Function: %cap-index-float-len (segments)
Package

dendrite.primitives.

Source

dendrite.primitives/primitives-cffi.lisp.

Function: %cap-vert-float-len (segments normals tex-coords)
Package

dendrite.primitives.

Source

dendrite.primitives/primitives-cffi.lisp.

Function: %cap-vert-len (segments)
Package

dendrite.primitives.

Source

dendrite.primitives/primitives-cffi.lisp.

Function: %swap-winding-order (data accum sub)
Package

dendrite.primitives.

Source

dendrite.primitives/primitives.lisp.

Function: %write-cap-indices (ptr segments norm-y index-offset)
Package

dendrite.primitives.

Source

dendrite.primitives/primitives-cffi.lisp.

Function: %write-cap-verts (ptr segments y-pos norm-y radius normals tex-coords)
Package

dendrite.primitives.

Source

dendrite.primitives/primitives-cffi.lisp.

Function: mapcat (function &rest lists)
Package

dendrite.micro-l-system.

Source

dendrite.micro-l-system/micro-l.lisp.

Function: ptr-to-lists (vptr iptr normals tex-coords vert-len idx-len uintp)
Package

dendrite.primitives.

Source

dendrite.primitives/primitives.lisp.


Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   %  
B   C   F   L   M   P   R   S   W  
Index Entry  Section

%
%cap-index-float-len: Private ordinary functions
%cap-vert-float-len: Private ordinary functions
%cap-vert-len: Private ordinary functions
%swap-winding-order: Private ordinary functions
%write-cap-indices: Private ordinary functions
%write-cap-verts: Private ordinary functions

B
box-data: Public ordinary functions
box-foreign: Public ordinary functions

C
cap-data: Public ordinary functions
Compiler Macro, mapcat: Private compiler macros
cone-data: Public ordinary functions
cone-foreign: Public ordinary functions
cube-data: Public ordinary functions
cube-foreign: Public ordinary functions
cylinder-data: Public ordinary functions
cylinder-foreign: Public ordinary functions

F
Function, %cap-index-float-len: Private ordinary functions
Function, %cap-vert-float-len: Private ordinary functions
Function, %cap-vert-len: Private ordinary functions
Function, %swap-winding-order: Private ordinary functions
Function, %write-cap-indices: Private ordinary functions
Function, %write-cap-verts: Private ordinary functions
Function, box-data: Public ordinary functions
Function, box-foreign: Public ordinary functions
Function, cap-data: Public ordinary functions
Function, cone-data: Public ordinary functions
Function, cone-foreign: Public ordinary functions
Function, cube-data: Public ordinary functions
Function, cube-foreign: Public ordinary functions
Function, cylinder-data: Public ordinary functions
Function, cylinder-foreign: Public ordinary functions
Function, l: Public ordinary functions
Function, lattice-data: Public ordinary functions
Function, lattice-foreign: Public ordinary functions
Function, mapcat: Private ordinary functions
Function, plain-data: Public ordinary functions
Function, plain-foreign: Public ordinary functions
Function, ptr-to-lists: Private ordinary functions
Function, rec-n: Public ordinary functions
Function, sphere-data: Public ordinary functions
Function, sphere-foreign: Public ordinary functions
Function, swap-winding-order: Public ordinary functions

L
l: Public ordinary functions
lattice-data: Public ordinary functions
lattice-foreign: Public ordinary functions

M
Macro, write-elem: Private macros
mapcat: Private compiler macros
mapcat: Private ordinary functions

P
plain-data: Public ordinary functions
plain-foreign: Public ordinary functions
ptr-to-lists: Private ordinary functions

R
rec-n: Public ordinary functions

S
sphere-data: Public ordinary functions
sphere-foreign: Public ordinary functions
swap-winding-order: Public ordinary functions

W
write-elem: Private macros


A.3 Variables


A.4 Data types

Jump to:   D   F   P   S  
Index Entry  Section

D
dendrite: The dendrite system
dendrite: The dendrite package
dendrite.asd: The dendrite/dendrite․asd file
dendrite.micro-l-system: The dendrite․micro-l-system system
dendrite.micro-l-system: The dendrite․micro-l-system package
dendrite.micro-l-system.asd: The dendrite․micro-l-system/dendrite․micro-l-system․asd file
dendrite.micro-l-system/micro-l.lisp: The dendrite․micro-l-system/dendrite․micro-l-system/micro-l․lisp file
dendrite.micro-l-system/package.lisp: The dendrite․micro-l-system/dendrite․micro-l-system/package․lisp file
dendrite.primitives: The dendrite․primitives system
dendrite.primitives: The dendrite․primitives package
dendrite.primitives.asd: The dendrite․primitives/dendrite․primitives․asd file
dendrite.primitives/package.lisp: The dendrite․primitives/dendrite․primitives/package․lisp file
dendrite.primitives/primitives-cffi.lisp: The dendrite․primitives/dendrite․primitives/primitives-cffi․lisp file
dendrite.primitives/primitives.lisp: The dendrite․primitives/dendrite․primitives/primitives․lisp file
dendrite/package.lisp: The dendrite/dendrite/package․lisp file

F
File, dendrite.asd: The dendrite/dendrite․asd file
File, dendrite.micro-l-system.asd: The dendrite․micro-l-system/dendrite․micro-l-system․asd file
File, dendrite.micro-l-system/micro-l.lisp: The dendrite․micro-l-system/dendrite․micro-l-system/micro-l․lisp file
File, dendrite.micro-l-system/package.lisp: The dendrite․micro-l-system/dendrite․micro-l-system/package․lisp file
File, dendrite.primitives.asd: The dendrite․primitives/dendrite․primitives․asd file
File, dendrite.primitives/package.lisp: The dendrite․primitives/dendrite․primitives/package․lisp file
File, dendrite.primitives/primitives-cffi.lisp: The dendrite․primitives/dendrite․primitives/primitives-cffi․lisp file
File, dendrite.primitives/primitives.lisp: The dendrite․primitives/dendrite․primitives/primitives․lisp file
File, dendrite/package.lisp: The dendrite/dendrite/package․lisp file

P
Package, dendrite: The dendrite package
Package, dendrite.micro-l-system: The dendrite․micro-l-system package
Package, dendrite.primitives: The dendrite․primitives package

S
System, dendrite: The dendrite system
System, dendrite.micro-l-system: The dendrite․micro-l-system system
System, dendrite.primitives: The dendrite․primitives system