本文整理汇总了C++中LineDistribution3DRefPtr::setPoint2方法的典型用法代码示例。如果您正苦于以下问题:C++ LineDistribution3DRefPtr::setPoint2方法的具体用法?C++ LineDistribution3DRefPtr::setPoint2怎么用?C++ LineDistribution3DRefPtr::setPoint2使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类LineDistribution3DRefPtr
的用法示例。
在下文中一共展示了LineDistribution3DRefPtr::setPoint2方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: createColorDistribution
Distribution3DRefPtr createColorDistribution(void)
{
LineDistribution3DRefPtr TheLineDistribution = LineDistribution3D::create();
TheLineDistribution->setPoint1(Pnt3f(0.5,0.5,0.5));
TheLineDistribution->setPoint2(Pnt3f(1.0,1.0,1.0));
return TheLineDistribution;
}
示例2: createSizeDistribution
Distribution3DRefPtr createSizeDistribution(void)
{
LineDistribution3DRefPtr TheLineDistribution = LineDistribution3D::create();
TheLineDistribution->setPoint1(Pnt3f(3.0,3.0,3.0));
TheLineDistribution->setPoint2(Pnt3f(1.0,1.0,1.0));
return TheLineDistribution;
}
示例3: createSizeDistribution
Distribution3DRefPtr createSizeDistribution(void)
{
//Sphere Distribution
LineDistribution3DRefPtr TheLineDistribution = LineDistribution3D::create();
TheLineDistribution->setPoint1(Pnt3f(5.0,5.0,1.0));
TheLineDistribution->setPoint2(Pnt3f(10.0,10.0,1.0));
return TheLineDistribution;
}
示例4: createPositionDistribution
Distribution3DRefPtr createPositionDistribution(void)
{
LineDistribution3DRefPtr TheLineDistribution = LineDistribution3D::create();
TheLineDistribution->setPoint1(Pnt3f(0.0f,0.0f,0.0f));
TheLineDistribution->setPoint2(Pnt3f(0.1f,0.0f,0.0f));
return TheLineDistribution;
}
示例5: createVelocityDistribution
Distribution3DRefPtr createVelocityDistribution(void)
{
//Line Distribution, no velocity
LineDistribution3DRefPtr TheLineDistribution = LineDistribution3D::create();
TheLineDistribution->setPoint1(Pnt3f(0.0,0.0,0.0));
TheLineDistribution->setPoint2(Pnt3f(0.0,0.0,0.0));
return TheLineDistribution;
}
示例6: createTrailSizeDistribution
Distribution3DRefPtr createTrailSizeDistribution(void)
{
//Line Distribution
LineDistribution3DRefPtr TheLineDistribution = LineDistribution3D::create();
TheLineDistribution->setPoint1(Pnt3f(2.0,2.0,2.0));
TheLineDistribution->setPoint2(Pnt3f(2.5,2.5,2.5));
return TheLineDistribution;
}
示例7: createSizeDistribution
Distribution3DRefPtr createSizeDistribution(void)
{
//Line Distribution
LineDistribution3DRefPtr TheLineDistribution = LineDistribution3D::create();
TheLineDistribution->setPoint1(Pnt3f(4.45,4.45,4.45));
TheLineDistribution->setPoint2(Pnt3f(4.45,4.45,4.45));
return TheLineDistribution;
}
示例8: createSmokeVelocityDistribution
Distribution3DRefPtr createSmokeVelocityDistribution(void)
{
//Sphere Distribution
LineDistribution3DRefPtr TheLineDistribution = LineDistribution3D::create();
TheLineDistribution->setPoint1(Pnt3f(0.0,1.0,1.0));
TheLineDistribution->setPoint2(Pnt3f(0.0,1.0,3.0));
return TheLineDistribution;
}
示例9: createSmokeColorDistribution
Distribution3DRefPtr createSmokeColorDistribution(void)
{
//Line Distribution
LineDistribution3DRefPtr TheLineDistribution = LineDistribution3D::create();
TheLineDistribution->setPoint1(Pnt3f(0.0,0.0,0.0));
TheLineDistribution->setPoint2(Pnt3f(0.15,0.15,0.15));
return TheLineDistribution;
}
示例10: createSizeDistribution
Distribution3DRecPtr createSizeDistribution(void)
{
//Line Distribution
LineDistribution3DRefPtr TheLineDistribution = LineDistribution3D::create();
TheLineDistribution->setPoint1(Pnt3f(1.2,1.2,1.0));
TheLineDistribution->setPoint2(Pnt3f(1.4,1.4,1.0));
return TheLineDistribution;
}
示例11: createAccelerationDistribution
Distribution3DRefPtr createAccelerationDistribution(void)
{
//Line Distribution
LineDistribution3DRefPtr TheLineDistribution = LineDistribution3D::create();
TheLineDistribution->setPoint1(Pnt3f(0.0,0.0,0.0));
TheLineDistribution->setPoint2(Pnt3f(0.0,0.0,0.0));
return TheLineDistribution;
}