Public Member Functions | Protected Attributes | List of all members
vrender::Segment Class Reference

#include <Primitive.h>

Inheritance diagram for vrender::Segment:
Inheritance graph
[legend]

Public Member Functions

virtual AxisAlignedBox_xyz bbox () const
 
virtual size_t nbVertices () const
 
 Segment (const Feedback3DColor &p1, const Feedback3DColor &p2)
 
virtual const Feedback3DColorsommet3DColor (size_t i) const
 
virtual const Vector3vertex (size_t) const
 
virtual ~Segment ()
 
- Public Member Functions inherited from vrender::Primitive
virtual ~Primitive ()
 

Protected Attributes

Feedback3DColor P1
 
Feedback3DColor P2
 
- Protected Attributes inherited from vrender::Primitive
int _vibility
 

Detailed Description

Definition at line 165 of file Primitive.h.

Constructor & Destructor Documentation

vrender::Segment::Segment ( const Feedback3DColor p1,
const Feedback3DColor p2 
)
inline

Definition at line 168 of file Primitive.h.

virtual vrender::Segment::~Segment ( )
inlinevirtual

Definition at line 169 of file Primitive.h.

Member Function Documentation

AxisAlignedBox_xyz Segment::bbox ( ) const
virtual

Implements vrender::Primitive.

Definition at line 84 of file Primitive.cpp.

virtual size_t vrender::Segment::nbVertices ( ) const
inlinevirtual

Implements vrender::Primitive.

Definition at line 170 of file Primitive.h.

const Feedback3DColor & Segment::sommet3DColor ( size_t  i) const
virtual

Implements vrender::Primitive.

Definition at line 69 of file Primitive.cpp.

const Vector3 & Segment::vertex ( size_t  i) const
virtual

Implements vrender::Primitive.

Definition at line 79 of file Primitive.cpp.

Member Data Documentation

Feedback3DColor vrender::Segment::P1
protected

Definition at line 179 of file Primitive.h.

Feedback3DColor vrender::Segment::P2
protected

Definition at line 180 of file Primitive.h.


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


octovis
Author(s): Kai M. Wurm , Armin Hornung
autogenerated on Wed Jun 5 2019 19:26:39