qCC_db version 2.13.alpha (Qt) - 31 May 2022
CloudCompare 3D entities
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ccPlanarEntityInterface Class Referenceabstract

Interface for a planar entity. More...

#include <ccPlanarEntityInterface.h>

Inheritance diagram for ccPlanarEntityInterface:
Inheritance graph
[legend]

Public Member Functions

 ccPlanarEntityInterface ()
 Default constructor.
 
void showNormalVector (bool state)
 Show normal vector.
 
bool normalVectorIsShown () const
 Whether normal vector is shown or not.
 
virtual CCVector3 getNormal () const =0
 Returns the entity normal. More...
 

Protected Member Functions

void glDrawNormal (CC_DRAW_CONTEXT &context, const CCVector3 &pos, float scale, const ccColor::Rgb *color=0)
 Draws a normal vector (OpenGL)
 

Protected Attributes

bool m_showNormalVector
 Whether the facet normal vector should be displayed or not.
 

Detailed Description

Interface for a planar entity.

Member Function Documentation

◆ getNormal()

virtual CCVector3 ccPlanarEntityInterface::getNormal ( ) const
pure virtual

Returns the entity normal.

Implemented in ccFacet, and ccPlane.


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