Cumulia Illustrator Rendering Engine v1.0.0
A Rendering engine for industrial CAD/CAE model and optimized for greatest performance
 
Loading...
Searching...
No Matches
cil::Indices Class Reference

The Indices class represents the connecting relationship between vertices. More...

#include <indices.h>

Inheritance diagram for cil::Indices:
cil::Object cil::ArrayIndices cil::ElementIndices

Public Types

enum class  Mode {
  TRIANGLES , TRIANGLE_FAN , TRIANGLE_STRIP , LINES ,
  LINE_LOOP , LINE_STRIP , POINTS
}
 The Mode enumeration defines identifiers corresponding to different ways of rendering geometric primitives in a 3D graphics application. More...
 

Public Member Functions

 Indices (Indices::Mode mode, int count, int primCount)
 
const std::string & className () const
 
- Public Member Functions inherited from cil::Object
 Object ()
 
virtual ~Object ()
 

Public Attributes

Mode mode
 This member stores the primitive mode of this Indices object.
 
int count
 This member stores the count of the primitive in this Indices object.
 
int primCount
 

Protected Attributes

std::string m_className
 

Detailed Description

The Indices class represents the connecting relationship between vertices.

Member Enumeration Documentation

◆ Mode

enum class cil::Indices::Mode
strong

The Mode enumeration defines identifiers corresponding to different ways of rendering geometric primitives in a 3D graphics application.

Enumerator
TRIANGLES 
TRIANGLE_FAN 
TRIANGLE_STRIP 
LINES 
LINE_LOOP 
LINE_STRIP 
POINTS 

Constructor & Destructor Documentation

◆ Indices()

cil::Indices::Indices ( Indices::Mode mode,
int count,
int primCount )

Member Function Documentation

◆ className()

const std::string & cil::Indices::className ( ) const

Member Data Documentation

◆ count

int cil::Indices::count

This member stores the count of the primitive in this Indices object.

◆ m_className

std::string cil::Indices::m_className
protected

◆ mode

Mode cil::Indices::mode

This member stores the primitive mode of this Indices object.

◆ primCount

int cil::Indices::primCount