Hide menu
No Matches
cadex::ModelPrs_Geometry Class Reference

Defines a drawable geometry. More...

#include <cadex/ModelPrs_Geometry.hxx>

Inheritance diagram for cadex::ModelPrs_Geometry:

Public Types

typedef cadex::internal::ModelPrs_GeometryImpl ImplType

Public Member Functions

 ModelPrs_Geometry ()
 ~ModelPrs_Geometry ()
void Accept (ModelPrs_GeometryVisitor &theVisitor) const
 Accepts a visitior.
ModelPrs_GeometryType Type () const
 ModelPrs_Geometry (const ImplType *theImpl)
- Public Member Functions inherited from cadex::Base_PublicObject
void Nullify ()
 Resets reference to implementation object.
bool IsNull () const
 Returns true if the object is nullified.
 operator bool () const
 Casts the object to the bool type.
internal::Base_HandledObject * Impl () const
 Return a handle to backend (reserved for internal use).

Additional Inherited Members

- Protected Member Functions inherited from cadex::Base_PublicObject
 Base_PublicObject (const internal::Base_HandledObject *theObject)
 Constructor (reserved for internal use).
template<typename T >
T * GetOrCreateImpl ()
 Reserved for internal use.

Detailed Description

Defines a drawable geometry.

This class is a part of Visualization Toolkit add-on, which is licensed separately from the base CAD Exchanger SDK.

ModelPrs_Geometry encapsulates a drawable data. The next data may be presented like ModelPrs_Geometry:

A geometry creates by internal implementation of ModelPrs_SceneNodeFactory.

See also

A geometry contains a shared pointer to its internal implementation, so simple copying an object will just copy a shared pointer. Therefore any modification of the copied object will propagate to original object.

See also
Using pimpl pattern

Constructor & Destructor Documentation

◆ ModelPrs_Geometry()

cadex::ModelPrs_Geometry::ModelPrs_Geometry ( )


Creates an empty object (see IsNull()).