HPS::Parasolid::LineTessellationKit

class HPS::Parasolid::LineTessellationKit : public HPS::SprocketKit

The LineTessellationKit class is a user space object. It contains settings controlling what and how data is imported via Parasolid.

Public Functions

virtual bool Empty() const

Indicates whether this LineTessellationKit has any values set on it.

Returns

true if no values are set on this LineTessellationKit, false otherwise.

bool Equals(LineTessellationKit const &in_kit) const

Check if the source LineTessellationKit is equivalent to this LineTessellationKit.

Parameters

in_kit – The source LineTessellationKit to compare to this LineTessellationKit.

Returns

true if the objects are equivalent, false otherwise.

LineTessellationKit()

The default constructor creates an empty LineTessellationKit object.

LineTessellationKit(LineTessellationKit &&in_that)

The move constructor creates an LineTessellationKit by transferring the underlying impl of the rvalue reference to this LineTessellationKit thereby avoiding a copy and allocation.

Parameters

in_that – An rvalue reference to an LineTessellationKit to take the impl from.

LineTessellationKit(LineTessellationKit const &in_kit)

The copy constructor creates a new LineTessellationKit object that contains the same settings as the source LineTessellationKit.

Parameters

in_kit – The source LineTessellationKit to copy.

inline virtual HPS::Type ObjectType() const

This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).

Returns

The declared type of the object in question, which may differ from the true, underlying type.

bool operator!=(LineTessellationKit const &in_kit) const

Check if the source LineTessellationKit is not equivalent to this LineTessellationKit.

Parameters

in_kit – The source LineTessellationKit to compare to this LineTessellationKit.

Returns

true if the objects are not equivalent, false otherwise.

LineTessellationKit &operator=(LineTessellationKit &&in_that)

The move assignment operator transfers the underlying impl of the rvalue reference to this LineTessellationKit thereby avoiding a copy.

Parameters

in_that – An rvalue reference to an LineTessellationKit to take the impl from.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &operator=(LineTessellationKit const &in_kit)

Copies the source LineTessellationKit into this LineTessellationKit.

Parameters

in_kit – The source LineTessellationKit to copy.

Returns

A reference to this LineTessellationKit.

bool operator==(LineTessellationKit const &in_kit) const

Check if the source LineTessellationKit is equivalent to this LineTessellationKit.

Parameters

in_kit – The source LineTessellationKit to compare to this LineTessellationKit.

Returns

true if the objects are equivalent, false otherwise.

void Set(LineTessellationKit const &in_kit)

Copies the source LineTessellationKit into this LineTessellationKit.

Parameters

in_kit – The source LineTessellationKit to copy.

LineTessellationKit &SetBCurveRenderingMethod(Line::BCurveRendering in_bcurve_rendering_method)

Sets the method used to render bcurves

Parameters

in_bcurve_rendering_method – the method used to render bcurves. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.bcurve.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &SetChordTolerance(double in_chord_tolerance, double in_maximum_chord_length, double in_maximum_chord_angle)

Sets chord tolerance.

Parameters
  • in_chord_tolerance – curve chordal tolerance between a curve and chord edges. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.curve_chord_tol.

  • in_maximum_chord_length – maximum chord length. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.curve_chord_max.

  • in_maximum_chord_angle – maximum chord angle, in radians. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.curve_chord_ang.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &SetEdges(bool in_draw_edges, bool in_internal_edges)

Sets whether edges are drawn.

Parameters
  • in_draw_edges – whether edges are drawn. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.edge.

  • in_internal_edges – whether edges are drawn. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.internal.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &SetHierarchicalOutput(Line::Hierarchical in_hierarchical_output)

Sets whether a hierarchical output is produced

Parameters

in_hierarchical_output – whether a hierarchical output is produced. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.hierarch.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &SetIgnoreCriteria(bool in_ignore, Ignore in_ignore_criteria = Ignore::Absolute, double in_minimum_value = 0)

Sets criteria for ignoring lines.

