Inheritance diagram for HPS.CuttingSection:

Public Types

enum  CappingLevel : uint { CappingLevel.Entity = 0x00000000, CappingLevel.Segment = 0x00000001, CappingLevel.SegmentTree = 0x00000002 }
 
enum  CappingUsage : uint { CappingUsage.Off = 0x00000000, CappingUsage.On = 0x00000001, CappingUsage.Visibility = 0x00000002 }
 
enum  CuttingLevel : uint { CuttingLevel.Global = 0x00000000, CuttingLevel.Local = 0x00000001 }
 
enum  GatheringLevel : uint { GatheringLevel.Segment = 0x00000000, GatheringLevel.SegmentTree = 0x00000001 }
 
enum  MaterialPreference : uint { MaterialPreference.Explicit = 0x00000000, MaterialPreference.Implicit = 0x00000001 }
 
enum  Mode : uint { Mode.None = 0x00000000, Mode.Round = 0x00000001, Mode.Square = 0x00000002, Mode.Plane = 0x00000003 }
 
enum  ToleranceUnits : uint { ToleranceUnits.Percent = 0x00000000, ToleranceUnits.WorldSpace = 0x00000001 }
 

Public Member Functions

 CuttingSection (HPS.CuttingSection in_that)
 
virtual void Dispose ()
 

Protected Member Functions

virtual void deleteCptr ()
 

Protected Attributes

bool cMemOwn
 
HandleRef cptr
 

Detailed Description

The CuttingSection class is a concept class for cutting-section-related enum classes.

Member Enumeration Documentation

◆ CappingLevel

enum HPS.CuttingSection.CappingLevel : uint
strong

Enumerates the level at which capping geometry should be generated for cutting sections.

Enumerator
Entity 

Each piece of geometry should be treated as if it encloses a volume.

Segment 

All geometry in a segment (but not subsegments) should be treated as if it encloses a single volume.

SegmentTree 

All geometry in a segment tree should be treated as if it encloses a single volume.

◆ CappingUsage

enum HPS.CuttingSection.CappingUsage : uint
strong

Enumerates the choices for whether geometry (faces) are cut and processed for capping geometry.

Enumerator
Off 

Faces will not be used for capping.

On 

Faces will be used for capping generation.

Visibility 

Faces will be used for capping generation if they are visible.

◆ CuttingLevel

enum HPS.CuttingSection.CuttingLevel : uint
strong

Enumerates the level at which cutting planes should operate.

Enumerator
Global 

Cutting sections will cut all geometry in the scene graph.

Local 

Cutting sections will only cut geometry contained in the segment and subsegments where the cutting section is inserted.

◆ GatheringLevel

Enumerates the level at which capping geometry should be gathered.

Enumerator
Segment 

Capping geometry will be gathered only from a single segment.

SegmentTree 

Capping geometry will be gathered from the segment and all its subsegments and includes.

◆ MaterialPreference

Enumerates which material settings should be used for cut geometry generated for cutting sections.

Enumerator
Explicit 

Use the effective materials set for cut faces and cut edges in the segment tree. For example, the following function applies color settings that would be respected when MaterialPreference is set to Explicit: mySegmentKey.GetMaterialMappingControl().SetCutFaceColor(myRGBAColor).SetCutEdgeColor(myRGBAColor)

Implicit 

Use the effective materials set for (regular) faces and (regular) edges in the segment tree. For Segment or SegmentTree CappingLevel, the implicit capping geometry face color will be the weighted average of the geometry face colors where the cut is applied. For example, the following function applies color settings that would be respected when MaterialPreference is set to Implicit: mySegmentKey.GetMaterialMappingControl().SetFaceColor(myRGBAColor).SetEdgeColor(myRGBAColor)

◆ Mode

enum HPS.CuttingSection.Mode : uint
strong

Enumerates the modes for cutting sections. These are the shapes (if any) of the visualization geometry that will be drawn to represent cutting planes within cutting sections.

Enumerator
None 

No visualization geometry will be drawn for cutting planes in a cutting sections.

Round 

A circular plane will be drawn for cutting planes in a cutting section. The size of the planes will be based on the size of the geometry being cut and the visualization scale.

Square 

A square plane will be drawn for cutting planes in a cutting section. The size of the planes will be based on the size of the geometry being cut and the visualization scale.

Plane 

An infinitely large plane will be drawn for cutting planes in a cutting section.

◆ ToleranceUnits

Enumerates the how tolerance should be interpreted.

Enumerator
Percent 

Tolerance specified is interpreted as a percentage of current view (camera field).

WorldSpace 

Tolerance specified is interpreted in world space.


The documentation for this class was generated from the following file:
  • internals/hps_core/source/cs/HPS.CuttingSection.cs