Class Body

java.lang.Object
  extended by Body

public class Body
extends java.lang.Object


Constructor Summary
Body()
           
Body(Circle head, Circle righthand, Circle lefthand, Circle rightfoot, Circle leftfoot, int gaze, java.awt.geom.Line2D.Float shoulderLine)
           
 
Method Summary
 Body cloneBody()
           
 Body fitBodyinBox(java.awt.Rectangle box)
           
 Circle fitCircleInBox(Circle circle, java.awt.Rectangle box)
           
 int getGaze()
           
 Circle getHead()
           
 Circle getLeftfoot()
           
 Circle getLefthand()
           
 Circle getRightfoot()
           
 Circle getRighthand()
           
 java.awt.geom.Line2D.Float getShoulderLine()
           
 boolean isGazeDraw()
           
 boolean isHeadDraw()
           
 boolean isLeftFootDraw()
           
 boolean isLeftHandDraw()
           
 boolean isNull()
           
 boolean isRightFootDraw()
           
 boolean isRightHandDraw()
           
 boolean isShouldersDraw()
           
 boolean isVisiblehead()
           
 boolean isVisibleleftfoot()
           
 boolean isVisiblelefthand()
           
 boolean isVisibleleftshoulder()
           
 boolean isVisiblerightfoot()
           
 boolean isVisiblerighthand()
           
 boolean isVisiblerightshoulder()
           
 void setCirclewithType(Circle circle)
           
 void setCirclewithTypeSpecified(Circle circle, int type)
           
 void setGaze(int gaze)
           
 void setHead(Circle head)
           
 void setLeftfoot(Circle circle)
           
 void setLefthand(Circle circle)
           
 void setRightfoot(Circle circle)
           
 void setRighthand(Circle circle)
           
 void setShoulderLine(java.awt.geom.Line2D.Float float1)
           
 void setVisiblehead(boolean visiblehead)
           
 void setVisibleleftfoot(boolean visibleleftfoot)
           
 void setVisiblelefthand(boolean visiblelefthand)
           
 void setVisibleleftshoulder(boolean visibleleftshoulder)
           
 void setVisiblerightfoot(boolean visiblerightfoot)
           
 void setVisiblerighthand(boolean visiblerighthand)
           
 void setVisiblerightshoulder(boolean visiblerightshoulder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Body

public Body()

Body

public Body(Circle head,
            Circle righthand,
            Circle lefthand,
            Circle rightfoot,
            Circle leftfoot,
            int gaze,
            java.awt.geom.Line2D.Float shoulderLine)
Method Detail

cloneBody

public Body cloneBody()

setCirclewithType

public void setCirclewithType(Circle circle)

setCirclewithTypeSpecified

public void setCirclewithTypeSpecified(Circle circle,
                                       int type)

fitCircleInBox

public Circle fitCircleInBox(Circle circle,
                             java.awt.Rectangle box)

fitBodyinBox

public Body fitBodyinBox(java.awt.Rectangle box)

isNull

public boolean isNull()

isHeadDraw

public boolean isHeadDraw()

isRightFootDraw

public boolean isRightFootDraw()

isLeftFootDraw

public boolean isLeftFootDraw()

isRightHandDraw

public boolean isRightHandDraw()

isLeftHandDraw

public boolean isLeftHandDraw()

isShouldersDraw

public boolean isShouldersDraw()

isGazeDraw

public boolean isGazeDraw()

getLeftfoot

public Circle getLeftfoot()
Returns:

getLefthand

public Circle getLefthand()
Returns:

getRightfoot

public Circle getRightfoot()
Returns:

getRighthand

public Circle getRighthand()
Returns:

getShoulderLine

public java.awt.geom.Line2D.Float getShoulderLine()
Returns:

setLeftfoot

public void setLeftfoot(Circle circle)
Parameters:
circle -

setLefthand

public void setLefthand(Circle circle)
Parameters:
circle -

setRightfoot

public void setRightfoot(Circle circle)
Parameters:
circle -

setRighthand

public void setRighthand(Circle circle)
Parameters:
circle -

setShoulderLine

public void setShoulderLine(java.awt.geom.Line2D.Float float1)
Parameters:
float1 -

isVisiblehead

public boolean isVisiblehead()
Returns:
Returns the visiblehead.

setVisiblehead

public void setVisiblehead(boolean visiblehead)
Parameters:
visiblehead - The visiblehead to set.

isVisibleleftfoot

public boolean isVisibleleftfoot()
Returns:
Returns the visibleleftfoot.

setVisibleleftfoot

public void setVisibleleftfoot(boolean visibleleftfoot)
Parameters:
visibleleftfoot - The visibleleftfoot to set.

isVisiblelefthand

public boolean isVisiblelefthand()
Returns:
Returns the visiblelefthand.

setVisiblelefthand

public void setVisiblelefthand(boolean visiblelefthand)
Parameters:
visiblelefthand - The visiblelefthand to set.

isVisiblerightfoot

public boolean isVisiblerightfoot()
Returns:
Returns the visiblerightfoot.

setVisiblerightfoot

public void setVisiblerightfoot(boolean visiblerightfoot)
Parameters:
visiblerightfoot - The visiblerightfoot to set.

isVisiblerighthand

public boolean isVisiblerighthand()
Returns:
Returns the visiblerighthand.

setVisiblerighthand

public void setVisiblerighthand(boolean visiblerighthand)
Parameters:
visiblerighthand - The visiblerighthand to set.

isVisiblerightshoulder

public boolean isVisiblerightshoulder()
Returns:
Returns the visiblerightshoulder.

setVisiblerightshoulder

public void setVisiblerightshoulder(boolean visiblerightshoulder)
Parameters:
visiblerightshoulder - The visiblerightshoulder to set.

getGaze

public int getGaze()
Returns:
Returns the gaze.

setGaze

public void setGaze(int gaze)
Parameters:
gaze - The gaze to set.

getHead

public Circle getHead()
Returns:
Returns the head.

setHead

public void setHead(Circle head)
Parameters:
head - The head to set.

isVisibleleftshoulder

public boolean isVisibleleftshoulder()
Returns:
Returns the visibleleftshoulder.

setVisibleleftshoulder

public void setVisibleleftshoulder(boolean visibleleftshoulder)
Parameters:
visibleleftshoulder - The visibleleftshoulder to set.