Parameters
  • in_ignore – whether any line should be ignored.

  • in_ignore_criteria – specifies how to interpret the minimum_value parameter. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.ignore.

  • in_minimum_value – minimum value for a facet not to be ignored. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.ignore_value.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &SetMemoryLimit(bool in_use_memory_limit, size_t in_limit = 0)

Sets whether a memory limit should be used for rendering lines

Parameters
  • in_use_memory_limit – whether a memory limit should be used for rendering lines. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.memory_target.

  • in_limit – the memory limits, in bytes. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.memory_target_value.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &SetMissingGeometryFailure(bool in_fail_on_missing_geometry)

Sets the behavior the import assumes when it encounters missing geometry

Parameters

in_fail_on_missing_geometry – whether the importer should fail when encountering missing geometry. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.ske_missing.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &SetOverlappingBehavior(Line::OverlappingBehavior in_overlapping_behavior, IntArray in_indices_one = IntArray(), IntArray in_indices_two = IntArray())

Sets the behavior the import assumes when it encounters overlapping curves

Parameters
  • in_overlapping_behavior – the behavior the import assumes when it encounters overlapping curves. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.overlap.

  • in_indices_one – array of body occurrences used for clashing. Only relevant if in_overlapping_behavior equals AllowAndIntersectAll or AllowAndIntersectPairs. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.overlap_indices1.

  • in_indices_two – array of body occurrences used for clashing. Only relevant if in_overlapping_behavior equals AllowAndIntersectAll or AllowAndIntersectPairs. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.overlap_indices2.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &SetParametricHatching(Line::Hatching::Parametric in_parametric_hatching, double in_u = 0, double in_u_start = 0, double in_v = 0, double in_v_start = 0)

Sets parametric hatching tessellation options

Parameters
  • in_parametric_hatching – the type of parametric hatching desired. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.param.

  • in_u – hatch spacing in u direction. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.param_u. Only relevant if in_parametric_hatching equals to either ByVectorNoLocking or ByVector

  • in_u_start – start value for parametric hatching in the u direction. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.param_u_start. Only relevant if in_planar_hatching equals to either ByVectorNoLocking or ByVector

  • in_v – hatch spacing in v direction. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.param_v. Only relevant if in_parametric_hatching equals to either ByVectorNoLocking or ByVector

  • in_v_start – start value for parametric hatching in the v direction. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.param_v_start. Only relevant if in_planar_hatching equals to either ByVectorNoLocking or ByVector

Returns

A reference to this LineTessellationKit.

LineTessellationKit &SetPlanarHatching(Line::Hatching::Planar in_planar_haching, double in_planar_spacing = 0, DPoint in_point_through = DPoint(0, 0, 0), DVector in_direction = DVector(0, 0, 0))

Sets planar hatching tessellation options

Parameters
  • in_planar_haching – the type of planar hatching desired. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.planar.

  • in_planar_spacing – distance between panes. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.planar_spacing.

  • in_point_through – used with in_direction to determine the axis for planar hatching. Only relevant if in_planar_hatching equals to either ByVectorNoLocking or ByVector

  • in_direction – used with in_point_through to determine the axis for planar hatching. Only relevant if in_planar_hatching equals to either ByVectorNoLocking or ByVector

Returns

A reference to this LineTessellationKit.

LineTessellationKit &SetRadialHatching(Line::Hatching::Radial in_radial_hatching, double in_around = 0, double in_around_start = 0, double in_along = 0, double in_along_start = 0, double in_about = 0, double in_about_start = 0)

Sets radial hatching tessellation options

