Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8527

Code conversion rhinocommon 4 to rhinocommon 6 c++

$
0
0

@tsiddikee wrote:

@dale
I have just compiled an old code, it does not show any error in the code but showing huge difference about override. 73 errors. Syntax looks still the same. I forgot Rhino sdk c++ as most of the time I am writing c#. But I have few important algorithms from the past must need to be upgraded. They were working versions.
Can I send you the the project file, so you can see what are the differences and send me back with correction ?

class CMCubeDisplay : public CRhinoDisplayConduit
{
CMCubeDisplay();
public:
CMCubeDisplay(ON_PointCloud& grid_cloud, ON_PointCloud& ball_cloud)
: CRhinoDisplayConduit(CSupportChannels::SC_CALCBOUNDINGBOX |
CSupportChannels::SC_DRAWFOREGROUND)
, m_grid_cloud(grid_cloud)
, m_ball_cloud(ball_cloud)
{
};

bool   ExecConduit(CRhinoDisplayPipeline&, // pipeline executing this conduit
	UINT,                   // current channel within the pipeline
	bool&                   // channel termination flag
);

public:
ON_PointCloud & m_grid_cloud; // Something else has to keep this up to date.
ON_PointCloud& m_ball_cloud; // This just draws it
};

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 8527

Trending Articles