Package org.robwork.sdurw_geometry
Class Model3D.SmoothMethod
- java.lang.Object
-
- org.robwork.sdurw_geometry.Model3D.SmoothMethod
-
- Enclosing class:
- Model3D
public static final class Model3D.SmoothMethod extends java.lang.ObjectMethod to do smoothing.
-
-
Field Summary
Fields Modifier and Type Field Description static Model3D.SmoothMethodAVERAGED_NORMALSvertex normal is determine as an avarage of all adjacent face normalsstatic Model3D.SmoothMethodWEIGHTED_NORMALSvertex normal is determined as AVARAGED_NORMALS, but with the
face normals scaled by the face area
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Model3D.SmoothMethodswigToEnum(int swigValue)intswigValue()java.lang.StringtoString()
-
-
-
Field Detail
-
AVERAGED_NORMALS
public static final Model3D.SmoothMethod AVERAGED_NORMALS
vertex normal is determine as an avarage of all adjacent face normals
-
WEIGHTED_NORMALS
public static final Model3D.SmoothMethod WEIGHTED_NORMALS
vertex normal is determined as AVARAGED_NORMALS, but with the
face normals scaled by the face area
-
-
Method Detail
-
swigValue
public final int swigValue()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
swigToEnum
public static Model3D.SmoothMethod swigToEnum(int swigValue)
-
-