Parameters
  • in_radial_hatching – the type of radial hatching desired. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial.

  • in_around – angular spacing around spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_around. Only relevant if in_radial_hatching equals to either ByVectorNoLocking or ByVector

  • in_around_start – starting value for angular spacing around spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_around_start. Only relevant if in_radial_hatching equals to either ByVectorNoLocking or ByVector

  • in_along – spacing along spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_along. Only relevant if in_radial_hatching equals to either ByVectorNoLocking or ByVector

  • in_along_start – starting value for angular spacing along spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_along_start. Only relevant if in_radial_hatching equals to either ByVectorNoLocking or ByVector

  • in_about – spacing about spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_about. Only relevant if in_radial_hatching equals to either ByVectorNoLocking or ByVector

  • in_about_start – starting value for angular spacing about spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_about_start. Only relevant if in_radial_hatching equals to either ByVectorNoLocking or ByVector

Returns

A reference to this LineTessellationKit.

LineTessellationKit &SetRegionalData(Line::Region in_region)

Sets whether regional data is produced.

Parameters

in_region – whether regional data is produced. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.region.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &SetSilhouetteEdges(bool in_draw_silhouette_edges, bool in_draw_circles_as_arcs)

Sets whether silhouette edges are drawn. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.silhouette.

Parameters
  • in_draw_silhouette_edges – whether silhouette edges are drawn.

  • in_draw_circles_as_arcs – whether near circular analytic silhouettes can be drawn as arcs

Returns

A reference to this LineTessellationKit.

LineTessellationKit &SetSmoothEdges(Line::Smooth in_smooth, double in_tolerance = 0)

Sets whether to indicate smooth edges

Parameters
  • in_smooth – whether to indicate smooth edges. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.smooth.

  • in_tolerance – maximum angle allowed between faces for edges to be smooth. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.edge_smooth_tol.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &SetTransparentBodies(bool in_allow_transparency, bool in_transparent_hide, IntArray in_transparent_bodies = IntArray())

Sets the transparency settings for line tessellation

Parameters
  • in_allow_transparency – whether transparent bodies are drawn. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.transparent.

  • in_transparent_hide – whether transparent bodies can hide other transparent bodies. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.transparent_hid.

  • in_transparent_bodies – an array of body occurrences to be rendered transparent. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.transparent_indices.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &SetUnfixedBlends(Line::UnfixedBlends in_unfixed_blends, double in_spacing = 0)

Sets whether unfixed blends are drawn

Parameters
  • in_unfixed_blends – whether unfixed blends are drawn. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.unfix.

  • in_spacing – default rib spacing. Only relevant if in_unfixed_blends equals Draw. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.unfix_spacing.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &SetViewports(bool in_use_viewports, bool in_is_3d = true, bool viewport_clipping = false, ViewportArray in_viewports = ViewportArray())

Sets whether the importer uses viewports and how.

Parameters
  • in_use_viewports – whether the importer uses viewports. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.viewport

  • in_is_3d – whether the viewports used are three dimensional or not. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.viewport_type.

  • viewport_clipping – whether viewport clipping should be used. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.viewport_clipping.

  • in_viewports – the viewports used.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &SetVisibilityEvaluation(Line::Visibility in_visibility, bool in_draw_invisible = false, bool in_drafting = false, bool in_self_hidden = false, IntArray in_suppressed_indices = IntArray())

Sets whether visibility is evaluated

Parameters
  • in_visibility – setting for visibility evaluation. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.visibility.

  • in_draw_invisible – whether to output invisible lines. Only relevant if in_visibility equals Custom. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.invisible.

  • in_drafting – whether to distinguish between lines hidden by other lines and lines hidden by faces. Only relevant if in_visibility equals Custom. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.drafting.

  • in_self_hidden – whether to distinguish lines that are self-hidden or hidden by another occurrence of themselves. Only relevant if in_visibility equals Custom. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.self_hidden.

  • in_suppressed_indices – array of indices for which invisible lines are suppressed. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.suppressed_indices.

Returns

A reference to this LineTessellationKit.

void Show(LineTessellationKit &out_kit) const

Copies this LineTessellationKit into the given LineTessellationKit.

Parameters

out_kit – The LineTessellationKit to populate with the contents of this LineTessellationKit.

bool ShowBCurveRenderingMethod(Line::BCurveRendering &out_bcurve_rendering_method) const

