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