DART
6.10.1
|
Functions | |
double | smallestComponent (const Eigen::Vector3d &v) |
template<typename S > | |
Eigen::Matrix< S, 3, 1 > | getNormal (const Eigen::Matrix< S, 3, 1 > &p1, const Eigen::Matrix< S, 3, 1 > &p2, const Eigen::Matrix< S, 3, 1 > &p3) |
inline ::osg::Vec3f | getNormal (const ::osg::Vec3f &p1, const ::osg::Vec3f &p2, const ::osg::Vec3f &p3) |
inline ::osg::Vec3d | getNormal (const ::osg::Vec3d &p1, const ::osg::Vec3d &p2, const ::osg::Vec3d &p3) |
template<typename S > | |
void | setVertices (const typename dynamics::HeightmapShape< S >::HeightField &heightmap, typename HeightmapShapeDrawable< S >::Vec3Array &vertices, ::osg::DrawElementsUInt &faces, typename HeightmapShapeDrawable< S >::Vec3Array &normals, typename HeightmapShapeDrawable< S >::Vector3 scale) |
std::ostream & | operator<< (std::ostream &str, const aiColor4D &c) |
bool | checkSpecularSanity (const aiColor4D &c) |
void | blendMaterialAlpha (::osg::Material *material, const float alpha) |
bool | shouldUseVisualAspectColor (const std::vector< Eigen::Vector3d > &points, const std::vector< Eigen::Vector4d, Eigen::aligned_allocator< Eigen::Vector4d >> &colors, dynamics::PointCloudShape::ColorMode colorMode) |
::osg::ref_ptr< PointNode > | createPointNode (dynamics::PointCloudShape::PointShapeType pointShapeType, const Eigen::Vector3d &point, double size, const Eigen::Vector4d &color) |
static Eigen::Vector3d | normalFromVertex (const dart::dynamics::SoftBodyNode *bn, const Eigen::Vector3i &face, std::size_t v) |
static void | computeNormals (std::vector< Eigen::Vector3d > &normals, const dart::dynamics::SoftBodyNode *bn) |
void dart::gui::osg::render::blendMaterialAlpha | ( | ::osg::Material * | material, |
const float | alpha | ||
) |
bool dart::gui::osg::render::checkSpecularSanity | ( | const aiColor4D & | c | ) |
|
static |
::osg::ref_ptr<PointNode> dart::gui::osg::render::createPointNode | ( | dynamics::PointCloudShape::PointShapeType | pointShapeType, |
const Eigen::Vector3d & | point, | ||
double | size, | ||
const Eigen::Vector4d & | color | ||
) |
inline ::osg::Vec3d dart::gui::osg::render::getNormal | ( | const ::osg::Vec3d & | p1, |
const ::osg::Vec3d & | p2, | ||
const ::osg::Vec3d & | p3 | ||
) |
inline ::osg::Vec3f dart::gui::osg::render::getNormal | ( | const ::osg::Vec3f & | p1, |
const ::osg::Vec3f & | p2, | ||
const ::osg::Vec3f & | p3 | ||
) |
Eigen::Matrix<S, 3, 1> dart::gui::osg::render::getNormal | ( | const Eigen::Matrix< S, 3, 1 > & | p1, |
const Eigen::Matrix< S, 3, 1 > & | p2, | ||
const Eigen::Matrix< S, 3, 1 > & | p3 | ||
) |
|
static |
std::ostream& dart::gui::osg::render::operator<< | ( | std::ostream & | str, |
const aiColor4D & | c | ||
) |
void dart::gui::osg::render::setVertices | ( | const typename dynamics::HeightmapShape< S >::HeightField & | heightmap, |
typename HeightmapShapeDrawable< S >::Vec3Array & | vertices, | ||
::osg::DrawElementsUInt & | faces, | ||
typename HeightmapShapeDrawable< S >::Vec3Array & | normals, | ||
typename HeightmapShapeDrawable< S >::Vector3 | scale | ||
) |
bool dart::gui::osg::render::shouldUseVisualAspectColor | ( | const std::vector< Eigen::Vector3d > & | points, |
const std::vector< Eigen::Vector4d, Eigen::aligned_allocator< Eigen::Vector4d >> & | colors, | ||
dynamics::PointCloudShape::ColorMode | colorMode | ||
) |
double dart::gui::osg::render::smallestComponent | ( | const Eigen::Vector3d & | v | ) |