motris.model
Class GeneralizedCone

java.lang.Object
  extended bymotris.data.Description
      extended byparameter.ParameterizedObjectAdaptor
          extended bymotris.model.VolumeRepresentation
              extended bymotris.model.GeneralizedCone
All Implemented Interfaces:
ParameterizedObject

public class GeneralizedCone
extends VolumeRepresentation


Nested Class Summary
 
Nested classes inherited from class parameter.ParameterizedObject
ParameterizedObject.ParameterChangedListener, ParameterizedObject.ParameterizedObjectManager
 
Field Summary
(package private)  boolean complete
           
(package private)  boolean hasStructureChanged
           
(package private)  Parameter Length
           
(package private)  Parameter[] LowerCap
           
(package private)  int numberOfDiscretizationPoints
           
(package private)  int numberofsegments
           
(package private)  Parameter[] UpperCap
           
 
Fields inherited from class motris.model.VolumeRepresentation
parent
 
Fields inherited from class parameter.ParameterizedObjectAdaptor
parameterChangedNotifyList
 
Fields inherited from class motris.data.Description
 
Constructor Summary
GeneralizedCone()
           
GeneralizedCone(RigidModel _parent, ParameterSet _params, State currentState)
           
 
Method Summary
 DoubleMatrix getDerivedBackprojection(DoubleVector point, DoubleVector direction)
           
 ParameterSet getParameters()
          Get a Vector of Strings with a description of each Parameter
 boolean hasStructureChanged()
          Check whether the Structure (ie the set of edges and polygons, not just the position of the vertices) has changed
private  Double4Vector OrientedCylindricalToCartesian(double angleDeg, double height, DoubleVector CameraOriginInLocal)
           
 boolean setParameters(ParameterSet _params)
          Set Parameters of this class
 void updateSceneGeometry(SceneGeometry geometry, Camera cam, DoubleVector CameraOriginLocal, JSci.maths.DoubleSquareMatrix toGlobalTransform, DoubleMatrix[] firstDerivative)
          update the Scene geometry
 
Methods inherited from class parameter.ParameterizedObjectAdaptor
addParameterChangedListener, finalize, fireParameterChanged, parameterEdited, removeParameterChangedListener
 
Methods inherited from class motris.data.Description
getDescription, getIdentifier, getName, setDescription, setIdentifier, setName
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UpperCap

Parameter[] UpperCap

LowerCap

Parameter[] LowerCap

Length

Parameter Length

numberOfDiscretizationPoints

int numberOfDiscretizationPoints

numberofsegments

int numberofsegments

complete

boolean complete

hasStructureChanged

boolean hasStructureChanged
Constructor Detail

GeneralizedCone

public GeneralizedCone()

GeneralizedCone

public GeneralizedCone(RigidModel _parent,
                       ParameterSet _params,
                       State currentState)
Method Detail

OrientedCylindricalToCartesian

private Double4Vector OrientedCylindricalToCartesian(double angleDeg,
                                                     double height,
                                                     DoubleVector CameraOriginInLocal)

getParameters

public ParameterSet getParameters()
Description copied from interface: ParameterizedObject
Get a Vector of Strings with a description of each Parameter

Specified by:
getParameters in interface ParameterizedObject
Overrides:
getParameters in class ParameterizedObjectAdaptor

setParameters

public boolean setParameters(ParameterSet _params)
Description copied from interface: ParameterizedObject
Set Parameters of this class

Specified by:
setParameters in interface ParameterizedObject
Overrides:
setParameters in class ParameterizedObjectAdaptor

getDerivedBackprojection

public DoubleMatrix getDerivedBackprojection(DoubleVector point,
                                             DoubleVector direction)

updateSceneGeometry

public void updateSceneGeometry(SceneGeometry geometry,
                                Camera cam,
                                DoubleVector CameraOriginLocal,
                                JSci.maths.DoubleSquareMatrix toGlobalTransform,
                                DoubleMatrix[] firstDerivative)
Description copied from class: VolumeRepresentation
update the Scene geometry

Specified by:
updateSceneGeometry in class VolumeRepresentation
Parameters:
geometry - to be updated
CameraOriginLocal - camera origin in local (i.e. volume object) coordinates

hasStructureChanged

public boolean hasStructureChanged()
Description copied from class: VolumeRepresentation
Check whether the Structure (ie the set of edges and polygons, not just the position of the vertices) has changed

Specified by:
hasStructureChanged in class VolumeRepresentation
Returns:
structure changed