Visualization Library v1.0.3

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions | Protected Attributes

vl::EdgeExtractor::Edge Class Reference

A single edge as extracted from the EdgeExtractor class. More...

#include <EdgeExtractor.hpp>

List of all members.

Public Member Functions

 Edge ()
 Edge (const fvec3 &v1, const fvec3 &v2)
void setVertex1 (const fvec3 &v)
const fvec3vertex1 () const
void setVertex2 (const fvec3 &v)
const fvec3vertex2 () const
void setNormal1 (const fvec3 &v)
const fvec3normal1 () const
void setNormal2 (const fvec3 &v)
const fvec3normal2 () const
bool isCrease () const
void setIsCrease (bool iscrease)
bool operator< (const Edge &other) const
bool operator== (const Edge &other) const

Protected Attributes

fvec3 mVertex1
fvec3 mVertex2
fvec3 mNormal1
fvec3 mNormal2
bool mIsCrease

Detailed Description

A single edge as extracted from the EdgeExtractor class.

Definition at line 79 of file EdgeExtractor.hpp.


Constructor & Destructor Documentation

vl::EdgeExtractor::Edge::Edge (  ) [inline]

Definition at line 82 of file EdgeExtractor.hpp.

vl::EdgeExtractor::Edge::Edge ( const fvec3 v1,
const fvec3 v2 
) [inline]

Definition at line 83 of file EdgeExtractor.hpp.


Member Function Documentation

void vl::EdgeExtractor::Edge::setVertex1 ( const fvec3 v ) [inline]

Definition at line 98 of file EdgeExtractor.hpp.

const fvec3& vl::EdgeExtractor::Edge::vertex1 (  ) const [inline]

Definition at line 99 of file EdgeExtractor.hpp.

Referenced by operator<(), and operator==().

void vl::EdgeExtractor::Edge::setVertex2 ( const fvec3 v ) [inline]

Definition at line 101 of file EdgeExtractor.hpp.

const fvec3& vl::EdgeExtractor::Edge::vertex2 (  ) const [inline]

Definition at line 102 of file EdgeExtractor.hpp.

Referenced by operator<(), and operator==().

void vl::EdgeExtractor::Edge::setNormal1 ( const fvec3 v ) [inline]

Definition at line 104 of file EdgeExtractor.hpp.

Referenced by vl::EdgeExtractor::addEdge().

const fvec3& vl::EdgeExtractor::Edge::normal1 (  ) const [inline]

Definition at line 105 of file EdgeExtractor.hpp.

Referenced by vl::EdgeExtractor::extractEdges().

void vl::EdgeExtractor::Edge::setNormal2 ( const fvec3 v ) [inline]

Definition at line 107 of file EdgeExtractor.hpp.

Referenced by vl::EdgeExtractor::addEdge().

const fvec3& vl::EdgeExtractor::Edge::normal2 (  ) const [inline]

Definition at line 108 of file EdgeExtractor.hpp.

Referenced by vl::EdgeExtractor::extractEdges().

bool vl::EdgeExtractor::Edge::isCrease (  ) const [inline]

Definition at line 110 of file EdgeExtractor.hpp.

void vl::EdgeExtractor::Edge::setIsCrease ( bool  iscrease ) [inline]

Definition at line 111 of file EdgeExtractor.hpp.

Referenced by vl::EdgeExtractor::extractEdges().

bool vl::EdgeExtractor::Edge::operator< ( const Edge other ) const [inline]

Definition at line 113 of file EdgeExtractor.hpp.

References vertex1(), and vertex2().

bool vl::EdgeExtractor::Edge::operator== ( const Edge other ) const [inline]

Definition at line 121 of file EdgeExtractor.hpp.

References vertex1(), and vertex2().


Member Data Documentation

Definition at line 128 of file EdgeExtractor.hpp.

Definition at line 129 of file EdgeExtractor.hpp.

Definition at line 130 of file EdgeExtractor.hpp.

Definition at line 131 of file EdgeExtractor.hpp.

Definition at line 132 of file EdgeExtractor.hpp.


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

Visualization Library v1.0.3 Reference Documentation
Copyright Michele Bosi. All rights reserved.
Updated on Tue Feb 7 2017 00:55:10.
Permission is granted to use this page to write and publish articles regarding Visualization Library.