Exchange Toolkit
Classes | Public Types | Public Member Functions | List of all members
ts3d::Tess3DWireInstance Class Reference

Provides easy access to wire tessellation data. More...

#include <ExchangeToolkit.h>

Inheritance diagram for ts3d::Tess3DWireInstance:
ts3d::TessBaseInstance ts3d::Instance

Classes

struct  WireData
 Structure describing wire data. More...
 

Public Types

enum  ColorSpec { ColorSpec::RGB, ColorSpec::RGBA }
 How color is specified. More...
 
enum  ColorApplication { ColorApplication::PerVertex, ColorApplication::PerSegment }
 How is the color applied? More...
 

Public Member Functions

 Tess3DWireInstance (InstancePath const &path)
 Constructor.
 
A3DUns32 getNumberOfWires (void) const
 Gets the number of wires.
 
ColorSpec getColorSpecification (void) const
 Hos is the color specified?
 
- Public Member Functions inherited from ts3d::TessBaseInstance
 TessBaseInstance (InstancePath const &path)
 throws if leaf type is not "derived" from A3DTessBase
 
double const * coords (void) const
 Gets the array of coordinate values for the tesselation. This array is of length coordsSize().
 
A3DUns32 coordsSize (void) const
 The length of the coords() array.
 
- Public Member Functions inherited from ts3d::Instance
 Instance (InstancePath const &path)
 Constructs an Instance from the provided InstancePath.
 
 Instance (Instance const &other)
 Copy constructor.
 
 Instance (Instance &&other)
 Move constructor.
 
virtual ~Instance (void)
 Destructor.
 
Instanceoperator= (Instance const &other)
 Assignment.
 
Instanceoperator= (Instance &&other)
 Move assign.
 
bool operator== (Instance const &other) const
 Compare paths.
 
std::string getName (void) const
 Gets the object name.
 
std::string getType (void) const
 Gets the object type as a string.
 
InstancePath const & path (void) const
 Gets the InstancePath this Instance references.
 
Instance owner (void) const
 Gets an Instance object for the parent.
 
void reset (InstancePath const &new_path)
 Resets the InstancePath this Instance references.
 
A3DEntity * leaf (void) const
 Gets the leaf entity pointer.
 
A3DEEntityType leafType (void) const
 Gets the type of the leaf entity.
 
bool getNetRemoved (void) const
 Gets the net removed.
 
bool getNetShow (void) const
 Gets the net show.
 
A3DGraphStyleData getNetStyle (void) const
 Gets the net style.
 
A3DUns16 getNetLayer (void) const
 Gets the net layer.
 

Detailed Description

Provides easy access to wire tessellation data.

Todo:
Incomplete

Member Enumeration Documentation

How is the color applied?

Enumerator
PerVertex 

Per vertex color.

PerSegment 

Per wire segment color.

How color is specified.

Enumerator
RGB 

RGB only, no alpha.

RGBA 

RGB and alpha.. imagine that!


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