CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Classes | Public Member Functions | Protected Types | Protected Attributes | List of all members
OdGsConveyorNodeBase Class Referenceabstract

#include <GsExtAccum.h>

Inheritance diagram for OdGsConveyorNodeBase:
OdGiConveyorInput OdGiConveyorOutput OdGsExtAccum

Classes

class  update_geometry
 

Public Member Functions

 OdGsConveyorNodeBase ()
 
void addSourceNode (OdGiConveyorOutput &sourceNode)
 
void removeSourceNode (OdGiConveyorOutput &sourceNode)
 
void setDestGeometry (OdGiConveyorGeometry &destGeometry)
 
OdGiConveyorGeometrydestGeometry () const
 
void updateLink ()
 
void updateLink (OdGiConveyorGeometry *pGeometry)
 
virtual OdGiConveyorGeometryoptionalGeometry ()=0
 
virtual ~OdGsConveyorNodeBase ()
 
- Public Member Functions inherited from OdGiConveyorInput
virtual void addSourceNode (OdGiConveyorOutput &sourceNode)=0
 
virtual void removeSourceNode (OdGiConveyorOutput &sourceNode)=0
 
virtual ~OdGiConveyorInput ()
 
- Public Member Functions inherited from OdGiConveyorOutput
virtual void setDestGeometry (OdGiConveyorGeometry &destGeometry)=0
 
virtual OdGiConveyorGeometrydestGeometry () const =0
 
virtual ~OdGiConveyorOutput ()
 

Protected Types

typedef OdArray< OdGiConveyorOutput *, OdMemoryAllocator< OdGiConveyorOutput * > > SourceNodeArray
 

Protected Attributes

SourceNodeArray m_sources
 
OdGiConveyorGeometrym_pDestGeom
 

Detailed Description

Base class for Gs conveyor node implementations.

Corresponding C++ library: TD_Gs

<group OdGs_Classes>

Definition at line 47 of file GsExtAccum.h.

Member Typedef Documentation

◆ SourceNodeArray

Definition at line 51 of file GsExtAccum.h.

Constructor & Destructor Documentation

◆ OdGsConveyorNodeBase()

OdGsConveyorNodeBase::OdGsConveyorNodeBase ( )

Default constructor for the OdGsConveyorNodeBase class. Creates an object with destination geometry set to OdGiEmptyGeometry::kVoid.

◆ ~OdGsConveyorNodeBase()

virtual OdGsConveyorNodeBase::~OdGsConveyorNodeBase ( )
inlinevirtual

Destructor for the OdGsConveyorNodeBase class.

Definition at line 116 of file GsExtAccum.h.

Member Function Documentation

◆ addSourceNode()

void OdGsConveyorNodeBase::addSourceNode ( OdGiConveyorOutput sourceNode)
virtual

Adds the specified source node to this Conveyor object.

Parameters
sourceNode[in] Source node to add.

Implements OdGiConveyorInput.

◆ destGeometry()

OdGiConveyorGeometry & OdGsConveyorNodeBase::destGeometry ( ) const
virtual

Returns the destination geometry for this Conveyor object.

Implements OdGiConveyorOutput.

◆ optionalGeometry()

virtual OdGiConveyorGeometry * OdGsConveyorNodeBase::optionalGeometry ( )
pure virtual

Retrieves a pointer to optional geometry.

Implemented in OdGsExtAccum.

◆ removeSourceNode()

void OdGsConveyorNodeBase::removeSourceNode ( OdGiConveyorOutput sourceNode)
virtual

Removes the specified source node from this Conveyor object.

Parameters
sourceNode[in] Source node to remove.

Implements OdGiConveyorInput.

◆ setDestGeometry()

void OdGsConveyorNodeBase::setDestGeometry ( OdGiConveyorGeometry destGeometry)
virtual

Sets the destination geometry for this Conveyor object.

Parameters
destGeometry[in] Destination geometry.

Implements OdGiConveyorOutput.

◆ updateLink() [1/2]

void OdGsConveyorNodeBase::updateLink ( )

Updates optional geometry if exits, otherwise updates destination geometry.

◆ updateLink() [2/2]

void OdGsConveyorNodeBase::updateLink ( OdGiConveyorGeometry pGeometry)

Updates conveyor geometry.

Parameters
pGeometry[in] Geometry to update.

Member Data Documentation

◆ m_pDestGeom

OdGiConveyorGeometry* OdGsConveyorNodeBase::m_pDestGeom
protected

Definition at line 53 of file GsExtAccum.h.

◆ m_sources

SourceNodeArray OdGsConveyorNodeBase::m_sources
protected

Definition at line 52 of file GsExtAccum.h.


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