Shows the method used to render bcurves

Parameters

& – out_bcurve_rendering_method the method used to render bcurves. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.bcurve.

Returns

true if a bcurve setting was specified, false otherwise.

bool ShowChordTolerance(double &out_chord_tolerance, double &out_maximum_chord_length, double &out_maximum_chord_angle) const

Shows chord tolerance.

Parameters
  • & – out_chord_tolerance curve chordal tolerance between a curve and chord edges. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.curve_chord_tol.

  • & – out_maximum_chord_length maximum chord length. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.curve_chord_max.

  • & – out_maximum_chord_angle maximum chord angle, in radians. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.curve_chord_ang.

Returns

true if a tolerance setting was specified, false otherwise.

bool ShowEdges(bool &out_draw_edges, bool &out_internal_edges) const

Shows whether edges are drawn.

Parameters
  • & – out_draw_edges whether edges are drawn. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.edge.

  • & – out_internal_edges whether edges are drawn. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.internal.

Returns

true if an edge setting was specified, false otherwise.

bool ShowHierarchicalOutput(Line::Hierarchical &out_hierarchical_output) const

Shows whether a hierarchical output is produced

Parameters

& – out_hierarchical_output whether a hierarchical output is produced. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.hierarch.

Returns

true if a hierarchical setting was specified, false otherwise.

bool ShowIgnoreCriteria(bool &out_ignore, Ignore &out_ignore_criteria, double &out_minimum_value) const

Shows criteria for ignoring lines.

Parameters
  • & – out_ignore whether any line should be ignored.

  • & – out_ignore_criteria specifies how to interpret the minimum_value parameter. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.ignore.

  • & – out_minimum_value minimum value for a facet not to be ignored. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.ignore_value.

Returns

true if an ignore criteria setting was specified, false otherwise.

bool ShowMemoryLimit(bool &out_use_memory_limit, size_t &out_limit) const

Shows whether a memory limit should be used for rendering lines

Parameters
  • & – out_use_memory_limit whether a memory limit should be used for rendering lines. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.memory_target.

  • & – out_limit the memory limits, in bytes. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.memory_target_value.

Returns

true if an memory limit setting was specified, false otherwise.

bool ShowMissingGeometryFailure(bool &out_fail_on_missing_geometry) const

Shows the behavior the import assumes when it encounters missing geometry

Parameters

& – out_fail_on_missing_geometry whether the importer should fail when encountering missing geometry. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.ske_missing.

Returns

true if a missing geometry setting was specified, false otherwise.

bool ShowOverlappingBehavior(Line::OverlappingBehavior &out_overlapping_behavior, IntArray &out_indices_one, IntArray &out_indices_two) const

Shows the behavior the import assumes when it encounters overlapping curves

Parameters
  • & – out_overlapping_behavior the behavior the import assumes when it encounters overlapping curves. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.overlap.

  • & – out_indices_one array of body occurrences used for clashing. Only relevant if & out_overlapping_behavior equals AllowAndIntersectAll or AllowAndIntersectPairs. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.overlap_indices1.

  • & – out_indices_two array of body occurrences used for clashing. Only relevant if & out_overlapping_behavior equals AllowAndIntersectAll or AllowAndIntersectPairs. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.overlap_indices2.

Returns

true if an overlapping behavior setting was specified, false otherwise.

bool ShowParametericHatching(Line::Hatching::Parametric &out_parametric_hatching, double &out_u, double &out_u_start, double &out_v, double &out_v_start) const

Shows parametric hatching tessellation options

Parameters
  • & – out_parametric_hatching the type of parametric hatching desired. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.param.

  • & – out_u hatch spacing in u direction. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.param_u. Only relevant if & out_parametric_hatching equals to either ByVectorNoLocking or ByVector

  • & – out_u_start start value for parametric hatching in the u direction. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.param_u_start. Only relevant if & out_planar_hatching equals to either ByVectorNoLocking or ByVector

  • & – out_v hatch spacing in v direction. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.param_v. Only relevant if & out_parametric_hatching equals to either ByVectorNoLocking or ByVector

  • & – out_v_start start value for parametric hatching in the v direction. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.param_v_start. Only relevant if & out_planar_hatching equals to either ByVectorNoLocking or ByVector

