ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
G3PointFactory Class Reference

CCPluginStub. More...

#include <G3Point.h>

Inheritance diagram for G3PointFactory:
Collaboration diagram for G3PointFactory:

Public Member Functions

 G3PointFactory (QString factoryName, ecvMainAppInterface *app)
 
virtual ccHObjectbuildObject (const QString &metaName) override
 Custom object building method. More...
 
- Public Member Functions inherited from ccExternalFactory
 ccExternalFactory (QString factoryName)
 Default constructor. More...
 
QString getFactoryName () const
 Returns the (unique) name of the factory. More...
 

Public Attributes

ecvMainAppInterfacem_app
 

Additional Inherited Members

- Protected Attributes inherited from ccExternalFactory
QString m_factoryName
 Name. More...
 

Detailed Description

CCPluginStub.

Definition at line 16 of file G3Point.h.

Constructor & Destructor Documentation

◆ G3PointFactory()

G3PointFactory::G3PointFactory ( QString  factoryName,
ecvMainAppInterface app 
)
inline

Definition at line 18 of file G3Point.h.

Member Function Documentation

◆ buildObject()

ccHObject * G3PointFactory::buildObject ( const QString &  metaName)
overridevirtual

Custom object building method.

Similar to ccHObject::New but virtual so as to be reimplemented by the plugin.

Parameters
metaNamecustom object name
Returns
corresponding instance (or 0 if an error occurred)

Implements ccExternalFactory.

Definition at line 32 of file G3Point.cpp.

References m_app, and CVLog::Warning().

Member Data Documentation

◆ m_app

ecvMainAppInterface* G3PointFactory::m_app

Definition at line 23 of file G3Point.h.

Referenced by buildObject().


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