The LineTessellationKit class is a user space object. More...
#include <sprk_parasolid.h>
Public Member Functions | |
LineTessellationKit () | |
The default constructor creates an empty LineTessellationKit object. More... | |
LineTessellationKit (LineTessellationKit const &in_kit) | |
The copy constructor creates a new LineTessellationKit object that contains the same settings as the source LineTessellationKit. More... | |
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. More... | |
LineTessellationKit & | operator= (LineTessellationKit &&in_that) |
The move assignment operator transfers the underlying impl of the rvalue reference to this LineTessellationKit thereby avoiding a copy. More... | |
virtual | ~LineTessellationKit () |
HPS::Type | ObjectType () const |
void | Set (LineTessellationKit const &in_kit) |
Copies the source LineTessellationKit into this LineTessellationKit. More... | |
void | Show (LineTessellationKit &out_kit) const |
Copies this LineTessellationKit into the given LineTessellationKit. More... | |
LineTessellationKit & | operator= (LineTessellationKit const &in_kit) |
Copies the source LineTessellationKit into this LineTessellationKit. More... | |
bool | Empty () const |
Indicates whether this LineTessellationKit has any values set on it. More... | |
bool | Equals (LineTessellationKit const &in_kit) const |
Check if the source LineTessellationKit is equivalent to this LineTessellationKit. More... | |
bool | operator== (LineTessellationKit const &in_kit) const |
Check if the source LineTessellationKit is equivalent to this LineTessellationKit. More... | |
bool | operator!= (LineTessellationKit const &in_kit) const |
Check if the source LineTessellationKit is not equivalent to this LineTessellationKit. More... | |
LineTessellationKit & | SetEdges (bool in_draw_edges, bool in_internal_edges) |
Sets whether edges are drawn. More... | |
LineTessellationKit & | SetSilhouetteEdges (bool in_draw_silhouette_edges, bool in_draw_circles_as_arcs) |
Sets whether silhouette edges are drawn. More... | |
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. More... | |
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. More... | |
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. More... | |
LineTessellationKit & | SetUnfixedBlends (Line::UnfixedBlends in_unfixed_blends, double in_spacing=0) |
Sets whether unfixed blends are drawn. More... | |
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. More... | |
LineTessellationKit & | SetSmoothEdges (Line::Smooth in_smooth, double in_tolerance=0) |
Sets whether to indicate smooth edges. More... | |
LineTessellationKit & | SetRegionalData (Line::Region in_region) |
Sets whether regional data is produced. More... | |
LineTessellationKit & | SetHierarchicalOutput (Line::Hierarchical in_hierarchical_output) |
Sets whether a hierarchical output is produced. More... | |
LineTessellationKit & | SetBCurveRenderingMethod (Line::BCurveRendering in_bcurve_rendering_method) |
Sets the method used to render bcurves. More... | |
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. More... | |
LineTessellationKit & | SetChordTolerance (double in_chord_tolerance, double in_maximum_chord_length, double in_maximum_chord_angle) |
Sets chord tolerance. More... | |
LineTessellationKit & | SetIgnoreCriteria (bool in_ignore, Ignore in_ignore_criteria=Ignore::Absolute, double in_minimum_value=0) |
Sets criteria for ignoring lines. More... | |
LineTessellationKit & | SetMemoryLimit (bool in_use_memory_limit, size_t in_limit=0) |
Sets whether a memory limit should be used for rendering lines. More... | |
LineTessellationKit & | SetTransparentBodies (bool in_allow_transparency, bool in_transparent_hide, IntArray in_transparent_bodies=IntArray()) |
Sets the transparency settings for line tessellation. More... | |
LineTessellationKit & | SetMissingGeometryFailure (bool in_fail_on_missing_geometry) |
Sets the behavior the import assumes when it encounters missing geometry. More... | |
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. More... | |
LineTessellationKit & | UnsetEdges () |
Removes the edge tessellation state. More... | |
LineTessellationKit & | UnsetSilhouetteEdges () |
Removes the silhouette edges tessellation state. More... | |
LineTessellationKit & | UnsetPlanarHatching () |
Removes the planar hatching tessellation state. More... | |
LineTessellationKit & | UnsetRadialHatching () |
Removes the radial hatching tessellation state. More... | |
LineTessellationKit & | UnsetParametericHatching () |
Removes the parametric hatching tessellation state. More... | |
LineTessellationKit & | UnsetUnfixedBlends () |
Removes the unfixed blends tessellation state. More... | |
LineTessellationKit & | UnsetVisibilityEvaluation () |
Removes the visibility evaluation tessellation state. More... | |
LineTessellationKit & | UnsetSmoothEdges () |
Removes the smooth edges tessellation state. More... | |
LineTessellationKit & | UnsetRegionalData () |
Removes the regional data tessellation state. More... | |
LineTessellationKit & | UnsetHierarchicalOutput () |
Removes the hierarchical output tessellation state. More... | |
LineTessellationKit & | UnsetBCurveRenderingMethod () |
Removes the bcurve rendering method tessellation state. More... | |
LineTessellationKit & | UnsetViewports () |
Removes the viewports tessellation state. More... | |
LineTessellationKit & | UnsetChordTolerance () |
Removes the chord tolerance tessellation state. More... | |
LineTessellationKit & | UnsetIgnoreCriteria () |
Removes the ignore criteria tessellation state. More... | |
LineTessellationKit & | UnsetMemoryLimit () |
Removes the memory limit tessellation state. More... | |
LineTessellationKit & | UnsetTransparentBodies () |
Removes the transparent bodies tessellation state. More... | |
LineTessellationKit & | UnsetMissingGeometryFailure () |
Removes the missing geometry tessellation state. More... | |
LineTessellationKit & | UnsetOverlappingBehavior () |
Removes the overlapping geometry tessellation state. More... | |
LineTessellationKit & | UnsetEverything () |
Removes all settings from this LineTessellationKit. More... | |
bool | ShowEdges (bool &out_draw_edges, bool &out_internal_edges) const |
Shows whether edges are drawn. More... | |
bool | ShowSilhouetteEdges (bool &out_draw_silhouette_edges, bool &out_draw_circles_as_arcs) const |
Shows whether silhouette edges are drawn. More... | |
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. More... | |
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. More... | |
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. More... | |
bool | ShowUnfixedBlends (Line::UnfixedBlends &out_unfixed_blends, double &out_spacing) const |
Shows whether unfixed blends are drawn. More... | |
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. More... | |
bool | ShowSmoothEdges (Line::Smooth &out_smooth, double &out_tolerance) const |
Shows whether to indicate smooth edges. More... | |
bool | ShowRegionalData (Line::Region &out_region) const |
Shows whether regional data is produced. More... | |
bool | ShowHierarchicalOutput (Line::Hierarchical &out_hierarchical_output) const |
Shows whether a hierarchical output is produced. More... | |
bool | ShowBCurveRenderingMethod (Line::BCurveRendering &out_bcurve_rendering_method) const |
Shows the method used to render bcurves. More... | |
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. More... | |
bool | ShowChordTolerance (double &out_chord_tolerance, double &out_maximum_chord_length, double &out_maximum_chord_angle) const |
Shows chord tolerance. More... | |
bool | ShowIgnoreCriteria (bool &out_ignore, Ignore &out_ignore_criteria, double &out_minimum_value) const |
Shows criteria for ignoring lines. More... | |
bool | ShowMemoryLimit (bool &out_use_memory_limit, size_t &out_limit) const |
Shows whether a memory limit should be used for rendering lines. More... | |
bool | ShowTransparentBodies (bool &out_allow_transparency, bool &out_transparent_hide, IntArray &out_force_transparent) const |
Shows the transparency setting for line tessellation. More... | |
bool | ShowMissingGeometryFailure (bool &out_fail_on_missing_geometry) const |
Shows the behavior the import assumes when it encounters missing geometry. More... | |
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. More... | |
virtual HPS::Type | Type () const |
This function returns the true type of the underlying object. More... | |
virtual void | Reset () |
Resets this object to its initial, uninitialized state. More... | |
bool | HasType (HPS::Type in_mask) const |
This function indicates whether this Object has the given Type mask. More... | |
intptr_t | GetClassID () const |
Returns a unique identifier that is shared by all objects of the same class. More... | |
intptr_t | GetInstanceID () const |
Returns an identifier that can be used to identify which instance of a class an object is. More... | |
Static Public Member Functions | |
static LineTessellationKit | GetDefault () |
Creates an LineTessellationKit which contains the default settings. More... | |
template<typename T > | |
static intptr_t | ClassID () |
Unique identifier for this class. More... | |
Static Public Attributes | |
static const HPS::Type | staticType = HPS::Type::ParasolidLineTessellationKit |
The LineTessellationKit class is a user space object.
It contains settings controlling what and how data is imported via Parasolid.
HPS::Parasolid::LineTessellationKit::LineTessellationKit | ( | ) |
The default constructor creates an empty LineTessellationKit object.
HPS::Parasolid::LineTessellationKit::LineTessellationKit | ( | LineTessellationKit const & | in_kit | ) |
The copy constructor creates a new LineTessellationKit object that contains the same settings as the source LineTessellationKit.
in_kit | The source LineTessellationKit to copy. |
HPS::Parasolid::LineTessellationKit::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.
in_that | An rvalue reference to an LineTessellationKit to take the impl from. |
|
virtual |
|
inlinestaticinherited |
Unique identifier for this class.
Note: this method uses construction of static objects. If used in a constructor, it should be used in the body not the initializer list.
|
virtual |
Indicates whether this LineTessellationKit has any values set on it.
Reimplemented from HPS::Object.
bool HPS::Parasolid::LineTessellationKit::Equals | ( | LineTessellationKit const & | in_kit | ) | const |
Check if the source LineTessellationKit is equivalent to this LineTessellationKit.
in_kit | The source LineTessellationKit to compare to this LineTessellationKit. |
|
inherited |
Returns a unique identifier that is shared by all objects of the same class.
|
static |
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.
|
inherited |
Returns an identifier that can be used to identify which instance of a class an object is.
Different keys and controls will return the same value if they are backed by the same database resource.
|
inherited |
|
inlinevirtual |
bool HPS::Parasolid::LineTessellationKit::operator!= | ( | LineTessellationKit const & | in_kit | ) | const |
Check if the source LineTessellationKit is not equivalent to this LineTessellationKit.
in_kit | The source LineTessellationKit to compare to this LineTessellationKit. |
LineTessellationKit& HPS::Parasolid::LineTessellationKit::operator= | ( | LineTessellationKit && | in_that | ) |
The move assignment operator transfers the underlying impl of the rvalue reference to this LineTessellationKit thereby avoiding a copy.
in_that | An rvalue reference to an LineTessellationKit to take the impl from. |
LineTessellationKit& HPS::Parasolid::LineTessellationKit::operator= | ( | LineTessellationKit const & | in_kit | ) |
Copies the source LineTessellationKit into this LineTessellationKit.
in_kit | The source LineTessellationKit to copy. |
bool HPS::Parasolid::LineTessellationKit::operator== | ( | LineTessellationKit const & | in_kit | ) | const |
Check if the source LineTessellationKit is equivalent to this LineTessellationKit.
in_kit | The source LineTessellationKit to compare to this LineTessellationKit. |
|
virtualinherited |
Resets this object to its initial, uninitialized state.
Reimplemented in HPS::EventHandler, HPS::EventDispatcher, HPS::World, HPS::HighlightSearchResults, HPS::HighlightSearchResultsIterator, HPS::SelectionResults, HPS::SelectionResultsIterator, HPS::FontSearchResults, HPS::FontSearchResultsIterator, HPS::SearchResults, and HPS::SearchResultsIterator.
void HPS::Parasolid::LineTessellationKit::Set | ( | LineTessellationKit const & | in_kit | ) |
Copies the source LineTessellationKit into this LineTessellationKit.
in_kit | The source LineTessellationKit to copy. |
LineTessellationKit& HPS::Parasolid::LineTessellationKit::SetBCurveRenderingMethod | ( | Line::BCurveRendering | in_bcurve_rendering_method | ) |
Sets the method used to render bcurves.
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. |
LineTessellationKit& HPS::Parasolid::LineTessellationKit::SetChordTolerance | ( | double | in_chord_tolerance, |
double | in_maximum_chord_length, | ||
double | in_maximum_chord_angle | ||
) |
Sets chord tolerance.
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. |
LineTessellationKit& HPS::Parasolid::LineTessellationKit::SetEdges | ( | bool | in_draw_edges, |
bool | in_internal_edges | ||
) |
Sets whether edges are drawn.
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. |
LineTessellationKit& HPS::Parasolid::LineTessellationKit::SetHierarchicalOutput | ( | Line::Hierarchical | in_hierarchical_output | ) |
Sets whether a hierarchical output is produced.
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. |
LineTessellationKit& HPS::Parasolid::LineTessellationKit::SetIgnoreCriteria | ( | bool | in_ignore, |
Ignore | in_ignore_criteria = Ignore::Absolute , |
||
double | in_minimum_value = 0 |
||
) |
Sets criteria for ignoring lines.
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. |
LineTessellationKit& HPS::Parasolid::LineTessellationKit::SetMemoryLimit | ( | bool | in_use_memory_limit, |
size_t | in_limit = 0 |
||
) |
Sets whether a memory limit should be used for rendering lines.
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. |
LineTessellationKit& HPS::Parasolid::LineTessellationKit::SetMissingGeometryFailure | ( | bool | in_fail_on_missing_geometry | ) |
Sets the behavior the import assumes when it encounters missing geometry.
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. |
LineTessellationKit& HPS::Parasolid::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.
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. |
LineTessellationKit& HPS::Parasolid::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.
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 |
LineTessellationKit& HPS::Parasolid::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.
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 |
LineTessellationKit& HPS::Parasolid::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.
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 |
LineTessellationKit& HPS::Parasolid::LineTessellationKit::SetRegionalData | ( | Line::Region | in_region | ) |
Sets whether regional data is produced.
in_region | whether regional data is produced. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.region. |
LineTessellationKit& HPS::Parasolid::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.
in_draw_silhouette_edges | whether silhouette edges are drawn. |
in_draw_circles_as_arcs | whether near circular analytic silhouettes can be drawn as arcs |
LineTessellationKit& HPS::Parasolid::LineTessellationKit::SetSmoothEdges | ( | Line::Smooth | in_smooth, |
double | in_tolerance = 0 |
||
) |
Sets whether to indicate smooth edges.
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. |
LineTessellationKit& HPS::Parasolid::LineTessellationKit::SetTransparentBodies | ( | bool | in_allow_transparency, |
bool | in_transparent_hide, | ||
IntArray | in_transparent_bodies = IntArray() |
||
) |
Sets the transparency settings for line tessellation.
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. |
LineTessellationKit& HPS::Parasolid::LineTessellationKit::SetUnfixedBlends | ( | Line::UnfixedBlends | in_unfixed_blends, |
double | in_spacing = 0 |
||
) |
Sets whether unfixed blends are drawn.
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. |
LineTessellationKit& HPS::Parasolid::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.
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. |
LineTessellationKit& HPS::Parasolid::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.
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. |
void HPS::Parasolid::LineTessellationKit::Show | ( | LineTessellationKit & | out_kit | ) | const |
Copies this LineTessellationKit into the given LineTessellationKit.
out_kit | The LineTessellationKit to populate with the contents of this LineTessellationKit. |
bool HPS::Parasolid::LineTessellationKit::ShowBCurveRenderingMethod | ( | Line::BCurveRendering & | out_bcurve_rendering_method | ) | const |
Shows the method used to render bcurves.
& | 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. |
bool HPS::Parasolid::LineTessellationKit::ShowChordTolerance | ( | double & | out_chord_tolerance, |
double & | out_maximum_chord_length, | ||
double & | out_maximum_chord_angle | ||
) | const |
Shows chord tolerance.
& | 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. |
bool HPS::Parasolid::LineTessellationKit::ShowEdges | ( | bool & | out_draw_edges, |
bool & | out_internal_edges | ||
) | const |
Shows whether edges are drawn.
& | 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. |
bool HPS::Parasolid::LineTessellationKit::ShowHierarchicalOutput | ( | Line::Hierarchical & | out_hierarchical_output | ) | const |
Shows whether a hierarchical output is produced.
& | 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. |
bool HPS::Parasolid::LineTessellationKit::ShowIgnoreCriteria | ( | bool & | out_ignore, |
Ignore & | out_ignore_criteria, | ||
double & | out_minimum_value | ||
) | const |
Shows criteria for ignoring lines.
& | 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. |
bool HPS::Parasolid::LineTessellationKit::ShowMemoryLimit | ( | bool & | out_use_memory_limit, |
size_t & | out_limit | ||
) | const |
Shows whether a memory limit should be used for rendering lines.
& | 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. |
bool HPS::Parasolid::LineTessellationKit::ShowMissingGeometryFailure | ( | bool & | out_fail_on_missing_geometry | ) | const |
Shows the behavior the import assumes when it encounters missing geometry.
& | 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. |
bool HPS::Parasolid::LineTessellationKit::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.
& | 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. |
bool HPS::Parasolid::LineTessellationKit::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.
& | 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 |
bool HPS::Parasolid::LineTessellationKit::ShowPlanarHatching | ( | Line::Hatching::Planar & | out_planar_haching, |
double & | out_planar_spacing, | ||
DPoint & | out_point_through, | ||
DVector & | out_direction | ||
) | const |
Shows planar hatching tessellation options.
& | 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 |
bool HPS::Parasolid::LineTessellationKit::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.
& | 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 |
bool HPS::Parasolid::LineTessellationKit::ShowRegionalData | ( | Line::Region & | out_region | ) | const |
Shows whether regional data is produced.
& | out_region whether regional data is produced. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.region. |
bool HPS::Parasolid::LineTessellationKit::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.
& | out_draw_silhouette_edges whether silhouette edges are drawn. |
& | out_draw_circles_as_arcs whether near circular analytic silhouettes can be drawn as arcs |
bool HPS::Parasolid::LineTessellationKit::ShowSmoothEdges | ( | Line::Smooth & | out_smooth, |
double & | out_tolerance | ||
) | const |
Shows whether to indicate smooth edges.
& | 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. |
bool HPS::Parasolid::LineTessellationKit::ShowTransparentBodies | ( | bool & | out_allow_transparency, |
bool & | out_transparent_hide, | ||
IntArray & | out_force_transparent | ||
) | const |
Shows the transparency setting for line tessellation.
& | 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. |
bool HPS::Parasolid::LineTessellationKit::ShowUnfixedBlends | ( | Line::UnfixedBlends & | out_unfixed_blends, |
double & | out_spacing | ||
) | const |
Shows whether unfixed blends are drawn.
& | 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. |
bool HPS::Parasolid::LineTessellationKit::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.
& | 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. |
bool HPS::Parasolid::LineTessellationKit::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.
& | 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. |
|
virtualinherited |
This function returns the true type of the underlying object.
This function is useful for finding the type of smart pointer objects that have been cast to more generic types.
Reimplemented in HPS::UpdateOptionsControl, HPS::HighlightControl, HPS::SelectionOptionsControl, HPS::OffScreenWindowOptionsControl, HPS::ApplicationWindowOptionsControl, HPS::StandAloneWindowOptionsControl, HPS::AttributeLockControl, HPS::WindowInfoControl, HPS::DebuggingControl, HPS::SubwindowControl, HPS::ContourLineControl, HPS::VisualEffectsControl, HPS::TransformMaskControl, HPS::PostProcessEffectsControl, HPS::DrawingAttributeControl, HPS::HiddenLineAttributeControl, HPS::PerformanceControl, HPS::NURBSSurfaceAttributeControl, HPS::ConditionControl, HPS::StyleControl, HPS::PortfolioControl, HPS::MaterialMappingControl, HPS::TextureMatrixControl, HPS::ModellingMatrixControl, HPS::CurveAttributeControl, HPS::EdgeAttributeControl, HPS::LineAttributeControl, HPS::TextAttributeControl, HPS::CuttingSectionAttributeControl, HPS::CylinderAttributeControl, HPS::LightingAttributeControl, HPS::SphereAttributeControl, HPS::MarkerAttributeControl, HPS::CullingControl, HPS::ColorInterpolationControl, HPS::TransparencyControl, HPS::SelectabilityControl, HPS::CameraControl, HPS::VisibilityControl, HPS::BoundingControl, HPS::Kit, and HPS::Control.
LineTessellationKit& HPS::Parasolid::LineTessellationKit::UnsetBCurveRenderingMethod | ( | ) |
Removes the bcurve rendering method tessellation state.
LineTessellationKit& HPS::Parasolid::LineTessellationKit::UnsetChordTolerance | ( | ) |
Removes the chord tolerance tessellation state.
LineTessellationKit& HPS::Parasolid::LineTessellationKit::UnsetEdges | ( | ) |
Removes the edge tessellation state.
LineTessellationKit& HPS::Parasolid::LineTessellationKit::UnsetEverything | ( | ) |
Removes all settings from this LineTessellationKit.
LineTessellationKit& HPS::Parasolid::LineTessellationKit::UnsetHierarchicalOutput | ( | ) |
Removes the hierarchical output tessellation state.
LineTessellationKit& HPS::Parasolid::LineTessellationKit::UnsetIgnoreCriteria | ( | ) |
Removes the ignore criteria tessellation state.
LineTessellationKit& HPS::Parasolid::LineTessellationKit::UnsetMemoryLimit | ( | ) |
Removes the memory limit tessellation state.
LineTessellationKit& HPS::Parasolid::LineTessellationKit::UnsetMissingGeometryFailure | ( | ) |
Removes the missing geometry tessellation state.
LineTessellationKit& HPS::Parasolid::LineTessellationKit::UnsetOverlappingBehavior | ( | ) |
Removes the overlapping geometry tessellation state.
LineTessellationKit& HPS::Parasolid::LineTessellationKit::UnsetParametericHatching | ( | ) |
Removes the parametric hatching tessellation state.
LineTessellationKit& HPS::Parasolid::LineTessellationKit::UnsetPlanarHatching | ( | ) |
Removes the planar hatching tessellation state.
LineTessellationKit& HPS::Parasolid::LineTessellationKit::UnsetRadialHatching | ( | ) |
Removes the radial hatching tessellation state.
LineTessellationKit& HPS::Parasolid::LineTessellationKit::UnsetRegionalData | ( | ) |
Removes the regional data tessellation state.
LineTessellationKit& HPS::Parasolid::LineTessellationKit::UnsetSilhouetteEdges | ( | ) |
Removes the silhouette edges tessellation state.
LineTessellationKit& HPS::Parasolid::LineTessellationKit::UnsetSmoothEdges | ( | ) |
Removes the smooth edges tessellation state.
LineTessellationKit& HPS::Parasolid::LineTessellationKit::UnsetTransparentBodies | ( | ) |
Removes the transparent bodies tessellation state.
LineTessellationKit& HPS::Parasolid::LineTessellationKit::UnsetUnfixedBlends | ( | ) |
Removes the unfixed blends tessellation state.
LineTessellationKit& HPS::Parasolid::LineTessellationKit::UnsetViewports | ( | ) |
Removes the viewports tessellation state.
LineTessellationKit& HPS::Parasolid::LineTessellationKit::UnsetVisibilityEvaluation | ( | ) |
Removes the visibility evaluation tessellation state.
|
static |