Returns

true if a parametric hatching setting was specified, false otherwise.

bool ShowPlanarHatching(Line::Hatching::Planar &out_planar_haching, double &out_planar_spacing, DPoint &out_point_through, DVector &out_direction) const

Shows planar hatching tessellation options

Parameters
  • & – out_planar_haching the type of planar hatching desired. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.planar.

  • & – out_planar_spacing distance between panes. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.planar_spacing.

  • & – out_point_through used with & out_direction to determine the axis for planar hatching. Only relevant if & out_planar_hatching equals to either ByVectorNoLocking or ByVector

  • & – out_direction used with & out_point_through to determine the axis for planar hatching. Only relevant if & out_planar_hatching equals to either ByVectorNoLocking or ByVector

Returns

true if a planar hatching setting was specified, false otherwise.

bool ShowRadialHatching(Line::Hatching::Radial &out_radial_hatching, double &out_around, double &out_around_start, double &out_along, double &out_along_start, double &out_about, double &out_about_start) const

Shows radial hatching tessellation options

Parameters
  • & – out_radial_hatching the type of radial hatching desired. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial.

  • & – out_around angular spacing around spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_around. Only relevant if & out_radial_hatching equals to either ByVectorNoLocking or ByVector

  • & – out_around_start starting value for angular spacing around spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_around_start. Only relevant if & out_radial_hatching equals to either ByVectorNoLocking or ByVector

  • & – out_along spacing along spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_along. Only relevant if & out_radial_hatching equals to either ByVectorNoLocking or ByVector

  • & – out_along_start starting value for angular spacing along spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_along_start. Only relevant if & out_radial_hatching equals to either ByVectorNoLocking or ByVector

  • & – out_about spacing about spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_about. Only relevant if & out_radial_hatching equals to either ByVectorNoLocking or ByVector

  • & – out_about_start starting value for angular spacing about spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_about_start. Only relevant if & out_radial_hatching equals to either ByVectorNoLocking or ByVector

Returns

true if a radial hatching setting was specified, false otherwise.

bool ShowRegionalData(Line::Region &out_region) const

Shows whether regional data is produced.

Parameters

& – out_region whether regional data is produced. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.region.

Returns

true if a region setting was specified, false otherwise.

bool ShowSilhouetteEdges(bool &out_draw_silhouette_edges, bool &out_draw_circles_as_arcs) const

Shows whether silhouette edges are drawn. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.silhouette.

Parameters
  • & – out_draw_silhouette_edges whether silhouette edges are drawn.

  • & – out_draw_circles_as_arcs whether near circular analytic silhouettes can be drawn as arcs

Returns

true if a silhouette edges setting was specified, false otherwise.

bool ShowSmoothEdges(Line::Smooth &out_smooth, double &out_tolerance) const

Shows whether to indicate smooth edges

Parameters
  • & – out_smooth whether to indicate smooth edges. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.smooth.

  • & – out_tolerance maximum angle allowed between faces for edges to be smooth. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.edge_smooth_tol.

Returns

true if a smooth edge setting was specified, false otherwise.

bool ShowTransparentBodies(bool &out_allow_transparency, bool &out_transparent_hide, IntArray &out_force_transparent) const

Shows the transparency setting for line tessellation

Parameters
  • & – out_allow_transparency whether transparent bodies are drawn. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.transparent.

  • & – out_transparent_hide whether transparent bodies can hide other transparent bodies. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.transparent_hid.

  • & – out_force_transparent an array of body occurrences to be rendered transparent. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.transparent_indices.

Returns

true if a transparency setting was specified, false otherwise.

