| Modifier and Type | Field and Description |
|---|---|
| public static final int | PAR_U_MODE_DISTANCE
Configures how the library assigns UV coordinates. |
| public static final int | PAR_U_MODE_NORMALIZED_DISTANCE
Configures how the library assigns UV coordinates. |
| public static final int | PAR_U_MODE_SEGMENT_FRACTION
Configures how the library assigns UV coordinates. |
| public static final int | PAR_U_MODE_SEGMENT_INDEX
Configures how the library assigns UV coordinates. |
| public static final int | PARSL_FLAG_ANNOTATIONS
Populates |
| public static final int | PARSL_FLAG_CURVE_GUIPARSL_FLAG_DES
Draws control points |
| public static final int | PARSL_FLAG_RANDOM_OFFSETS
Populates |
| public static final int | PARSL_FLAG_SPINE_LENGTHS
Populates |
| public static final int | PARSL_FLAG_WIREFRAME
Enables 4 indices per triangle |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static native long | |
| public static native void | |
| public static native long | |
| public static native long | nparsl_mesh_from_curves_quadratic(long context, long spines)
Unsafe version of: |
| public static native long | |
| public static native long | nparsl_mesh_from_streamlines(long context, long advect, int first_tick, int num_ticks, long userdata)
Unsafe version of: |
| public static long | |
| public static void | |
| public static ParSLMesh | parsl_mesh_from_curves_cubic(long context, ParSLSpineList spines)
High-level function that tessellates a series of curves into triangles, where each spine is a series of chained cubic Bézier curves. |
| public static ParSLMesh | parsl_mesh_from_curves_quadratic(long context, ParSLSpineList spines)
High-level function that tessellates a series of curves into triangles, where each spine is a series of chained quadratic Bézier curves. |
| public static ParSLMesh | parsl_mesh_from_lines(long ctx, ParSLSpineList spines)
Low-level function that generates two triangles for each line segment. |
| public static ParSLMesh | parsl_mesh_from_streamlines(long context, ParSLAdvectionCallbackI advect, int first_tick, int num_ticks, long userdata)
High-level function that can be used to visualize a vector field. |
| PAR_U_MODE_DISTANCE | back to summary |
|---|---|
| public static final int PAR_U_MODE_DISTANCE Configures how the library assigns UV coordinates. Enum values:
| |
| PAR_U_MODE_NORMALIZED_DISTANCE | back to summary |
|---|---|
| public static final int PAR_U_MODE_NORMALIZED_DISTANCE Configures how the library assigns UV coordinates. Enum values:
| |
| PAR_U_MODE_SEGMENT_FRACTION | back to summary |
|---|---|
| public static final int PAR_U_MODE_SEGMENT_FRACTION Configures how the library assigns UV coordinates. Enum values:
| |
| PAR_U_MODE_SEGMENT_INDEX | back to summary |
|---|---|
| public static final int PAR_U_MODE_SEGMENT_INDEX Configures how the library assigns UV coordinates. Enum values:
| |
| PARSL_FLAG_ANNOTATIONS | back to summary |
|---|---|
| public static final int PARSL_FLAG_ANNOTATIONS Populates | |
| PARSL_FLAG_CURVE_GUIPARSL_FLAG_DES | back to summary |
|---|---|
| public static final int PARSL_FLAG_CURVE_GUIPARSL_FLAG_DES Draws control points | |
| PARSL_FLAG_RANDOM_OFFSETS | back to summary |
|---|---|
| public static final int PARSL_FLAG_RANDOM_OFFSETS Populates | |
| PARSL_FLAG_SPINE_LENGTHS | back to summary |
|---|---|
| public static final int PARSL_FLAG_SPINE_LENGTHS Populates | |
| PARSL_FLAG_WIREFRAME | back to summary |
|---|---|
| public static final int PARSL_FLAG_WIREFRAME Enables 4 indices per triangle | |
| ParStreamlines | back to summary |
|---|---|
| protected ParStreamlines() | |
| nparsl_create_context | back to summary |
|---|---|
| public static native long nparsl_create_context(long config) | |
| nparsl_destroy_context | back to summary |
|---|---|
| public static native void nparsl_destroy_context(long ctx) | |
| nparsl_mesh_from_curves_cubic | back to summary |
|---|---|
| public static native long nparsl_mesh_from_curves_cubic(long context, long spines) Unsafe version of: | |
| nparsl_mesh_from_curves_quadratic | back to summary |
|---|---|
| public static native long nparsl_mesh_from_curves_quadratic(long context, long spines) Unsafe version of: | |
| nparsl_mesh_from_lines | back to summary |
|---|---|
| public static native long nparsl_mesh_from_lines(long ctx, long spines) Unsafe version of: | |
| nparsl_mesh_from_streamlines | back to summary |
|---|---|
| public static native long nparsl_mesh_from_streamlines(long context, long advect, int first_tick, int num_ticks, long userdata) Unsafe version of: | |
| parsl_create_context | back to summary |
|---|---|
public static long parsl_create_context(ParSLConfig config)
| |
| parsl_destroy_context | back to summary |
|---|---|
| public static void parsl_destroy_context(long ctx) | |
| parsl_mesh_from_curves_cubic | back to summary |
|---|---|
| public static ParSLMesh parsl_mesh_from_curves_cubic(long context, ParSLSpineList spines) High-level function that tessellates a series of curves into triangles, where each spine is a series of chained cubic Bézier curves. The first curve of each spine is defined by an endpoint, followed by two control points, followed by an endpoint. Every subsequent curve in the spine is defined by a single control point followed by an endpoint. Only one control point is required because the first control point is computed via reflection over the endpoint. The number of vertices in each spine should be Each spine is equivalent to an SVG path that looks like
| |
| parsl_mesh_from_curves_quadratic | back to summary |
|---|---|
| public static ParSLMesh parsl_mesh_from_curves_quadratic(long context, ParSLSpineList spines) High-level function that tessellates a series of curves into triangles, where each spine is a series of chained quadratic Bézier curves. The first curve of each spine is defined by an endpoint, followed by one control point, followed by an endpoint. Every subsequent curve in the spine is defined by a single control point followed by an endpoint. The number of vertices in each spine should be Each spine is equivalent to an SVG path that looks like
| |
| parsl_mesh_from_lines | back to summary |
|---|---|
| public static ParSLMesh parsl_mesh_from_lines(long ctx, ParSLSpineList spines) Low-level function that generates two triangles for each line segment.
| |
| parsl_mesh_from_streamlines | back to summary |
|---|---|
| public static ParSLMesh parsl_mesh_from_streamlines(long context, ParSLAdvectionCallbackI advect, int first_tick, int num_ticks, long userdata) High-level function that can be used to visualize a vector field.
| |