当前位置: 首页>>代码示例>>C++>>正文


C++ LineDistribution3DRefPtr::setPoint1方法代码示例

本文整理汇总了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;
}
开发者ID:Langkamp,项目名称:OpenSGToolbox,代码行数:9,代码来源:13GeometryCollision.cpp

示例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;
}
开发者ID:Langkamp,项目名称:OpenSGToolbox,代码行数:9,代码来源:07AgeSizeParticleAffector.cpp

示例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;
}
开发者ID:achvas88,项目名称:OpenSGToolbox,代码行数:9,代码来源:02ParticleSysParticleTrailGenerator.cpp

示例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;
}
开发者ID:achvas88,项目名称:OpenSGToolbox,代码行数:9,代码来源:02ParticleSysParticleTrailGenerator.cpp

示例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;
}
开发者ID:msteners,项目名称:OpenSGToolbox,代码行数:10,代码来源:01ParticleTrailGenerator.cpp

示例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;
}
开发者ID:danguilliams,项目名称:OpenSGToolbox,代码行数:9,代码来源:02DynamicDistributions.cpp

示例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;
}
开发者ID:Himbeertoni,项目名称:OpenSGToolbox,代码行数:9,代码来源:14ParticleSorting.cpp

示例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;
}
开发者ID:rdgoetz,项目名称:OpenSGToolbox,代码行数:10,代码来源:07AgeSizeParticleAffector.cpp


注:本文中的LineDistribution3DRefPtr::setPoint1方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。