endrov.typeShell
Class Shell

java.lang.Object
  extended by endrov.data.EvContainer
      extended by endrov.data.EvObject
          extended by endrov.typeShell.Shell

public class Shell
extends EvObject

Shell metadata


Field Summary
 double angle
           
 double angleinside
           
static int KEY_ROTATE
           
static int KEY_SETZ
           
static int KEY_TRANSLATE
           
 double major
          Instance *
 double midx
           
 double midy
           
 double midz
           
 double minor
          Instance *
 
Fields inherited from class endrov.data.EvContainer
author, containerIcon, coreMetadataModified, dateCreate, dateLastModify, isGeneratedData, metaObject, ostBlobID
 
Constructor Summary
Shell()
           
 
Method Summary
 void buildMetamenu(javax.swing.JMenu menu, EvContainer parentObject)
          Additions to the object-specific menu
 Shell clone()
           
 EvObject cloneEvObject()
          Get a deep copy of the object, not including children
 javax.vecmath.Vector3d getMajorAxis()
           
 java.lang.String getMetaTypeDesc()
          Desciption of data
 javax.vecmath.Vector3d getMinorAxis()
           
static void initPlugin()
          Plugin declaration
 boolean isPointInside(ImVector2d pos)
          Projected down: check if inside
 boolean isPointInside(ImVector3d pos)
          Projected down: check if inside
 void loadMetadata(org.jdom.Element e)
          Unserialize object
 java.lang.String saveMetadata(org.jdom.Element e)
          Save to XML
 
Methods inherited from class endrov.data.EvObject
cloneEvObjectRecursive, cloneUsingSerialize, getContainerIcon
 
Methods inherited from class endrov.data.EvContainer
addMetaObject, getChild, getChildNames, getFreeChildName, getIdObjects, getIdObjectsRecursive, getMetaContainer, getMetaObject, getObjects, isMetadataModified, putChild, removeMetaObjectByValue, setMetadataModified, setMetadataNotModified
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_TRANSLATE

public static final int KEY_TRANSLATE

KEY_SETZ

public static final int KEY_SETZ

KEY_ROTATE

public static final int KEY_ROTATE

major

public double major
Instance *


minor

public double minor
Instance *


midx

public double midx

midy

public double midy

midz

public double midz

angle

public double angle

angleinside

public double angleinside
Constructor Detail

Shell

public Shell()
Method Detail

saveMetadata

public java.lang.String saveMetadata(org.jdom.Element e)
Save to XML

Specified by:
saveMetadata in class EvObject

loadMetadata

public void loadMetadata(org.jdom.Element e)
Description copied from class: EvObject
Unserialize object

Specified by:
loadMetadata in class EvObject

isPointInside

public boolean isPointInside(ImVector2d pos)
Projected down: check if inside


isPointInside

public boolean isPointInside(ImVector3d pos)
Projected down: check if inside


getMetaTypeDesc

public java.lang.String getMetaTypeDesc()
Desciption of data

Specified by:
getMetaTypeDesc in class EvObject

buildMetamenu

public void buildMetamenu(javax.swing.JMenu menu,
                          EvContainer parentObject)
Additions to the object-specific menu

Specified by:
buildMetamenu in class EvObject
parentObject - TODO

getMajorAxis

public javax.vecmath.Vector3d getMajorAxis()

getMinorAxis

public javax.vecmath.Vector3d getMinorAxis()

clone

public Shell clone()
Overrides:
clone in class java.lang.Object

cloneEvObject

public EvObject cloneEvObject()
Description copied from class: EvObject
Get a deep copy of the object, not including children

Specified by:
cloneEvObject in class EvObject

initPlugin

public static void initPlugin()
Plugin declaration