public class IConfig
extends java.lang.Object
Modifier and Type  Field and Description 

static IColor 
ambientColor
default ambient color

static double 
angleTolerance
A parameter to check identical direction in angle.

static float 
arrowSize
default vector graphic arrow size

static float 
arrowWidthRatio
default vector graphic arrow width ratio

static boolean 
autoFocusAtStart
enable focus after geometries created in setup method

static double 
axonometricRatio
default axonometric ratio

static IColor 
bgColor1 
static IColor 
bgColor2 
static IColor 
bgColor3 
static IColor 
bgColor4 
static int 
cacheRecursionMaxDepth
max depth of recursive search of closest point

static boolean 
checkAdjacentWalls
When this option is true, IWall checks all other exsiting walls to see if the particle is also colliging into other walls.

static boolean 
checkDuplicatedControlPoint
when NURBS geometry is created at a constructor, if any control points share a same instance, another instance is created with dup().

static boolean 
checkDuplicatedControlPointOnEdge
when NURBS geometry is created at a constructor, if control points on edges share a same instance, another instance is created with dup().

static boolean 
checkValidControlPoint
when NURBS geometry is created at a constructor, checking validity (not infinite nor NaN) of numbers if this is true.

static boolean 
clearBG
in every drawing cycle, background is cleared with specified background color or gradient

static boolean 
clearParticleForceInPostupdate
frc.zero called in IParticleGeo if this is true and also IConfig.enablePostupdate is true

static boolean 
cullVertexBehindViewInGL
check and remove vertices behind view location in OpenGL graphics

static boolean 
cullVertexBehindViewInP3D
check and remove vertices behind view location in P3D graphics

static int 
curveCacheResolution
resolution per EP for cache points of curve for search of closest point on curve

static double 
defaultAIExportPixelScale 
static double 
defaultAIExportScale
AI Export

static boolean 
defaultConstantFieldIntensity 
static double 
defaultFieldIntensity
field properties

static boolean 
deleteGraphicObjectsAfterDraw
all graphic objects in IGraphicServer are deleted once drawn in a panel
(objects in IServer and dynamics in IDynamicServer are preserved)
usually used with clearBackground=false

static boolean 
depthSort
enable depth test in GL graphics / depth sort in P3D graphics.

static boolean 
disableDepthTest
forcefully disable depth test in GL

static boolean 
drawOrderForward
set order of drawing in forward (from old to new) or backwards.

static IColor 
emissiveColor
default emissive color

static boolean 
enablePostinteract
enable postinteract method in IDynamicServer.

static boolean 
enablePostupdate
enable postupdate method in IDynamicServer.

static boolean 
enablePreinteract
enable preinteract method in IDynamicServer.

static boolean 
enablePreupdate
enable preupdate method in IDynamicServer.

static double 
farViewRatio
default far clipping distance.

static boolean 
insertBouncePointInTrajectory
Boolean option to turn on/off inserting an interesection point on IWall when bouncing into
a trajectory curve of ITrajectoryI.

static int 
isoparmResolution
Number of isoperms to draw surfaces in graphic classes.

static double 
keyAxonometricPanSpeed
Speed of panning in keyboard (arrow keys in default) 3D navigation in axonometric view in INavigator class.

static double 
keyPerspectivePanSpeed
Speed of panning in keyboard (arrow keys in default) 3D navigation in perspective view in INavigator class.

static double 
keyPerspectiveZoomSpeed
Speed of zooming in keyboard (arrow keys in default) 3D navigation in perspective view in INavigator class.

static double 
keyRotationSpeed
Speed of rotation in keyboard (arrow keys in default) 3D navigation in INavigator class.

static double 
keyZoomSpeed
Speed of zooming in keyboard (arrow keys in default) 3D navigation in axonometric view in INavigator class.

static boolean 
lightWireframe
change wireframe colors by lights when using lights

static boolean 
loopPostinteract
put postinteract method in another independent forloop in IDynamicServer.

static boolean 
loopPostupdate
put postupdate method in another independent forloop in IDynamicServer.

static boolean 
loopPreinteract
put preinteract method in another independent forloop in IDynamicServer.

static boolean 
loopPreupdate
put preupdate method in another independent forloop in IDynamicServer.

static int 
maxObjectNumberForDepthSort
if number of objects exceeds this, it automatically turn off depth sort in P3D.

static int 
meshCircleResolution
number to facet circle to approximate it in polygon mesh.

static double 
mouseAxonometricPanSpeed
Speed of panning in mouse 3D navigation in axonometric view in INavigator class.

static double 
mouseAxonometricZoomSpeed
Speed of zooming in mouse 3D navigation in axonometric view in INavigator class.

static double 
mousePerspectivePanResolution
Amount of panning in perspective view by one pixel move of mouse is equal to bounding box size of existing geometry devided by this resolution.

static double 
mousePerspectiveZoomResolution
Amount of zoom in perspective view by one pixel move of mouse is equal to bounding box size of existing geometry devided by this resolution.

