Method | Description | |
---|---|---|
AddColor ( Color color, |
Adds the color.
|
|
GetPaletteIndex ( Color color, |
Gets the index of the palette.
|
|
OctreeNode ( |
Initializes a new instance of the OctreeNode class.
|
|
RemoveLeaves ( |
Removes the leaves by summing all it's color components and pixel presence.
|
Method | Description | |
---|---|---|
GetColorIndexAtLevel ( Color color, |
Calculates the color component bit (level) index.
|
|
SetPaletteIndex ( |
Sets a palette index to this node.
|
public AddColor ( Color color, |
||
color | Color | The color. |
level | The level. | |
parent | The parent. | |
return | void |
public GetPaletteIndex ( Color color, |
||
color | Color | The color. |
level | The level. | |
return |
public OctreeNode ( |
||
level | ||
parent | ||
return | System |
public RemoveLeaves ( |
||
level | ||
activeColorCount | ||
targetColorCount | ||
parent | ||
return |