All Frameworks  Class Hierarchy  This Framework  Indexes

SPAphlv5 Global Function api_phlv5_compute


V5 outcome api_phlv5_compute(VOID_LIST const& phlv5_occ_list,
int token,
SPAposition const& eyepos,
SPAposition const& target,
logical persp,
ENTITY_LIST& edges,
phlv5_options* phlv5_opts= NULL,
AcisOptions* ao= NULL)
Computes hidden line data for the given viewing parameters and void list of occurrences.

Role: If the view token is nonzero, the data is stored on the model as attributes and identified by token. Make token zero if you do not wish to store the view. Existing attributes identified by the same token are replaced. If the perspective projection flag persp is TRUE, data is calculated for display in a perspective projection; otherwise, calculations are done for a parallel projection.

The options argument is of type phlv5_options and contains options for the hidden line removal algorithm.

Note All data returned is allocated with new.It is the user's responsibility to call lose for all the entities in the edge list when they are no longer needed.

Errors: The distance between eyepos and target is less than SPAresabs.

Effect: Changes model

Journal: Available

Parameters:
phlv5_occ_list
void list of occurrences of type phl_body_occurrence.
token
view token.
eyepos
eye position.
target
target position.
persp
perspective projection flag.
edges
output list of edges.
phlv5_opts
option class.
ao
acis options.

This object is included in the file: phlv5_api.hxx

Copyright (c) 1989-2007 by Spatial Corp. All rights reserved.

SPAphlv5 Global Function api_phlv5_compute
All Frameworks  Class Hierarchy  This Framework  Indexes

SPAphlv5 Global Function api_phlv5_compute


V5 outcome api_phlv5_compute(ENTITY_LIST const& bodies,
int token,
SPAposition const& eyepos,
SPAposition const& target,
logical persp,
ENTITY_LIST& edges,
phlv5_options* phlv5_opts= NULL,
AcisOptions* ao= NULL)
Computes hidden line data for the given viewing parameters and list of bodies.

Role: If the view token is nonzero, the data is stored on the model as attributes and identified by token. Make token zero if you do not wish to store the view. Existing attributes identified by the same token are replaced. If the perspective projection flag persp is TRUE, data is calculated for display in a perspective projection; otherwise, calculations are done for a parallel projection.

The options argument is of type phlv5_options and contains options for the hidden line removal algorithm.

Note All data returned is allocated with new.It is the user's responsibility to call lose for all the entities in the edge list when they are no longer needed.

Errors: The distance between eyepos and target is less than SPAresabs.

Effect: Changes model

Journal: Available

Parameters:
bodies
body list.
token
view token.
eyepos
eye position.
target
target position.
persp
perspective projection flag.
edges
output list of edges.
phlv5_opts
option class.
ao
acis options.

This object is included in the file: phlv5_api.hxx

Copyright (c) 1989-2007 by Spatial Corp. All rights reserved.