static double 
mouseRotationSpeed
Speed of rotation in mouse 3D navigation in INavigator class.

static double 
mouseWheelZoomSpeed
Speed of zooming in mouse 3D navigation in both axonometric and perspective view in INavigator class.

static double 
nearViewRatio
default near clipping distance.

static IColor 
objectColor
default object color to draw

static double 
parameterTolerance
A parameter to check identical location in UV parametric space in NURBS geometry.

static double 
perspectiveRatio
default perspective ratio

static float 
pointSize
default point graphic dot size

static boolean 
read3dmUserData
Rhino 3dm Import

static boolean 
removeDuplicatesAtMeshCreation
remove duplicated vertices and edges under the tolerance = IConfig.tolerance automatically when a mesh is created in new IMesh(IFace[] faces)

static int 
segmentResolution
Point resolution per edit points to draw curves in graphic classes.

static float 
shininess
default shininess

static boolean 
smoothGraphicP3D
turn on smooth option in P3D.

static IColor 
specularColor
default specular color

static IColor 
strokeColor
default stroke color to draw

static float 
strokeWeight
default stroke weight to draw

static int 
surfaceCacheResolution
resolution per EP for cache points of surface for search of closest point on surface

static boolean 
syncDrawAndDynamics
synchronize draw loop and dynamics updating loop instead of using another thread.

static int 
tessellationResolution
Number of division per edit point to tesselate a surface into mesh.

static double 
tolerance
A parameter to check identical location.

static int 
transparentModeAlpha
transparency in transparent graphic mode in integer 0  255 (it used to be float 0.01.0.

static boolean 
transparentWireframe
make wireframe transparent in transparent display mode

static int 
trimApproximationResolution
This is only for saving brep or trimmed surface to Rhino file where
the 2D trim curve is also required to have 3D representation;
3D curve is approximated with sampled points in this resolution.

static int 
trimSegmentResolution
Point resolution per the isoparm segment to draw trim curves of surfaces.

static boolean 
updateMeshNormal
update normal vector of mesh when its graphics is updated by agents.

static double 
updateRate
update speed of dynamics thread in seccond

static boolean 
useLight
turn on lights on display

static double 
viewDistance
default view distance

static double 
viewDistanceRatio
view distance ration.

Constructor and Description 

IConfig() 
public static double tolerance
public static double parameterTolerance
public static double angleTolerance
public static int segmentResolution
public static int isoparmResolution
public static int tessellationResolution
public static int trimSegmentResolution
public static int trimApproximationResolution
public static IColor objectColor
public static IColor strokeColor
public static float strokeWeight
public static IColor ambientColor
public static IColor emissiveColor
public static IColor specularColor
public static float shininess
public static int transparentModeAlpha
public static IColor bgColor1
public static IColor bgColor2
public static IColor bgColor3
public static IColor bgColor4
public static float pointSize
public static float arrowSize
public static float arrowWidthRatio
public static boolean useLight
public static boolean lightWireframe
public static boolean transparentWireframe
public static boolean cullVertexBehindViewInP3D
public static boolean cullVertexBehindViewInGL
public static boolean depthSort
public static boolean disableDepthTest
public static int maxObjectNumberForDepthSort
public static boolean smoothGraphicP3D
public static boolean drawOrderForward
public static boolean deleteGraphicObjectsAfterDraw
public static boolean clearBG
public static int meshCircleResolution
public static boolean updateMeshNormal
public static boolean removeDuplicatesAtMeshCreation
public static int curveCacheResolution
public static int surfaceCacheResolution
public static int cacheRecursionMaxDepth
public static double defaultFieldIntensity
public static boolean defaultConstantFieldIntensity
public static double updateRate
public static boolean enablePreinteract
public static boolean enablePostinteract
public static boolean enablePreupdate
public static boolean enablePostupdate
public static boolean loopPreinteract
public static boolean loopPostinteract
public static boolean loopPreupdate
public static boolean loopPostupdate
public static boolean syncDrawAndDynamics
public static boolean clearParticleForceInPostupdate
public static boolean insertBouncePointInTrajectory
public static boolean checkAdjacentWalls
public static double mouseRotationSpeed
public static double mousePerspectivePanResolution
public static double mouseAxonometricPanSpeed
public static double mousePerspectiveZoomResolution
public static double mouseAxonometricZoomSpeed
public static double mouseWheelZoomSpeed
public static boolean autoFocusAtStart
public static double keyRotationSpeed
public static double keyPerspectivePanSpeed
public static double keyAxonometricPanSpeed
public static double keyPerspectiveZoomSpeed
public static double keyZoomSpeed
public static double nearViewRatio
public static double farViewRatio
public static double viewDistanceRatio
public static double viewDistance
public static double axonometricRatio
public static double perspectiveRatio
public static boolean checkDuplicatedControlPointOnEdge
public static boolean checkDuplicatedControlPoint
public static boolean checkValidControlPoint
public static double defaultAIExportScale
public static double defaultAIExportPixelScale
public static boolean read3dmUserData