Classes | Public Types | Static Public Member Functions | List of all members
VisibleEdgesLib Struct Referenceabstract

The VisibleEdgesLib class is Used to perform hidden edge removal. More...

#include <VisEdgesLib.h>

Classes

struct  ElementOutputProcessor
 The ElementOutputProcessor is abstract struct which can be inherited to override its virtual functions. More...
 

Public Types

typedef ElementOutputProcessorElementOutputProcessorR
 

Static Public Member Functions

static StatusInt ProcessView (ElementOutputProcessorR outputProcessor, DgnModelRefP modelRef, ViewportP viewport, double tolerance, bool calculateIntersections, bool processView, bool processFence, unsigned int otherFlags, double transparencyThreshold, VisEdgesProgressMeter *progressMeter)
 Process view for hidden edge removal. More...
 
static StatusInt ProcessElements (ElementOutputProcessorR outputProcessor, MSElementDescrCP inputElement, ViewportP viewport, double tolerance, bool calculateIntersections, unsigned int otherFlags, double transparencyThreshold)
 Process Elements for hidden edge removal. More...
 

Detailed Description

The VisibleEdgesLib class is Used to perform hidden edge removal.

Member Typedef Documentation

Member Function Documentation

static StatusInt ProcessElements ( ElementOutputProcessorR  outputProcessor,
MSElementDescrCP  inputElement,
ViewportP  viewport,
double  tolerance,
bool  calculateIntersections,
unsigned int  otherFlags,
double  transparencyThreshold 
)
static

Process Elements for hidden edge removal.

Parameters
[in]outputProcessorobject of struct inheriting from ElementOutputProcessor which provide functions to be called for each element after processing elements.
[in]inputElementsource geometry.
[in]viewportviewport to be processed.
[in]tolerancedistance tolerance.
[in]calculateIntersectionsIf true, intersections between elements are automatically calculated.
[in]otherFlagsadditional flags structured as a bit mask.
[in]progressMeterobject of struct inheriting from struct VisEdgesProgressMeter to indicate the progress.
[in]transparencyThresholdIf true, determines the percentage transparency at which the element is no longer considered to be transparent.
Returns
SUCCESS if successful otherwise error. See VisEdgesError enum for more information.
static StatusInt ProcessView ( ElementOutputProcessorR  outputProcessor,
DgnModelRefP  modelRef,
ViewportP  viewport,
double  tolerance,
bool  calculateIntersections,
bool  processView,
bool  processFence,
unsigned int  otherFlags,
double  transparencyThreshold,
VisEdgesProgressMeter progressMeter 
)
static

Process view for hidden edge removal.

Parameters
[in]outputProcessorobject of struct inheriting from struct ElementOutputProcessor which provide functions to be called for each element after processing view.
[in]modelRefmodel to be processed.
[in]viewportviewport to be processed.
[in]tolerancedistance tolerance.
[in]calculateIntersectionsIf true, intersections between elements are automatically calculated.
[in]processViewtrue to process the geometry to what is visible in the view.
[in]processFencetrue to process the geometry what appears within the fence.
[in]otherFlagsadditional flags structured as a bit mask.
[in]transparencyThresholdIf true, determines the percentage transparency at which the element is no longer considered to be transparent.
[in]progressMeterobject of struct inheriting from struct VisEdgesProgressMeter to indicate the progress.
Returns
SUCCESS if successful otherwise error. See VisEdgesError enum for more information.

The documentation for this struct was generated from the following file:

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.