Nested Class Summary
Nested classes/interfaces inherited from interface de.grogra.util.Map
Map.Chain
Field Summary
Fields
double
double
double
double
double
int
double
double
double
int
double
double
double
double
double
int
int
int
int
double
int
double
double
double
double
Fields inherited from class de.grogra.graph.impl.Node
ADDITIONAL_FIELDS , bits , DELETED , EXTENT_BIT , EXTENT_MASK , extentIndex$FIELD , extentTail$FIELD , HAS_OBSERVERS , IS_INTERPRETIVE , isInterpretive$FIELD , LAST_EXTENT_INDEX , layer$FIELD , MARK , mark$FIELD , MAX_RESOLUTION , MIME_TYPE , MIN_RESOLUTION , MIN_UNUSED_SPECIAL_OF_SOURCE , MIN_UNUSED_SPECIAL_OF_TARGET , name$FIELD , RESOLUTION_BIT , RESOLUTION_MASK , resolution$FIELD
Constructor Summary
Constructors
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
Returns compositional father of this node
Return compositional sons of this node
Get number of compositional sons.
int[]
Get the list of composition sons of this MTGNode.
static void
Find an adjacent node n to this one.
double
Gets the length attribute value of the node.
This method returns the
Node.NType
which describes the managed
fields of the class of this node.
int
Gets the order attribute value of the node.
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
int
Number of successor or branch edges from this node to an end node.
This method returns a new instance of the class of this
node.
int
Number of branch edges from this node to an end node.
void
void
void
Get the list of topological sons with specified edge type connection of this MTGNode.
int[]
Get the list of topological sons with specified edge type connection of this MTGNode.
Methods inherited from class de.grogra.imp3d.objects.ShadedNull
getInterior , getShader , isRenderAsWireframe , isTreatedAsInfinite , setBackShader , setColor , setColor , setFrontShader , setInterior , setMaterial , setRenderAsWireframe , setShader , setShaders , setTreatedAsInfinite
Methods inherited from class de.grogra.imp3d.objects.Null
getLocalTransformation , getTransform , getTranslation , isTransforming , preTransform , setRotation , setScale , setTransform , setTransform , setTransform , setTransform , setTransform , setTransform , setTransform , setTransform , setTransforming , setTranslation
Methods inherited from class de.grogra.graph.impl.Node
addEdgeBitsTo , addReference , appendBranchNode , appendBranchNode , appendReferencesTo , clone , clone , cloneGraph , dump , dumpTree , dup , dupFrom , dupnew , dupUnmanagedFields , edgeChanged , fieldModified , findAdjacent , findRefinementType , get , getAccessor , getAccessor , getAttributes , getAxisParent , getBranch , getBranchLength , getBranchNode , getBranchTail , getByte , getChar , getCommonAncestor , getCurrentGraphState , getDirectChildCount , getEdgeAttributeAccessor , getEdgeAttributes , getEdgeBitsTo , getEdgeTo , getExtentIndex , getFirst , getFirstEdge , getGraph , getId , getIgnored , getIndex , getInstantiator , getLayer , getLong , getManageableType , getName , getNeighbor , getNext , getNType , getOrCreateEdgeTo , getOrNull , getPersistenceManager , getPredecessor , getProvider , getResolution , getShort , getSource , getStamp , getSuccessor , getSymbol , getTarget , getTransaction , getUserField , getUserFieldCount , getXClass , getXData , hasName , initProvider , initXClass , insertBranchNode , insertBranchNode , instantiateGraph , isAncestorOf , isDirection , isEncoarseOf , isManagingInstance , isMarked , isRoot , isSource , isTarget , manageableReadResolve , manageableWriteReplace , paramString , removeAll , removeEdgeBitsTo , removeFromChain , removeFromChain , removeReference , setBranch , setBranch , setExtentIndex , setGraphForDeserialization , setIgnored , setLayer , setMark , setName , setResolution , setSuccessor , setSuccessor , specialEdgeAdded , specialEdgeRefModified , specialEdgeRemoved , toString , writeReplace
Methods inherited from class de.grogra.graph.impl.Edge
addEdgeBits , getBitMark , getEdgeBits , getEdgeKeys , getObjectMark , getSpecialEdgeDescriptor , parseEdgeKeys , remove , removeEdgeBits , setBitMark , setEdgeBits , setObjectMark , testEdgeBits
Field Details
mtgClassID
public int mtgClassID
mtgScale
public int mtgScale
Length
public double Length
Azimut
public double Azimut
Alpha
public double Alpha
TopDia
public double TopDia
BotDia
public double BotDia
Position
public double Position
Category
public int Category
stdAttFlag
public int stdAttFlag
dataFlag
public int dataFlag
Method Details
setDirectoryPrimary
public void setDirectoryPrimary (Vector3d dirp)
hasStdAtt
public boolean hasStdAtt (int mask)
setStdAttFlagOn
public void setStdAttFlagOn (int mask)
setStdAttFlagOff
public void setStdAttFlagOff (int mask)
hasL1
public boolean hasL1 ()
hasL2
public boolean hasL2 ()
hasL3
public boolean hasL3 ()
hasDAB
public boolean hasDAB ()
hasDAC
public boolean hasDAC ()
hasDBC
public boolean hasDBC ()
hasXX
public boolean hasXX ()
hasYY
public boolean hasYY ()
hasZZ
public boolean hasZZ ()
hasLength
public boolean hasLength ()
hasAzimut
public boolean hasAzimut ()
hasAlpha
public boolean hasAlpha ()
hasAA
public boolean hasAA ()
hasBB
public boolean hasBB ()
hasCC
public boolean hasCC ()
hasTopDia
public boolean hasTopDia ()
hasBotDia
public boolean hasBotDia ()
hasPosition
public boolean hasPosition ()
hasCategory
public boolean hasCategory ()
hasDirectionPrimary
public boolean hasDirectionPrimary ()
hasOrder
public boolean hasOrder ()
topoSons
public int[] topoSons (int edgeType)
Get the list of topological sons with specified edge type connection of this MTGNode.
topoSonNodes
public MTGNode [] topoSonNodes (int edgeType)
Get the list of topological sons with specified edge type connection of this MTGNode.
compoFather
Returns compositional father of this node
Returns:
MTGNode
compoSons
Return compositional sons of this node
compoSonsIds
public int[] compoSonsIds ()
Get the list of composition sons of this MTGNode.
compoSonsCount
Get number of compositional sons.
Returns:
number of compositional sons.
getOrder
public int getOrder ()
Gets the order attribute value of the node.
Returns:
order
getLength
public double getLength ()
Gets the length attribute value of the node.
Returns:
length
findAdjacentMTG
public MTGNode findAdjacentMTG (boolean out,
int edgeBits,
String entityClass,
int entityIndex)
Find an adjacent node n to this one. The edgeBits are used to determine
if a relation between those two nodes exists (
Edge.testEdgeBits(int)
).
If out is true and this node is the source or if in is true and this node
is the target, n is returned. Thus, if in and out is true, any adjacent
node where the connecting edge matches the edgeBits is considered.
Parameters:
in
- true if edges incoming to this node should be considered
out
- true if edges outgoing from this node should be considered
edgeBits
- the type/types of edges to consider
Returns:
an adjacent node that matches the criteria or null if none found
getNTypeImpl
Description copied from class: Node
This method returns the
Node.NType
which describes the managed
fields of the class of this node. This method has to be implemented
in every concrete subclass.
Overrides:
getNTypeImpl
in class F
Returns:
type describing the managed fields of the class of this node
newInstance
protected Node newInstance ()
Description copied from class: Node
This method returns a new instance of the class of this
node. This method has to be implemented in every concrete subclass.
Overrides:
newInstance
in class F
Returns:
new instance of class of this node
copyStdAttributes
public static void copyStdAttributes (MTGNode oldNode,
MTGNode newNode)