public class QuadTree extends Object implements org.gephi.graph.api.Node
| Modifier and Type | Field and Description |
|---|---|
static float |
eps |
| Constructor and Description |
|---|
QuadTree(float posX,
float posY,
float size,
int maxLevel) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addInterval(org.gephi.graph.api.Interval interval) |
boolean |
addNode(org.gephi.graph.api.NodeProperties node) |
boolean |
addTimestamp(double timestamp) |
float |
alpha() |
float |
b() |
static QuadTree |
buildTree(org.gephi.graph.api.Graph graph,
int maxLevel) |
void |
clearAttributes() |
float |
g() |
Object |
getAttribute(org.gephi.graph.api.Column column) |
Object |
getAttribute(org.gephi.graph.api.Column column,
double timestamp) |
Object |
getAttribute(org.gephi.graph.api.Column column,
org.gephi.graph.api.GraphView view) |
Object |
getAttribute(org.gephi.graph.api.Column column,
org.gephi.graph.api.Interval interval) |
Object |
getAttribute(String key) |
Object |
getAttribute(String key,
double timestamp) |
Object |
getAttribute(String key,
org.gephi.graph.api.GraphView view) |
Object |
getAttribute(String key,
org.gephi.graph.api.Interval interval) |
org.gephi.graph.api.ColumnIterable |
getAttributeColumns() |
Set<String> |
getAttributeKeys() |
Object[] |
getAttributes() |
Iterable<Map.Entry> |
getAttributes(org.gephi.graph.api.Column column) |
Iterable<QuadTree> |
getChildren() |
Color |
getColor() |
Object |
getId() |
org.gephi.graph.api.Interval[] |
getIntervals() |
String |
getLabel() |
<T extends org.gephi.graph.spi.LayoutData> |
getLayoutData() |
int |
getRGBA() |
int |
getStoreId() |
org.gephi.graph.api.Table |
getTable() |
org.gephi.graph.api.TextProperties |
getTextProperties() |
double[] |
getTimestamps() |
boolean |
hasInterval(org.gephi.graph.api.Interval interval) |
boolean |
hasTimestamp(double timestamp) |
boolean |
isFixed() |
boolean |
isIsLeaf() |
int |
mass() |
float |
r() |
Object |
removeAttribute(org.gephi.graph.api.Column column) |
Object |
removeAttribute(org.gephi.graph.api.Column column,
double timestamp) |
Object |
removeAttribute(org.gephi.graph.api.Column column,
org.gephi.graph.api.Interval interval) |
Object |
removeAttribute(String key) |
Object |
removeAttribute(String key,
double timestamp) |
Object |
removeAttribute(String key,
org.gephi.graph.api.Interval interval) |
boolean |
removeInterval(org.gephi.graph.api.Interval interval) |
boolean |
removeTimestamp(double timestamp) |
void |
setAlpha(float a) |
void |
setAttribute(org.gephi.graph.api.Column column,
Object value) |
void |
setAttribute(org.gephi.graph.api.Column column,
Object value,
double timestamp) |
void |
setAttribute(org.gephi.graph.api.Column column,
Object value,
org.gephi.graph.api.Interval interval) |
void |
setAttribute(String key,
Object value) |
void |
setAttribute(String key,
Object value,
double timestamp) |
void |
setAttribute(String key,
Object value,
org.gephi.graph.api.Interval interval) |
void |
setB(float b) |
void |
setColor(Color color) |
void |
setFixed(boolean fixed) |
void |
setG(float g) |
void |
setLabel(String label) |
void |
setLayoutData(org.gephi.graph.spi.LayoutData layoutData) |
void |
setPosition(float x,
float y) |
void |
setPosition(float x,
float y,
float z) |
void |
setR(float r) |
void |
setSize(float size) |
void |
setX(float x) |
void |
setY(float y) |
void |
setZ(float z) |
float |
size() |
float |
x() |
float |
y() |
float |
z() |
public static final float eps
public static QuadTree buildTree(org.gephi.graph.api.Graph graph, int maxLevel)
public float size()
size in interface org.gephi.graph.api.NodePropertiespublic float x()
x in interface org.gephi.graph.api.NodePropertiespublic float y()
y in interface org.gephi.graph.api.NodePropertiespublic int mass()
public float z()
z in interface org.gephi.graph.api.NodePropertiespublic boolean addNode(org.gephi.graph.api.NodeProperties node)
public boolean isIsLeaf()
public float r()
r in interface org.gephi.graph.api.ElementPropertiespublic float g()
g in interface org.gephi.graph.api.ElementPropertiespublic float b()
b in interface org.gephi.graph.api.ElementPropertiespublic int getRGBA()
getRGBA in interface org.gephi.graph.api.ElementPropertiespublic Color getColor()
getColor in interface org.gephi.graph.api.ElementPropertiespublic float alpha()
alpha in interface org.gephi.graph.api.ElementPropertiespublic boolean isFixed()
isFixed in interface org.gephi.graph.api.NodePropertiespublic <T extends org.gephi.graph.spi.LayoutData> T getLayoutData()
getLayoutData in interface org.gephi.graph.api.NodePropertiespublic org.gephi.graph.api.TextProperties getTextProperties()
getTextProperties in interface org.gephi.graph.api.ElementPropertiespublic int getStoreId()
getStoreId in interface org.gephi.graph.api.Elementpublic void setX(float x)
setX in interface org.gephi.graph.api.NodePropertiespublic void setY(float y)
setY in interface org.gephi.graph.api.NodePropertiespublic void setZ(float z)
setZ in interface org.gephi.graph.api.NodePropertiespublic void setPosition(float x,
float y)
setPosition in interface org.gephi.graph.api.NodePropertiespublic void setPosition(float x,
float y,
float z)
setPosition in interface org.gephi.graph.api.NodePropertiespublic void setR(float r)
setR in interface org.gephi.graph.api.ElementPropertiespublic void setG(float g)
setG in interface org.gephi.graph.api.ElementPropertiespublic void setB(float b)
setB in interface org.gephi.graph.api.ElementPropertiespublic void setAlpha(float a)
setAlpha in interface org.gephi.graph.api.ElementPropertiespublic void setColor(Color color)
setColor in interface org.gephi.graph.api.ElementPropertiespublic void setSize(float size)
setSize in interface org.gephi.graph.api.NodePropertiespublic void setFixed(boolean fixed)
setFixed in interface org.gephi.graph.api.NodePropertiespublic void setLayoutData(org.gephi.graph.spi.LayoutData layoutData)
setLayoutData in interface org.gephi.graph.api.NodePropertiespublic Object getId()
getId in interface org.gephi.graph.api.Elementpublic String getLabel()
getLabel in interface org.gephi.graph.api.Elementpublic Object getAttribute(String key)
getAttribute in interface org.gephi.graph.api.Elementpublic Object getAttribute(org.gephi.graph.api.Column column)
getAttribute in interface org.gephi.graph.api.Elementpublic Object[] getAttributes()
getAttributes in interface org.gephi.graph.api.Elementpublic Set<String> getAttributeKeys()
getAttributeKeys in interface org.gephi.graph.api.Elementpublic org.gephi.graph.api.ColumnIterable getAttributeColumns()
getAttributeColumns in interface org.gephi.graph.api.Elementpublic Object removeAttribute(String key)
removeAttribute in interface org.gephi.graph.api.Elementpublic Object removeAttribute(org.gephi.graph.api.Column column)
removeAttribute in interface org.gephi.graph.api.Elementpublic void setLabel(String label)
setLabel in interface org.gephi.graph.api.Elementpublic void setAttribute(String key, Object value)
setAttribute in interface org.gephi.graph.api.Elementpublic void setAttribute(org.gephi.graph.api.Column column,
Object value)
setAttribute in interface org.gephi.graph.api.Elementpublic void setAttribute(String key, Object value, double timestamp)
setAttribute in interface org.gephi.graph.api.Elementpublic void setAttribute(org.gephi.graph.api.Column column,
Object value,
double timestamp)
setAttribute in interface org.gephi.graph.api.Elementpublic boolean addTimestamp(double timestamp)
addTimestamp in interface org.gephi.graph.api.Elementpublic boolean removeTimestamp(double timestamp)
removeTimestamp in interface org.gephi.graph.api.Elementpublic double[] getTimestamps()
getTimestamps in interface org.gephi.graph.api.Elementpublic void clearAttributes()
clearAttributes in interface org.gephi.graph.api.Elementpublic Object getAttribute(String key, double timestamp)
getAttribute in interface org.gephi.graph.api.Elementpublic Object getAttribute(org.gephi.graph.api.Column column, double timestamp)
getAttribute in interface org.gephi.graph.api.Elementpublic Object getAttribute(String key, org.gephi.graph.api.GraphView view)
getAttribute in interface org.gephi.graph.api.Elementpublic Object getAttribute(org.gephi.graph.api.Column column, org.gephi.graph.api.GraphView view)
getAttribute in interface org.gephi.graph.api.Elementpublic boolean hasTimestamp(double timestamp)
hasTimestamp in interface org.gephi.graph.api.Elementpublic Object getAttribute(String key, org.gephi.graph.api.Interval interval)
getAttribute in interface org.gephi.graph.api.Elementpublic Object getAttribute(org.gephi.graph.api.Column column, org.gephi.graph.api.Interval interval)
getAttribute in interface org.gephi.graph.api.Elementpublic Iterable<Map.Entry> getAttributes(org.gephi.graph.api.Column column)
getAttributes in interface org.gephi.graph.api.Elementpublic Object removeAttribute(String key, double timestamp)
removeAttribute in interface org.gephi.graph.api.Elementpublic Object removeAttribute(org.gephi.graph.api.Column column, double timestamp)
removeAttribute in interface org.gephi.graph.api.Elementpublic Object removeAttribute(String key, org.gephi.graph.api.Interval interval)
removeAttribute in interface org.gephi.graph.api.Elementpublic Object removeAttribute(org.gephi.graph.api.Column column, org.gephi.graph.api.Interval interval)
removeAttribute in interface org.gephi.graph.api.Elementpublic void setAttribute(String key, Object value, org.gephi.graph.api.Interval interval)
setAttribute in interface org.gephi.graph.api.Elementpublic void setAttribute(org.gephi.graph.api.Column column,
Object value,
org.gephi.graph.api.Interval interval)
setAttribute in interface org.gephi.graph.api.Elementpublic boolean addInterval(org.gephi.graph.api.Interval interval)
addInterval in interface org.gephi.graph.api.Elementpublic boolean removeInterval(org.gephi.graph.api.Interval interval)
removeInterval in interface org.gephi.graph.api.Elementpublic boolean hasInterval(org.gephi.graph.api.Interval interval)
hasInterval in interface org.gephi.graph.api.Elementpublic org.gephi.graph.api.Interval[] getIntervals()
getIntervals in interface org.gephi.graph.api.Elementpublic org.gephi.graph.api.Table getTable()
getTable in interface org.gephi.graph.api.ElementCopyright © 2007–2017. All rights reserved.