text stringlengths 24 1.04M | metadata stringlengths 233 497 |
|---|---|
### File: rviz_default_plugins/test/rviz_default_plugins/publishers/point_stamped_publisher.hpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions a... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_default_plugins/test/rviz_default_plugins/publishers/point_stamped_publisher.hpp", "license": "bsd", "size": 3022} |
### File: rviz_default_plugins/test/rviz_default_plugins/publishers/pose_array_publisher.hpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_default_plugins/test/rviz_default_plugins/publishers/pose_array_publisher.hpp", "license": "bsd", "size": 3147} |
### File: rviz_default_plugins/test/rviz_default_plugins/publishers/pose_publisher.hpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_default_plugins/test/rviz_default_plugins/publishers/pose_publisher.hpp", "license": "bsd", "size": 2988} |
### File: rviz_default_plugins/test/rviz_default_plugins/publishers/pose_with_covariance_publisher.hpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// Copyright (c) 2019, Martin Idel
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_default_plugins/test/rviz_default_plugins/publishers/pose_with_covariance_publisher.hpp", "license": "bsd", "size"... |
### File: rviz_default_plugins/test/rviz_default_plugins/publishers/range_publisher.hpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_default_plugins/test/rviz_default_plugins/publishers/range_publisher.hpp", "license": "bsd", "size": 2963} |
### File: rviz_default_plugins/test/rviz_default_plugins/publishers/relative_humidity_publisher.hpp
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// Copyright (c) 2018, TNG Technology Consulting GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modificat... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_default_plugins/test/rviz_default_plugins/publishers/relative_humidity_publisher.hpp", "license": "bsd", "size": 3... |
### File: rviz_default_plugins/test/rviz_default_plugins/publishers/single_marker_publisher.hpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions a... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_default_plugins/test/rviz_default_plugins/publishers/single_marker_publisher.hpp", "license": "bsd", "size": 3692} |
### File: rviz_default_plugins/test/rviz_default_plugins/publishers/temperature_publisher.hpp
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// Copyright (c) 2018, TNG Technology Consulting GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, a... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_default_plugins/test/rviz_default_plugins/publishers/temperature_publisher.hpp", "license": "bsd", "size": 3376} |
### File: rviz_default_plugins/test/rviz_default_plugins/publishers/twist_publisher.hpp
// Copyright (c) 2019, Martin Idel
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistribu... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_default_plugins/test/rviz_default_plugins/publishers/twist_publisher.hpp", "license": "bsd", "size": 3153} |
### File: rviz_default_plugins/test/rviz_default_plugins/publishers/wrench_publisher.hpp
// Copyright (c) 2019, Martin Idel
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistrib... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_default_plugins/test/rviz_default_plugins/publishers/wrench_publisher.hpp", "license": "bsd", "size": 3182} |
### File: rviz_default_plugins/test/rviz_default_plugins/robot/mock_link_updater.hpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_default_plugins/test/rviz_default_plugins/robot/mock_link_updater.hpp", "license": "bsd", "size": 2472} |
### File: rviz_default_plugins/test/rviz_default_plugins/robot/robot_test.cpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// *... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_default_plugins/test/rviz_default_plugins/robot/robot_test.cpp", "license": "bsd", "size": 18871} |
### File: rviz_default_plugins/test/rviz_default_plugins/scene_graph_introspection.cpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_default_plugins/test/rviz_default_plugins/scene_graph_introspection.cpp", "license": "bsd", "size": 8289} |
### File: rviz_default_plugins/test/rviz_default_plugins/scene_graph_introspection.hpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_default_plugins/test/rviz_default_plugins/scene_graph_introspection.hpp", "license": "bsd", "size": 5638} |
### File: rviz_default_plugins/test/rviz_default_plugins/tools/measure/measure_tool_test.cpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_default_plugins/test/rviz_default_plugins/tools/measure/measure_tool_test.cpp", "license": "bsd", "size": 5388} |
### File: rviz_default_plugins/test/rviz_default_plugins/tools/pose/pose_tool_test.cpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_default_plugins/test/rviz_default_plugins/tools/pose/pose_tool_test.cpp", "license": "bsd", "size": 5161} |
### File: rviz_default_plugins/test/rviz_default_plugins/tools/select/selection_tool_test.cpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_default_plugins/test/rviz_default_plugins/tools/select/selection_tool_test.cpp", "license": "bsd", "size": 5266} |
### File: rviz_default_plugins/test/rviz_default_plugins/tools/tool_test_fixture.hpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_default_plugins/test/rviz_default_plugins/tools/tool_test_fixture.hpp", "license": "bsd", "size": 3705} |
### File: rviz_default_plugins/test/rviz_default_plugins/transformation/frame_transformer_tf_test.cpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following condit... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_default_plugins/test/rviz_default_plugins/transformation/frame_transformer_tf_test.cpp", "license": "bsd", "size":... |
### File: rviz_default_plugins/test/rviz_default_plugins/transformation/mock_frame_transformer.hpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following condition... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_default_plugins/test/rviz_default_plugins/transformation/mock_frame_transformer.hpp", "license": "bsd", "size": 36... |
### File: rviz_default_plugins/test/rviz_default_plugins/transformation/transformer_guard_test.cpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following condition... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_default_plugins/test/rviz_default_plugins/transformation/transformer_guard_test.cpp", "license": "bsd", "size": 57... |
### File: rviz_default_plugins/test/rviz_default_plugins/view_controllers/fps/fps_view_controller_test.cpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following c... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_default_plugins/test/rviz_default_plugins/view_controllers/fps/fps_view_controller_test.cpp", "license": "bsd", "s... |
### File: rviz_default_plugins/test/rviz_default_plugins/view_controllers/frame/frame_view_controller_test.cpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the followi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_default_plugins/test/rviz_default_plugins/view_controllers/frame/frame_view_controller_test.cpp", "license": "bsd"... |
### File: rviz_default_plugins/test/rviz_default_plugins/view_controllers/orbit/orbit_view_controller_test.cpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the followi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_default_plugins/test/rviz_default_plugins/view_controllers/orbit/orbit_view_controller_test.cpp", "license": "bsd"... |
### File: rviz_default_plugins/test/rviz_default_plugins/view_controllers/ortho/ortho_view_controller_test.cpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the followi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_default_plugins/test/rviz_default_plugins/view_controllers/ortho/ortho_view_controller_test.cpp", "license": "bsd"... |
### File: rviz_default_plugins/test/rviz_default_plugins/view_controllers/view_controller_test_fixture.hpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following c... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_default_plugins/test/rviz_default_plugins/view_controllers/view_controller_test_fixture.hpp", "license": "bsd", "s... |
### File: rviz_default_plugins/test/rviz_default_plugins/view_controllers/xy_orbit/xy_orbit_view_controller_test.cpp
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_default_plugins/test/rviz_default_plugins/view_controllers/xy_orbit/xy_orbit_view_controller_test.cpp", "license":... |
### File: rviz_rendering/CMakeLists.txt
cmake_minimum_required(VERSION 3.10)
project(rviz_rendering)
# Default to C++17
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wa... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/CMakeLists.txt", "license": "bsd", "size": 11927} |
### File: rviz_rendering/include/rviz_rendering/apply_visibility_bits.hpp
// Copyright (c) 2012, Willow Garage, Inc.
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/apply_visibility_bits.hpp", "license": "bsd", "size": 2074} |
### File: rviz_rendering/include/rviz_rendering/custom_parameter_indices.hpp
// Copyright (c) 2012, Willow Garage, Inc.
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided th... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/custom_parameter_indices.hpp", "license": "bsd", "size": 2556} |
### File: rviz_rendering/include/rviz_rendering/geometry.hpp
// Copyright (c) 2012, Willow Garage, Inc.
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/geometry.hpp", "license": "bsd", "size": 2387} |
### File: rviz_rendering/include/rviz_rendering/logging.hpp
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/logging.hpp", "license": "bsd", "size": 3861} |
### File: rviz_rendering/include/rviz_rendering/logging_handler.hpp
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/logging_handler.hpp", "license": "bsd", "size": 1989} |
### File: rviz_rendering/include/rviz_rendering/material_manager.hpp
// Copyright (c) 2008, Willow Garage, Inc.
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the follow... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/material_manager.hpp", "license": "bsd", "size": 2838} |
### File: rviz_rendering/include/rviz_rendering/mesh_loader.hpp
// Copyright (c) 2010, Willow Garage, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/mesh_loader.hpp", "license": "bsd", "size": 2067} |
### File: rviz_rendering/include/rviz_rendering/objects/arrow.hpp
// Copyright (c) 2008, Willow Garage, Inc.
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the foll... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/objects/arrow.hpp", "license": "bsd", "size": 5962} |
### File: rviz_rendering/include/rviz_rendering/objects/axes.hpp
// Copyright (c) 2008, Willow Garage, Inc.
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the follo... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/objects/axes.hpp", "license": "bsd", "size": 5076} |
### File: rviz_rendering/include/rviz_rendering/objects/billboard_line.hpp
// Copyright (c) 2008, Willow Garage, Inc.
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/objects/billboard_line.hpp", "license": "bsd", "size": 4951} |
### File: rviz_rendering/include/rviz_rendering/objects/covariance_visual.hpp
// Copyright (c) 2017, Ellon Paiva Mendes @ LAAS-CNRS
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted prov... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/objects/covariance_visual.hpp", "license": "bsd", "size": 8753} |
### File: rviz_rendering/include/rviz_rendering/objects/effort_visual.hpp
// Copyright (c) 2023, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/objects/effort_visual.hpp", "license": "bsd", "size": 3462} |
### File: rviz_rendering/include/rviz_rendering/objects/grid.hpp
// Copyright (c) 2008, Willow Garage, Inc.
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/objects/grid.hpp", "license": "bsd", "size": 5221} |
### File: rviz_rendering/include/rviz_rendering/objects/line.hpp
// Copyright (c) 2013, Willow Garage, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/objects/line.hpp", "license": "bsd", "size": 4551} |
### File: rviz_rendering/include/rviz_rendering/objects/mesh_shape.hpp
// Copyright (c) 2008, Willow Garage, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/objects/mesh_shape.hpp", "license": "bsd", "size": 6118} |
### File: rviz_rendering/include/rviz_rendering/objects/movable_text.hpp
// Copyright (c) 2008, Willow Garage, Inc.
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with o... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/objects/movable_text.hpp", "license": "bsd", "size": 7096} |
### File: rviz_rendering/include/rviz_rendering/objects/object.hpp
// Copyright (c) 2008, Willow Garage, Inc.
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the fol... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/objects/object.hpp", "license": "bsd", "size": 3680} |
### File: rviz_rendering/include/rviz_rendering/objects/point_cloud.hpp
// Copyright (c) 2008, Willow Garage, Inc.
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the fol... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/objects/point_cloud.hpp", "license": "bsd", "size": 9909} |
### File: rviz_rendering/include/rviz_rendering/objects/point_cloud_renderable.hpp
// Copyright (c) 2008, Willow Garage, Inc.
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided t... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/objects/point_cloud_renderable.hpp", "license": "bsd", "size": 3925} |
### File: rviz_rendering/include/rviz_rendering/objects/screw_visual.hpp
// Copyright (c) 2023, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// *... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/objects/screw_visual.hpp", "license": "bsd", "size": 4501} |
### File: rviz_rendering/include/rviz_rendering/objects/shape.hpp
// Copyright (c) 2008, Willow Garage, Inc.
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the foll... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/objects/shape.hpp", "license": "bsd", "size": 4415} |
### File: rviz_rendering/include/rviz_rendering/objects/triangle_polygon.hpp
// Copyright (c) 2024, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/objects/triangle_polygon.hpp", "license": "bsd", "size": 2597} |
### File: rviz_rendering/include/rviz_rendering/objects/wrench_visual.hpp
// Copyright (c) 2019, Martin Idel and others
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributio... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/objects/wrench_visual.hpp", "license": "bsd", "size": 4018} |
### File: rviz_rendering/include/rviz_rendering/ogre_logging.hpp
// Copyright (c) 2012, Willow Garage, Inc.
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the follo... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/ogre_logging.hpp", "license": "bsd", "size": 3804} |
### File: rviz_rendering/include/rviz_rendering/orthographic.hpp
// Copyright (c) 2008, Willow Garage, Inc.
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the follo... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/orthographic.hpp", "license": "bsd", "size": 2106} |
### File: rviz_rendering/include/rviz_rendering/render_system.hpp
// Copyright (c) 2011, Willow Garage, Inc.
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the foll... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/render_system.hpp", "license": "bsd", "size": 4710} |
### File: rviz_rendering/include/rviz_rendering/render_window.hpp
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redist... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/render_window.hpp", "license": "bsd", "size": 5663} |
### File: rviz_rendering/include/rviz_rendering/resource_config.hpp
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/resource_config.hpp", "license": "bsd", "size": 2843} |
### File: rviz_rendering/include/rviz_rendering/rviz_rendering.hpp
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redis... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/rviz_rendering.hpp", "license": "bsd", "size": 2194} |
### File: rviz_rendering/include/rviz_rendering/viewport_projection_finder.hpp
// Copyright (c) 2012, Willow Garage, Inc.
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/viewport_projection_finder.hpp", "license": "bsd", "size": 2551} |
### File: rviz_rendering/include/rviz_rendering/visibility_control.hpp
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * R... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/include/rviz_rendering/visibility_control.hpp", "license": "bsd", "size": 2870} |
### File: rviz_rendering/ogre_media/materials/glsl120/black.frag
#version 120
// Returns black.
void main()
{
gl_FragColor = vec4( 0, 0, 0, 0 );
}
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "GLSL", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/ogre_media/materials/glsl120/black.frag", "license": "bsd", "size": 86} |
### File: rviz_rendering/ogre_media/materials/glsl120/depth.frag
#version 120
// Passes on the packed depth value
// includes
vec4 packDepth( );
void main()
{
gl_FragColor = packDepth();
}
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "GLSL", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/ogre_media/materials/glsl120/depth.frag", "license": "bsd", "size": 129} |
### File: rviz_rendering/ogre_media/materials/glsl120/depth.vert
#version 120
// Minimal depth passthrough shader
uniform mat4 worldviewproj_matrix;
void passDepth( vec4 pos );
void main() {
gl_Position = worldviewproj_matrix * gl_Vertex;
passDepth( gl_Vertex );
}
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "GLSL", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/ogre_media/materials/glsl120/depth.vert", "license": "bsd", "size": 212} |
### File: rviz_rendering/ogre_media/materials/glsl120/depth_circle.frag
#version 120
// Draws a circle with the packed depth value
// includes
vec4 packDepth( );
void circleImpl( vec4 color, float ax, float ay );
void main()
{
circleImpl( packDepth(), gl_TexCoord[0].x-0.5, gl_TexCoord[0].y-0.5 );
}
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "GLSL", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/ogre_media/materials/glsl120/depth_circle.frag", "license": "bsd", "size": 234} |
### File: rviz_rendering/ogre_media/materials/glsl120/flat_color.frag
#version 120
// Passes the fragment color, multiplying a with the alpha param
uniform vec4 highlight;
uniform float alpha;
void main()
{
vec3 col = gl_Color.xyz + gl_Color.xyz * highlight.xyz;
gl_FragColor = vec4(col, gl_Color.a * alpha);
}
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "GLSL", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/ogre_media/materials/glsl120/flat_color.frag", "license": "bsd", "size": 249} |
### File: rviz_rendering/ogre_media/materials/glsl120/flat_color_circle.frag
#version 120
// Draws a circle in the fragment color, multiplying a with the alpha param
uniform vec4 highlight;
uniform float alpha;
void circleImpl( vec4 color, float ax, float ay );
void main()
{
vec3 col = gl_Color.xyz + gl_Color.xyz... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "GLSL", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/ogre_media/materials/glsl120/flat_color_circle.frag", "license": "bsd", "size": 354} |
### File: rviz_rendering/ogre_media/materials/glsl120/include/circle_impl.frag
#version 120
// rasterizes a circle of radius 0.5
void circleImpl( vec4 color, float ax, float ay )
{
float rsquared = ax*ax+ay*ay;
float a = (0.25 - rsquared) * 4.0;
gl_FragColor = vec4(color.rgb, color.a * ceil(a));
}
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "GLSL", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/ogre_media/materials/glsl120/include/circle_impl.frag", "license": "bsd", "size": 227} |
### File: rviz_rendering/ogre_media/materials/glsl120/include/pack_depth.frag
#version 120
// Splits up a normalized depth value in the range (0..1)
// into the vertex RGB values.
// Alpha values below 1/255 are rendered transparent.
uniform float alpha;
uniform float far_clip_distance;
const float minimum_alpha = ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "GLSL", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/ogre_media/materials/glsl120/include/pack_depth.frag", "license": "bsd", "size": 673} |
### File: rviz_rendering/ogre_media/materials/glsl120/include/pass_depth.vert
#version 120
uniform mat4 worldview_matrix;
varying float depth;
void passDepth( vec4 pos )
{
vec4 pos_rel_view = worldview_matrix * pos;
depth = -pos_rel_view.z;
}
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "GLSL", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/ogre_media/materials/glsl120/include/pass_depth.vert", "license": "bsd", "size": 180} |
### File: rviz_rendering/ogre_media/materials/glsl120/indexed_8bit_image.frag
#version 120
// Draws an 8-bit image using RGB values from a 256x1 palette texture.
varying vec2 UV;
uniform sampler2D eight_bit_image;
uniform sampler1D palette;
uniform float alpha;
void main()
{
// The 0.999 multiply is needed because... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "GLSL", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/ogre_media/materials/glsl120/indexed_8bit_image.frag", "license": "bsd", "size": 493} |
### File: rviz_rendering/ogre_media/materials/glsl120/indexed_8bit_image.vert
#version 120
// Draws an 8-bit image using RGB values from a 256x1 palette texture.
// This vertex shader just passes through the UV texture coordinates.
// I'm not sure if it is necessary or not.
attribute vec4 uv0;
varying vec2 UV;
void ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "GLSL", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/ogre_media/materials/glsl120/indexed_8bit_image.vert", "license": "bsd", "size": 301} |
### File: rviz_rendering/ogre_media/materials/glsl120/nogp/billboard.vert
#version 120
// Computes the position of a billboard vertex so
// the resulting quad will face the camera.
// Texture coords are used to determine which corner
// of the billboard we compute.
uniform mat4 worldviewproj_matrix;
uniform vec4 came... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "GLSL", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/ogre_media/materials/glsl120/nogp/billboard.vert", "license": "bsd", "size": 1085} |
### File: rviz_rendering/ogre_media/materials/glsl120/nogp/billboard_tile.vert
#version 120
// Computes the position of a billboard vertex so
// the resulting quad will face a given direction given by up & normal.
// Texture coords are used to determine which corner
// of the billboard we compute.
uniform mat4 worldv... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "GLSL", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/ogre_media/materials/glsl120/nogp/billboard_tile.vert", "license": "bsd", "size": 762} |
### File: rviz_rendering/ogre_media/materials/glsl120/nogp/box.frag
#version 120
// rasterizes a smooth square on any face of a box
// and creates a fake lighting effect
// x,y,z texture coords must be in the interval (-0.5...0.5)
uniform vec4 highlight;
uniform float alpha;
const float lightness[6] = float[] (
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "GLSL", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/ogre_media/materials/glsl120/nogp/box.frag", "license": "bsd", "size": 1609} |
### File: rviz_rendering/ogre_media/materials/glsl120/nogp/box.vert
#version 120
// Computes the position of a box vertex from its texture coords.
// Used in case that geometry shaders are not supported.
uniform mat4 worldviewproj_matrix;
uniform vec4 camera_pos;
uniform vec4 size;
uniform vec4 auto_size;
#ifdef WIT... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "GLSL", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/ogre_media/materials/glsl120/nogp/box.vert", "license": "bsd", "size": 735} |
### File: rviz_rendering/ogre_media/materials/glsl120/pass_color.frag
#version 120
// Passes the fragment color unchanged
void main()
{
gl_FragColor = gl_Color;
}
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "GLSL", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/ogre_media/materials/glsl120/pass_color.frag", "license": "bsd", "size": 98} |
### File: rviz_rendering/ogre_media/materials/glsl120/pass_color_circle.frag
#version 120
// Draws a circle in the fragment color
//includes:
void circleImpl( vec4 color, float ax, float ay );
void main()
{
circleImpl( gl_Color, gl_TexCoord[0].x-0.5, gl_TexCoord[0].y-0.5 );
}
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "GLSL", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/ogre_media/materials/glsl120/pass_color_circle.frag", "license": "bsd", "size": 205} |
### File: rviz_rendering/ogre_media/materials/glsl120/pickcolor.frag
#version 120
// Passes the vertex pick color
uniform vec4 pick_color;
void main()
{
gl_FragColor = pick_color;
}
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "GLSL", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/ogre_media/materials/glsl120/pickcolor.frag", "license": "bsd", "size": 119} |
### File: rviz_rendering/ogre_media/materials/glsl120/pickcolor_circle.frag
#version 120
// Draws a circle in the pick color
//includes:
void circleImpl( vec4 color, float ax, float ay );
uniform vec4 pick_color;
void main()
{
circleImpl( pick_color, gl_TexCoord[0].x-0.5, gl_TexCoord[0].y-0.5 );
}
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "GLSL", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/ogre_media/materials/glsl120/pickcolor_circle.frag", "license": "bsd", "size": 230} |
### File: rviz_rendering/ogre_media/materials/glsl120/point.vert
#version 120
// Generic vertex shader for point sprites
// sets position and point size.
// Works for perspective and orthographic projection.
uniform mat4 worldviewproj_matrix;
uniform vec4 size;
#ifdef WITH_DEPTH
//include:
void passDepth( vec4 p... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "GLSL", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/ogre_media/materials/glsl120/point.vert", "license": "bsd", "size": 440} |
### File: rviz_rendering/ogre_media/materials/glsl120/shaded_circle.frag
#version 120
// rasterizes a circle that is darker at the borders than in the center
uniform vec4 highlight;
uniform float alpha;
void main()
{
float ax = gl_TexCoord[0].x-0.5;
float ay = gl_TexCoord[0].y-0.5;
float rsquared = ax*ax+ay*... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "GLSL", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/ogre_media/materials/glsl120/shaded_circle.frag", "license": "bsd", "size": 459} |
### File: rviz_rendering/ogre_media/materials/glsl120/smooth_square.frag
#version 120
// rasterizes a smooth square with ax,ay in [-0.5..0.5]
uniform vec4 highlight;
uniform float alpha;
void main()
{
float ax = gl_TexCoord[0].x-0.5;
float ay = gl_TexCoord[0].y-0.5;
float blend = smoothstep(-0.48, -0.45, ay) ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "GLSL", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/ogre_media/materials/glsl120/smooth_square.frag", "license": "bsd", "size": 741} |
### File: rviz_rendering/ogre_media/materials/glsl120/test_glsl.sh
if [[ "$1" == *.vert ]]; then
cgc -oglsl -profile arbvp1 -strict -nocode $1
elif [[ "$1" == *.frag ]]; then
cgc -oglsl -profile arbfp1 -strict -nocode $1
elif [[ "$1" == *.geom ]]; then
cgc -oglsl -profile gs_5_0 -strict -nocode $1
else
echo "Un... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/ogre_media/materials/glsl120/test_glsl.sh", "license": "bsd", "size": 286} |
### File: rviz_rendering/ogre_media/materials/glsl150/billboard.geom
#version 150
// Generates view-facing square (billboard) with a given size
// for each input vertex.
#ifdef WITH_DEPTH
uniform mat4 worldview_matrix;
out float depth;
void passDepth( vec4 pos )
{
vec4 pos_rel_view = worldview_matrix * p... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "GLSL", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/ogre_media/materials/glsl150/billboard.geom", "license": "bsd", "size": 1539} |
### File: rviz_rendering/ogre_media/materials/glsl150/box.geom
#version 150
// Generates an axis-aligned box with a given size
// for each input vertex.
#ifdef WITH_DEPTH
uniform mat4 worldview_matrix;
out float depth;
void passDepth( vec4 pos )
{
vec4 pos_rel_view = worldview_matrix * pos;
depth = -... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "GLSL", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/ogre_media/materials/glsl150/box.geom", "license": "bsd", "size": 2179} |
### File: rviz_rendering/ogre_media/materials/glsl150/pass_pos_color.vert
#version 150 compatibility
// this merely passes over position and color,
// as needed by box.geom
out gl_PerVertex {
vec4 gl_Position;
vec4 gl_FrontColor;
};
void main() {
gl_Position = gl_Vertex;
gl_FrontColor = gl_Color;
}
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "GLSL", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/ogre_media/materials/glsl150/pass_pos_color.vert", "license": "bsd", "size": 240} |
### File: rviz_rendering/rviz_rendering-extras.cmake
# Copyright (c) 2021, Open Source Robotics Foundation, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/rviz_rendering-extras.cmake", "license": "bsd", "size": 1863} |
### File: rviz_rendering/src/cmake/register_rviz_ogre_media_exports.cmake
# Copyright (c) 2017, Bosch Software Innovations GmbH.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistribu... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/cmake/register_rviz_ogre_media_exports.cmake", "license": "bsd", "size": 2583} |
### File: rviz_rendering/src/cmake/register_rviz_ogre_media_exports_hook-extras.cmake
# Copyright (c) 2017, Bosch Software Innovations GmbH.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/cmake/register_rviz_ogre_media_exports_hook-extras.cmake", "license": "bsd", "size": 1762} |
### File: rviz_rendering/src/cmake/register_rviz_ogre_media_exports_hook.cmake
# Copyright (c) 2017, Bosch Software Innovations GmbH.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redis... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/cmake/register_rviz_ogre_media_exports_hook.cmake", "license": "bsd", "size": 2396} |
### File: rviz_rendering/src/rviz_rendering/apply_visibility_bits.cpp
// Copyright (c) 2012, Willow Garage, Inc.
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/apply_visibility_bits.cpp", "license": "bsd", "size": 2344} |
### File: rviz_rendering/src/rviz_rendering/geometry.cpp
// Copyright (c) 2012, Willow Garage, Inc.
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following con... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/geometry.cpp", "license": "bsd", "size": 2516} |
### File: rviz_rendering/src/rviz_rendering/logging.cpp
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/logging.cpp", "license": "bsd", "size": 4374} |
### File: rviz_rendering/src/rviz_rendering/material_manager.cpp
// Copyright (c) 2008, Willow Garage, Inc.
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/material_manager.cpp", "license": "bsd", "size": 5241} |
### File: rviz_rendering/src/rviz_rendering/mesh_loader.cpp
// Copyright (c) 2010, Willow Garage, Inc.
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following condi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/mesh_loader.cpp", "license": "bsd", "size": 4494} |
### File: rviz_rendering/src/rviz_rendering/mesh_loader_helpers/assimp_loader.cpp
// Copyright (c) 2010, Willow Garage, Inc.
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided th... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/mesh_loader_helpers/assimp_loader.cpp", "license": "bsd", "size": 20977} |
### File: rviz_rendering/src/rviz_rendering/mesh_loader_helpers/assimp_loader.hpp
// Copyright (c) 2010, Willow Garage, Inc.
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided th... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/mesh_loader_helpers/assimp_loader.hpp", "license": "bsd", "size": 5646} |
### File: rviz_rendering/src/rviz_rendering/objects/arrow.cpp
// Copyright (c) 2008, Willow Garage, Inc.
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the followin... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/objects/arrow.cpp", "license": "bsd", "size": 4772} |
### File: rviz_rendering/src/rviz_rendering/objects/axes.cpp
// Copyright (c) 2008, Willow Garage, Inc.
// Copyright (c) 2017, Open Source Robotics Foundation, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/objects/axes.cpp", "license": "bsd", "size": 4922} |
### File: rviz_rendering/src/rviz_rendering/objects/billboard_line.cpp
// Copyright (c) 2008, Willow Garage, Inc.
// Copyright (c) 2017, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the foll... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/objects/billboard_line.cpp", "license": "bsd", "size": 8095} |
### File: rviz_rendering/src/rviz_rendering/objects/covariance_visual.cpp
// Copyright (c) 2017, Ellon Paiva Mendes @ LAAS-CNRS
// Copyright (c) 2018, Bosch Software Innovations GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rviz", "path": "rviz_rendering/src/rviz_rendering/objects/covariance_visual.cpp", "license": "bsd", "size": 24989} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.