chrono::cascade::ChCascadeShapeAsset Class Reference

Description

Class for an asset that contains an OpenCASCADE shape.

In this way one can attach a 3D cad shape to a physics item.

#include <ChCascadeShapeAsset.h>

Inheritance diagram for chrono::cascade::ChCascadeShapeAsset:
Collaboration diagram for chrono::cascade::ChCascadeShapeAsset:

Public Member Functions

 ChCascadeShapeAsset (const TopoDS_Shape &ms)
 
TopoDS_Shape & Shape ()
 Access the OpenCASCADE shape.
 
virtual void ArchiveOUT (ChArchiveOut &marchive)
 Method to allow serialization of transient data to archives.
 
virtual void ArchiveIN (ChArchiveIn &marchive)
 Method to allow deserialization of transient data from archives. More...
 
- Public Member Functions inherited from chrono::ChAsset
virtual void Update (ChPhysicsItem *updater, const ChCoordsys<> &coords)
 This is called by the owner, i.e. More...
 

Protected Attributes

TopoDS_Shape mshape
 OpenCASCADE shape.
 

Member Function Documentation

◆ ArchiveIN()

void ChCascadeShapeAsset::ArchiveIN ( ChArchiveIn marchive)
virtual

Method to allow deserialization of transient data from archives.

Method to allow de serialization of transient data from archives.

Reimplemented from chrono::ChAsset.


The documentation for this class was generated from the following files:
  • /builds/uwsbel/chrono/src/chrono_cascade/ChCascadeShapeAsset.h
  • /builds/uwsbel/chrono/src/chrono_cascade/ChCascadeShapeAsset.cpp