Class DxfTABLE_VIEW_ITEM
- java.lang.Object
-
- org.hortonmachine.gears.io.dxfdwg.libs.dxf.DxfTABLE_ITEM
-
- org.hortonmachine.gears.io.dxfdwg.libs.dxf.DxfTABLE_VIEW_ITEM
-
public class DxfTABLE_VIEW_ITEM extends DxfTABLE_ITEM
The VIEW item in the TABLES section There is a static reader to read the item in a DXF file and a toString method able to write it in a DXF form- Version:
- 0.5.0
- Author:
- Micha�l Michaud
-
-
Constructor Summary
Constructors Constructor Description DxfTABLE_VIEW_ITEM(String name, int flags)DxfTABLE_VIEW_ITEM(String name, int flags, float viewHeight, float viewWidth, double viewCenterPointX, double viewCenterPointY, double[] viewDirectionFromTarget, double[] targetPoint, float lensLength, double frontClippingPlaneOffset, double backClippingPlaneOffset, float twistAngle, int viewMode)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetBackClippingPlaneOffset()doublegetFrontClippingPlaneOffset()floatgetLensLength()double[]getTargetPoint()floatgetTwistAngle()doublegetViewCenterPointX()doublegetViewCenterPointY()double[]getViewDirectionFromTarget()floatgetViewHeight()intgetViewMode()floatgetViewWidth()static MapreadTable(RandomAccessFile raf)voidsetBackClippingPlaneOffset(double backClippingPlaneOffset)voidsetFrontClippingPlaneOffset(double frontClippingPlaneOffset)voidsetLensLength(float lensLength)voidsetTargetPoint(double[] targetPoint)voidsetTwistAngle(float twistAngle)voidsetViewCenterPointX(double viewCenterPointX)voidsetViewCenterPointY(double viewCenterPointY)voidsetViewDirectionFromTarget(double[] viewDirectionFromTarget)voidsetViewHeight(float viewHeight)voidsetViewMode(int viewMode)voidsetViewWidth(float viewWidth)StringtoString()
-
-
-
Constructor Detail
-
DxfTABLE_VIEW_ITEM
public DxfTABLE_VIEW_ITEM(String name, int flags)
-
DxfTABLE_VIEW_ITEM
public DxfTABLE_VIEW_ITEM(String name, int flags, float viewHeight, float viewWidth, double viewCenterPointX, double viewCenterPointY, double[] viewDirectionFromTarget, double[] targetPoint, float lensLength, double frontClippingPlaneOffset, double backClippingPlaneOffset, float twistAngle, int viewMode)
-
-
Method Detail
-
getViewHeight
public float getViewHeight()
-
getViewWidth
public float getViewWidth()
-
getViewCenterPointX
public double getViewCenterPointX()
-
getViewCenterPointY
public double getViewCenterPointY()
-
getViewDirectionFromTarget
public double[] getViewDirectionFromTarget()
-
getTargetPoint
public double[] getTargetPoint()
-
getLensLength
public float getLensLength()
-
getFrontClippingPlaneOffset
public double getFrontClippingPlaneOffset()
-
getBackClippingPlaneOffset
public double getBackClippingPlaneOffset()
-
getTwistAngle
public float getTwistAngle()
-
getViewMode
public int getViewMode()
-
setViewHeight
public void setViewHeight(float viewHeight)
-
setViewWidth
public void setViewWidth(float viewWidth)
-
setViewCenterPointX
public void setViewCenterPointX(double viewCenterPointX)
-
setViewCenterPointY
public void setViewCenterPointY(double viewCenterPointY)
-
setViewDirectionFromTarget
public void setViewDirectionFromTarget(double[] viewDirectionFromTarget)
-
setTargetPoint
public void setTargetPoint(double[] targetPoint)
-
setLensLength
public void setLensLength(float lensLength)
-
setFrontClippingPlaneOffset
public void setFrontClippingPlaneOffset(double frontClippingPlaneOffset)
-
setBackClippingPlaneOffset
public void setBackClippingPlaneOffset(double backClippingPlaneOffset)
-
setTwistAngle
public void setTwistAngle(float twistAngle)
-
setViewMode
public void setViewMode(int viewMode)
-
readTable
public static Map readTable(RandomAccessFile raf) throws IOException
- Throws:
IOException
-
toString
public String toString()
- Overrides:
toStringin classDxfTABLE_ITEM
-
-