Visualization Library 2.0.0

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 | List of all members
vl::EdgeExtractor::Edge Class Reference

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

#include <EdgeExtractor.hpp>

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

◆ Edge() [1/2]

vl::EdgeExtractor::Edge::Edge ( )
inline

Definition at line 82 of file EdgeExtractor.hpp.

◆ Edge() [2/2]

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

Definition at line 83 of file EdgeExtractor.hpp.

Member Function Documentation

◆ isCrease()

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

Definition at line 110 of file EdgeExtractor.hpp.

◆ normal1()

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

Definition at line 105 of file EdgeExtractor.hpp.

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

◆ normal2()

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

Definition at line 108 of file EdgeExtractor.hpp.

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

◆ operator<()

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

Definition at line 113 of file EdgeExtractor.hpp.

References vertex1(), and vertex2().

◆ operator==()

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

Definition at line 121 of file EdgeExtractor.hpp.

References vertex1(), and vertex2().

◆ setIsCrease()

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

Definition at line 111 of file EdgeExtractor.hpp.

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

◆ setNormal1()

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

Definition at line 104 of file EdgeExtractor.hpp.

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

◆ setNormal2()

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

Definition at line 107 of file EdgeExtractor.hpp.

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

◆ setVertex1()

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

Definition at line 98 of file EdgeExtractor.hpp.

◆ setVertex2()

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

Definition at line 101 of file EdgeExtractor.hpp.

◆ vertex1()

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

Definition at line 99 of file EdgeExtractor.hpp.

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

◆ vertex2()

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

Definition at line 102 of file EdgeExtractor.hpp.

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

Member Data Documentation

◆ mIsCrease

bool vl::EdgeExtractor::Edge::mIsCrease
protected

Definition at line 132 of file EdgeExtractor.hpp.

◆ mNormal1

fvec3 vl::EdgeExtractor::Edge::mNormal1
protected

Definition at line 130 of file EdgeExtractor.hpp.

◆ mNormal2

fvec3 vl::EdgeExtractor::Edge::mNormal2
protected

Definition at line 131 of file EdgeExtractor.hpp.

◆ mVertex1

fvec3 vl::EdgeExtractor::Edge::mVertex1
protected

Definition at line 128 of file EdgeExtractor.hpp.

◆ mVertex2

fvec3 vl::EdgeExtractor::Edge::mVertex2
protected

Definition at line 129 of file EdgeExtractor.hpp.


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