bool ShowUnfixedBlends(Line::UnfixedBlends &out_unfixed_blends, double &out_spacing) const

Shows whether unfixed blends are drawn

Parameters
  • & – out_unfixed_blends whether unfixed blends are drawn. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.unfix.

  • & – out_spacing default rib spacing. Only relevant if & out_unfixed_blends equals ByAttribute. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.unfix_spacing.

Returns

true if an unfixed blends setting was specified, false otherwise.

bool ShowViewports(bool &out_use_viewports, bool &out_is_3d, bool &out_viewport_clipping, ViewportArray &out_viewports) const

Shows whether the importer uses viewports and how.

Parameters
  • & – out_use_viewports whether the importer uses viewports. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.viewport

  • & – out_is_3d whether the viewports used are three dimensional or not. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.viewport_type.

  • viewport_clipping – whether viewport clipping should be used. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.viewport_clipping.

  • & – out_viewports the viewports used.

Returns

true if a viewport setting was specified, false otherwise.

bool ShowVisibilityEvaluation(Line::Visibility &out_visibility, bool &out_draw_invisible, bool &out_drafting, bool &out_self_hidden, IntArray &out_suppressed_indices) const

Shows whether visibility is evaluated

Parameters
  • & – out_visibility Setting for visibility evaluation. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.visibility.

  • & – out_draw_invisible whether to output invisible lines. Only relevant if & out_visibility equals Custom. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.invisible.

  • & – out_drafting whether to distinguish between lines hidden by other lines and lines hidden by faces. Only relevant if & out_visibility equals Custom. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.drafting.

  • & – out_self_hidden whether to distinguish lines that are self-hidden or hidden by another occurrence of themselves. Only relevant if & out_visibility equals Custom. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.self_hidden.

  • & – out_suppressed_indices array of indices for which invisible lines are suppressed. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.suppressed_indices.

Returns

true if a visibility setting was specified, false otherwise.

LineTessellationKit &UnsetBCurveRenderingMethod()

Removes the bcurve rendering method tessellation state.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &UnsetChordTolerance()

Removes the chord tolerance tessellation state.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &UnsetEdges()

Removes the edge tessellation state.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &UnsetEverything()

Removes all settings from this LineTessellationKit.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &UnsetHierarchicalOutput()

Removes the hierarchical output tessellation state.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &UnsetIgnoreCriteria()

Removes the ignore criteria tessellation state.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &UnsetMemoryLimit()

Removes the memory limit tessellation state.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &UnsetMissingGeometryFailure()

Removes the missing geometry tessellation state.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &UnsetOverlappingBehavior()

Removes the overlapping geometry tessellation state.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &UnsetParametericHatching()

Removes the parametric hatching tessellation state.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &UnsetPlanarHatching()

Removes the planar hatching tessellation state.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &UnsetRadialHatching()

Removes the radial hatching tessellation state.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &UnsetRegionalData()

Removes the regional data tessellation state.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &UnsetSilhouetteEdges()

Removes the silhouette edges tessellation state.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &UnsetSmoothEdges()

Removes the smooth edges tessellation state.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &UnsetTransparentBodies()

Removes the transparent bodies tessellation state.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &UnsetUnfixedBlends()

Removes the unfixed blends tessellation state.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &UnsetViewports()

Removes the viewports tessellation state.

Returns

A reference to this LineTessellationKit.

LineTessellationKit &UnsetVisibilityEvaluation()

Removes the visibility evaluation tessellation state.

Returns

A reference to this LineTessellationKit.

virtual ~LineTessellationKit()

Public Static Functions

static LineTessellationKit GetDefault()

Creates an LineTessellationKit which contains the default settings. The returned object will not necessarily have values set for every option, but it will have settings for those options where it is reasonable to have a default. These values will be used for import unless an option is overridden by the options passed to File::Import.

Returns

An LineTessellationKit with the default settings.

Public Static Attributes

static const HPS::Type staticType = HPS::Type::ParasolidLineTessellationKit