Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
SEntitySolid Struct Referencefinal

#include <CDxf.hpp>

Inheritance diagram for SEntitySolid:
[legend]
Collaboration diagram for SEntitySolid:
[legend]

Public Member Functions

 SEntitySolid (const std::string &nameLayer, double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4, bool isColorRGB, uint64_t colorRGB, int64_t lineWidth, double Nx, double Ny, double Nz)
 
void drawEntity (uint64_t colorBlocRGB, int64_t lineWidthBlock, std::vector< SBlockDxf * > *blocks, const std::vector< SLayerDxf * > *layers, IGraphics *graphics)
 
void setColorARGB (iv::types::color colorARGB)
 
bool isLayer (const std::string &nameLayer) const
 

Public Attributes

double m_x1
 
double m_y1
 
double m_x2
 
double m_y2
 
double m_x3
 
double m_y3
 
double m_x4
 
double m_y4
 

Private Member Functions

void draw (IGraphics *graphics) const override
 
void processEntityGeoBlock (CGeoBlock *currentGeoBlock, std::vector< SBlockDxf * > *blocks, SProcessEntitiesGeoBlocks *dataProcess) const override
 
void processEntityPolyline (const std::vector< SBlockDxf * > *blocks, SProcessEntitiesPolylines *dataProcess, const std::string &nameLayerOpt) const override
 

Private Attributes

uint64_t m_colorIndex
 
std::string m_nameLayer
 
bool m_isAttributedCalculated
 
bool m_isColorRGB
 
iv::types::color m_colorARGBCalculated
 
bool m_isVisibleByLayer
 
double m_Nx
 
double m_Ny
 
double m_Nz
 
int64_t m_lineWidth
 
bool m_hasLineWidthCalculated
 
int64_t m_lineWidthCalculated
 

Constructor & Destructor Documentation

◆ SEntitySolid()

SEntitySolid::SEntitySolid ( const std::string & nameLayer,
double x1,
double y1,
double x2,
double y2,
double x3,
double y3,
double x4,
double y4,
bool isColorRGB,
uint64_t colorRGB,
int64_t lineWidth,
double Nx,
double Ny,
double Nz )

Member Function Documentation

◆ draw()

void SEntitySolid::draw ( IGraphics * graphics) const
overrideprivatevirtual

Implements SEntity.

◆ drawEntity()

void SEntity::drawEntity ( uint64_t colorBlocRGB,
int64_t lineWidthBlock,
std::vector< SBlockDxf * > * blocks,
const std::vector< SLayerDxf * > * layers,
IGraphics * graphics )
inherited

◆ isLayer()

bool SEntity::isLayer ( const std::string & nameLayer) const
nodiscardinherited

◆ processEntityGeoBlock()

void SEntitySolid::processEntityGeoBlock ( CGeoBlock * currentGeoBlock,
std::vector< SBlockDxf * > * blocks,
SProcessEntitiesGeoBlocks * dataProcess ) const
overrideprivatevirtual

Implements SEntity.

◆ processEntityPolyline()

void SEntitySolid::processEntityPolyline ( const std::vector< SBlockDxf * > * blocks,
SProcessEntitiesPolylines * dataProcess,
const std::string & nameLayerOpt ) const
overrideprivatevirtual

Implements SEntity.

◆ setColorARGB()

void SEntity::setColorARGB ( iv::types::color colorARGB)
inherited

Member Data Documentation

◆ m_colorARGBCalculated

iv::types::color SEntity::m_colorARGBCalculated
privateinherited

◆ m_colorIndex

uint64_t SEntity::m_colorIndex
privateinherited

◆ m_hasLineWidthCalculated

bool SEntity::m_hasLineWidthCalculated
privateinherited

◆ m_isAttributedCalculated

bool SEntity::m_isAttributedCalculated
privateinherited

◆ m_isColorRGB

bool SEntity::m_isColorRGB
privateinherited

◆ m_isVisibleByLayer

bool SEntity::m_isVisibleByLayer
privateinherited

◆ m_lineWidth

int64_t SEntity::m_lineWidth
privateinherited

◆ m_lineWidthCalculated

int64_t SEntity::m_lineWidthCalculated
privateinherited

◆ m_nameLayer

std::string SEntity::m_nameLayer
privateinherited

◆ m_Nx

double SEntity::m_Nx
privateinherited

◆ m_Ny

double SEntity::m_Ny
privateinherited

◆ m_Nz

double SEntity::m_Nz
privateinherited

◆ m_x1

double SEntitySolid::m_x1

◆ m_x2

double SEntitySolid::m_x2

◆ m_x3

double SEntitySolid::m_x3

◆ m_x4

double SEntitySolid::m_x4

◆ m_y1

double SEntitySolid::m_y1

◆ m_y2

double SEntitySolid::m_y2

◆ m_y3

double SEntitySolid::m_y3

◆ m_y4

double SEntitySolid::m_y4

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